|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.walend.digraph.path.AbstractDelegateDigraphOfGEPaths.DigraphGEPath | +--net.walend.measured.AbstractShortestGEPaths.DigraphMeasuredGEPath
Nested Class Summary |
Nested classes inherited from class net.walend.digraph.path.AbstractDelegateDigraphOfGEPaths.DigraphGEPath |
AbstractDelegateDigraphOfGEPaths.DigraphGEPath.PathEdgeNodeIterator |
Field Summary | |
private int |
length
|
private GEPathMeter |
pathMeter
|
Fields inherited from class net.walend.digraph.path.AbstractDelegateDigraphOfGEPaths.DigraphGEPath |
|
Fields inherited from interface net.walend.digraph.GEDigraph |
EMPTY |
Constructor Summary | |
AbstractShortestGEPaths.DigraphMeasuredGEPath(java.lang.Object head,
AbstractShortestGEPaths.MeasuredEdge edge,
java.lang.Object tail,
AbstractShortestGEPaths container)
|
Method Summary | |
int |
getLength()
|
java.lang.Class |
getPrincipleInterface()
Returns the class's principle interface for state comparisons. |
boolean |
sameStateAs(HasState victim)
If two HasStates have the same internal state, return true. |
java.lang.String |
toString()
|
boolean |
valid()
Returns true if this path is still a subgraph of its supergraph |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.walend.digraph.path.GEPath |
getSubpath, getSubpathFirst, getSubpathFirstToLast, getSubpathLast, getSubpathLastToFirst, getSupergraph, sameGEPathAs |
Methods inherited from interface net.walend.digraph.GEDigraph |
containsGEDigraph, intersectWithGEDigraph, sameGEDigraphAs, unionGEDigraph |
Methods inherited from interface net.walend.digraph.Digraph |
containsEdge, containsNode, containsNodes, countInboundEdges, countOutboundEdges, edgeCount, edgeNodeIterator, getFromNodes, getNodes, getToNodes, isEdgeFree, isEmpty, nodeCount, nodeIterator |
Methods inherited from interface net.walend.digraph.path.Path |
getHead, getIndexOfNode, getLastIndexOfNode, getNodeAtIndex, getNodeList, getTail, pathEdgeCount, pathEdgeNodeIterator, pathNodeCount, pathNodeIterator |
Field Detail |
private int length
private GEPathMeter pathMeter
Constructor Detail |
public AbstractShortestGEPaths.DigraphMeasuredGEPath(java.lang.Object head, AbstractShortestGEPaths.MeasuredEdge edge, java.lang.Object tail, AbstractShortestGEPaths container)
Method Detail |
public int getLength()
getLength
in interface MeasuredGEPath
public boolean valid()
valid
in interface Path
valid
in class AbstractDelegateDigraphOfGEPaths.DigraphGEPath
public java.lang.Class getPrincipleInterface()
HasState
getPrincipleInterface
in interface HasState
getPrincipleInterface
in class AbstractDelegateDigraphOfGEPaths.DigraphGEPath
public boolean sameStateAs(HasState victim)
HasState
For objects with subobjects, Generally this method should only return true if the internal objects are equal. Implement a contentsHaveSameState() method to determine if the contents have the same state.
sameStateAs
in interface HasState
sameStateAs
in class AbstractDelegateDigraphOfGEPaths.DigraphGEPath
public java.lang.String toString()
toString
in class AbstractDelegateDigraphOfGEPaths.DigraphGEPath
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |