public class SimpleDiGraph<N,E> extends MultiDiGraph<N,E>
Constructor and Description |
---|
SimpleDiGraph() |
Modifier and Type | Method and Description |
---|---|
protected void |
_set(N from,
N to,
int weight,
E label)
The core, central set method.
|
boolean |
is_simple() |
_remove, add, addAll, avg_nodal_degree, clear_all_edges, clear, contains, containsAll, edge_outdegree, edge, edge, edges, edges, equals, hashCode, is_directed, is_linked, isEmpty, iterator, link_count, max_nodal_degree, nodal_outdegree, notifyObservers, notifyObservers, plugObservable, random_edge_iterable, random_node_iterable, remove, remove, remove, removeAll, retainAll, set, set, size, successors, toArray, toArray, toString, unplugObservable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, setChanged
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged
protected void _set(N from, N to, int weight, E label)
MultiDiGraph
_set
in class MultiDiGraph<N,E>
from
- The N-typed node from which to set the new edgeto
- The N-typed node to which the edge should be setweight
- The weight of the node, unweighted edges should just be
set to 1.label
- The E-typed edge label object for the graph edge.