|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractCollection<E>
AbstractList<E>
ArrayList
Walk
Path
public class Path
Represents a path in a graph. A path P is defined as a walk in which there are no node repetitions.
modules/extension/graph (gt-graph.jar)
Field Summary |
---|
Fields inherited from class AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
Path()
|
|
Path(Collection nodes)
|
Method Summary | |
---|---|
boolean |
isValid()
Tests if the path is valid. |
Methods inherited from class Walk |
---|
add, add, add, addAll, addAll, addEdge, addEdges, buildEdges, duplicate, equals, equals, getEdges, getFirst, getLast, hashCode, isClosed, remove, remove, remove, removeAll, reverse, riterator, truncate |
Methods inherited from class ArrayList |
---|
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class AbstractList |
---|
iterator, listIterator, listIterator, subList |
Methods inherited from class AbstractCollection |
---|
containsAll, retainAll, toString |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface NodeSequence |
---|
iterator, size |
Methods inherited from interface List |
---|
containsAll, iterator, listIterator, listIterator, retainAll, subList |
Constructor Detail |
---|
public Path()
public Path(Collection nodes)
Method Detail |
---|
public boolean isValid()
isValid
in interface NodeSequence
isValid
in class Walk
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |