Package | Description |
---|---|
lib.easyjava.graph.directed |
Modifier and Type | Class and Description |
---|---|
class |
WeightedDirectedEdge<T>
A weighted directed edge in a graph
|
Modifier and Type | Method and Description |
---|---|
DirectedEdge<T> |
UnweightedDirectedGraph.addEdge(Vertex<T> source,
Vertex<T> target) |
DirectedEdge<T> |
UnweightedDirectedVertex.connectTo(Vertex<T> target) |
DirectedEdge<T> |
WeightedDirectedVertex.connectTo(Vertex<T> target,
double weight) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<DirectedEdge<T>> |
DirectedVertex.getEdges() |
java.util.Set<DirectedEdge<T>> |
DirectedGraph.getEdges() |
java.util.Set<DirectedEdge<T>> |
DirectedVertex.getIncomingEdges()
Gets all the edges which go to this vertex
|
java.util.Set<DirectedEdge<T>> |
DirectedVertex.getOutgoingEdges()
Gets all the edges which leave from this vertex
|