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>
-
public class LabeledGraph<T,L> extends Graph<T>
-
-
Constructor Summary
Constructors Constructor Description LabeledGraph()LabeledGraph(LabeledGraph<T,L> graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEdge(T from, T to)voidaddEdge(T from, T to, L label)voidaddGraph(LabeledGraph<T,L> g)voidaddPath(org.api4.java.datastructure.graph.ILabeledPath<T,L> path)booleanequals(java.lang.Object obj)LgetEdgeLabel(Pair<T,T> edge)LgetEdgeLabel(T from, T to)inthashCode()-
Methods inherited from class ai.libs.jaicore.graph.Graph
addGraph, addItem, addPath, getConnected, getItems, getLineBasedStringRepresentation, getLineBasedStringRepresentation, getPredecessors, getRoot, getSinks, getSources, getSuccessors, hasEdge, hasItem, hasPath, isEmpty, isGraphSane, isUseBackPointers, isUseForwardPointers, removeEdge, removeItem, setUseBackPointers, setUseForwardPointers
-
-
-
-
Constructor Detail
-
LabeledGraph
public LabeledGraph()
-
LabeledGraph
public LabeledGraph(LabeledGraph<T,L> graph)
-
-
Method Detail
-
addGraph
public final void addGraph(LabeledGraph<T,L> g)
-
-