Uses of Class
org.graffiti.graph.GraphElementNotFoundException
Package | Description |
---|---|
org.graffiti.graph |
Contains graph interfaces and classes.
|
-
Uses of GraphElementNotFoundException in org.graffiti.graph
Methods in org.graffiti.graph that throw GraphElementNotFoundException Modifier and Type Method Description Edge
AbstractGraph. addEdge(Node source, Node target, boolean directed)
Adds a new edge to the current graph.Edge
AbstractGraph. addEdge(Node source, Node target, boolean directed, CollectionAttribute col)
Adds a new edge to the current graph.Edge
Graph. addEdge(Node source, Node target, boolean directed)
Adds a newEdge
to the currentGraph
.Edge
Graph. addEdge(Node source, Node target, boolean directed, CollectionAttribute col)
Adds a newEdge
to the currentGraph
.boolean
AbstractGraph. areConnected(Node n1, Node n2)
Returnstrue
, if the graph contains an edge between the nodes n1 and n2,false
otherwise.void
AbstractGraph. deleteEdge(Edge e)
Deletes the given edge from the current graph.void
Graph. deleteEdge(Edge e)
DeletesEdge
e from the currentGraph
.void
AbstractGraph. deleteNode(Node n)
Deletes the given node.void
Graph. deleteNode(Node n)
Deletes theNode
n.void
AdjListEdge. doSetTarget(Node target)
Sets the target of the currentEdge
to target.Collection<Edge>
AbstractGraph. getEdges(Node n1, Node n2)
Returns a collection containing all the edges between n1 and n2.void
AbstractEdge. setSource(Node source)
Sets the source of the currentEdge
tosource
.void
Edge. setSource(Node source)
Sets the source of the currentEdge
to source.void
AbstractEdge. setTarget(Node target)
Sets the target of the currentEdge
to target.void
Edge. setTarget(Node target)
Sets the target of the currentEdge
to target.