Package | Description |
---|---|
lib.easyjava.graph.directed |
Modifier and Type | Class and Description |
---|---|
class |
UnweightedDirectedVertex<T>
A vertex of an unweighted directed graph which stores some data
|
class |
WeightedDirectedVertex<T>
A vertex of a weighted directed graph which stores some data
|
Modifier and Type | Method and Description |
---|---|
DirectedVertex<T> |
DirectedEdge.getSource()
Gets the source vertex of this edge
|
DirectedVertex<T> |
DirectedEdge.getTarget()
Gets the target vertex of this edge
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<DirectedVertex<T>> |
DirectedVertex.getAdjacentVertices() |
java.util.Set<DirectedVertex<T>> |
DirectedVertex.getIncomingAdjacentVertices()
Gets all the vertices which have edges to this vertex
|
java.util.Set<DirectedVertex<T>> |
DirectedVertex.getOutgoingAdjacentVertices()
Gets all the vertices that this has an edge to
|
java.util.Set<DirectedVertex<T>> |
DirectedGraph.getVertices() |