trait CutBorders extends TiledGraph
Mixin trait for TiledGraph objects that makes querying outEdgeIterator
or outDegree
for
a vertex whose tile is not part of the graph return empty instead of throwing.
- Alphabetic
- By Inheritance
- CutBorders
- TiledGraph
- DirectedGraph
- IncidenceGraph
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
containsEdge(edge: Edge): Boolean
Predicate asserting the presence of an edge in the graph
Predicate asserting the presence of an edge in the graph
- Definition Classes
- TiledGraph → IncidenceGraph
-
def
containsVertex(vertex: Vertex): Boolean
Predicate asserting the presence of a vertex in the graph
Predicate asserting the presence of a vertex in the graph
- Definition Classes
- TiledGraph → IncidenceGraph
-
def
edgeIterator(sourceVertex: Vertex, targetVertex: Vertex): Iterator[Edge]
Retrieves all edges from
sourceVertex
totargetVertex
Retrieves all edges from
sourceVertex
totargetVertex
- Definition Classes
- TiledGraph → DirectedGraph
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
outDegree(vertex: Vertex): Int
Retrieves the number of outgoing edges of a vertex.
Retrieves the number of outgoing edges of a vertex.
- returns
The number of outgoing edges of a vertex
- Definition Classes
- CutBorders → TiledGraph → DirectedGraph
-
def
outEdgeIterator(vertex: Vertex): Iterator[Edge]
Retrieves outgoing edges of a vertex.
Retrieves outgoing edges of a vertex.
- Definition Classes
- CutBorders → TiledGraph → DirectedGraph
-
def
source(edge: Edge): Vertex
Retrieves the source vertex of an edge.
Retrieves the source vertex of an edge.
- returns
The source vertex of the edge
- Definition Classes
- TiledGraph → IncidenceGraph
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
target(edge: Edge): Vertex
Retrieves the target vertex of an edge.
Retrieves the target vertex of an edge.
- returns
The target vertex of the edge
- Definition Classes
- TiledGraph → IncidenceGraph
-
val
tileById: (TileId) ⇒ Option[GraphTile]
- Attributes
- protected
- Definition Classes
- TiledGraph
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()