Package | Description |
---|---|
org.jgrapht.experimental.dag |
Experimental package with directed acyclic graphs.
|
Modifier and Type | Method and Description |
---|---|
E |
DirectedAcyclicGraph.addDagEdge(V fromVertex,
V toVertex)
Adds the given edge and updates the internal topological order for consistency IFF
there is not already an edge (fromVertex, toVertex) in the graph
the edge does not induce a cycle in the graph
|
boolean |
DirectedAcyclicGraph.addDagEdge(V fromVertex,
V toVertex,
E e)
Adds the given edge and updates the internal topological order for consistency IFF
the given edge is not already a member of the graph
there is not already an edge (fromVertex, toVertex) in the graph
the edge does not induce a cycle in the graph
|
Copyright © 2017. All rights reserved.