Class LabeledGraph
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.utils.LabeledGraph
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum for the possible edge directionsstatic classAn edge of a labeled graph has an id, an edge label, a target node and a directionstatic classRepresents a path in a graph, starting from a given node and following a sequence of edges. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanEnumerates all possible paths and returns the longest found.inthashCode()booleanisEmpty()voidremovePath(LabeledGraph.Path path) removes the edges contained in pathtoString() 
- 
Field Details
- 
adjacencyLists
 
 - 
 - 
Constructor Details
- 
LabeledGraph
 
 - 
 - 
Method Details
- 
removePath
removes the edges contained in path - 
getLongestPath
Enumerates all possible paths and returns the longest found. In case of ties, it returns the first longest path found. - 
isEmpty
public boolean isEmpty() - 
toString
 - 
equals
 - 
hashCode
 
 -