public class LabeledGraph<T,L> extends Graph<T>
| Constructor and Description |
|---|
LabeledGraph() |
LabeledGraph(LabeledGraph<T,L> graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(T from,
T to) |
void |
addEdge(T from,
T to,
L label) |
void |
addGraph(LabeledGraph<T,L> g) |
boolean |
equals(java.lang.Object obj) |
L |
getEdgeLabel(SetUtil.Pair<T,T> edge) |
L |
getEdgeLabel(T from,
T to) |
int |
hashCode() |
addGraph, addItem, getEdges, getItems, getLineBasedStringRepresentation, getLineBasedStringRepresentation, getPredecessors, getRoot, getSinks, getSources, getSuccessors, hasItem, isEmpty, isGraphSane, removeEdge, removeItempublic LabeledGraph()
public LabeledGraph(LabeledGraph<T,L> graph)
public final void addGraph(LabeledGraph<T,L> g)
public L getEdgeLabel(SetUtil.Pair<T,T> edge)