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 void
addEdge(T from, T to)
void
addEdge(T from, T to, L label)
void
addGraph(LabeledGraph<T,L> g)
void
addPath(org.api4.java.datastructure.graph.ILabeledPath<T,L> path)
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, addPath, getConnected, getDescendants, getItems, getLineBasedStringRepresentation, getLineBasedStringRepresentation, getPredecessors, getRoot, getSiblings, 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)
-
-