Package ai.libs.jaicore.graph
Class LabeledGraph<T,L>
- java.lang.Object
-
- ai.libs.jaicore.graph.Graph<T>
-
- ai.libs.jaicore.graph.LabeledGraph<T,L>
-
- All Implemented Interfaces:
java.io.Serializable
public class LabeledGraph<T,L> extends Graph<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LabeledGraph()
LabeledGraph(LabeledGraph<T,L> graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Pair<T,T> edge)
L
getEdgeLabel(T from, T to)
int
hashCode()
-
Methods inherited from class ai.libs.jaicore.graph.Graph
addGraph, addItem, getEdges, getItems, getLineBasedStringRepresentation, getLineBasedStringRepresentation, getPredecessors, getRoot, getSinks, getSources, getSuccessors, hasItem, isEmpty, isGraphSane, removeEdge, removeItem
-
-
-
-
Constructor Detail
-
LabeledGraph
public LabeledGraph()
-
LabeledGraph
public LabeledGraph(LabeledGraph<T,L> graph)
-
-
Method Detail
-
addGraph
public final void addGraph(LabeledGraph<T,L> g)
-
-