net.walend.measured
Class CEPathsFromShortestDistances.DigraphMeasuredCEPath
java.lang.Object
|
+--net.walend.digraph.path.AbstractDelegateDigraphOfCEPaths.DigraphCEPath
|
+--net.walend.measured.CEPathsFromShortestDistances.DigraphMeasuredCEPath
- All Implemented Interfaces:
- CEDigraph, CEPath, Digraph, HasState, MeasuredCEPath, Path
- Enclosing class:
- CEPathsFromShortestDistances
- private class CEPathsFromShortestDistances.DigraphMeasuredCEPath
- extends AbstractDelegateDigraphOfCEPaths.DigraphCEPath
- implements MeasuredCEPath
Methods inherited from class net.walend.digraph.path.AbstractDelegateDigraphOfCEPaths.DigraphCEPath |
containsCEDigraph, containsEdge, containsEdge, containsNode, containsNodes, countInboundEdges, countOutboundEdges, edgeCount, edgeIterator, edgeNodeIterator, equals, getContainer, getEdge, getEdgeAtIndex, getEdgeList, getEdges, getFromNodes, getHead, getInboundEdges, getIndexOfEdge, getIndexOfNode, getLastIndexOfEdge, getLastIndexOfNode, getNeck, getNodeAtIndex, getNodeList, getNodes, getOutboundEdges, getSubpath, getSubpathFirst, getSubpathFirstToLast, getSubpathLast, getSubpathLastToFirst, getSupergraph, getTail, getToNodes, hashCode, intersectWithCEDigraph, isEdgeFree, isEmpty, nodeCount, nodeIterator, pathEdgeCount, pathEdgeIterator, pathEdgeNodeIterator, pathNodeCount, pathNodeIterator, sameCEDigraphAs, sameCEPathAs, unionCEDigraph |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.walend.digraph.path.CEPath |
getEdgeAtIndex, getEdgeList, getIndexOfEdge, getLastIndexOfEdge, getSubpath, getSubpathFirst, getSubpathFirstToLast, getSubpathLast, getSubpathLastToFirst, getSupergraph, pathEdgeIterator, sameCEPathAs |
Methods inherited from interface net.walend.digraph.Digraph |
containsEdge, containsNode, containsNodes, countInboundEdges, countOutboundEdges, edgeCount, edgeNodeIterator, getFromNodes, getNodes, getToNodes, isEdgeFree, isEmpty, nodeCount, nodeIterator |
length
private int length
pathMeter
private CEPathMeter pathMeter
CEPathsFromShortestDistances.DigraphMeasuredCEPath
public CEPathsFromShortestDistances.DigraphMeasuredCEPath(java.lang.Object head,
CEPathsFromShortestDistances.MeasuredEdge edge,
java.lang.Object tail,
CEPathsFromShortestDistances container)
getCEPFSDContainer
protected CEPathsFromShortestDistances getCEPFSDContainer()
getLength
public int getLength()
- Specified by:
getLength
in interface MeasuredCEPath
valid
public boolean valid()
- Returns true if this path is still a subgraph of its supergraph
- Specified by:
valid
in interface Path
- Overrides:
valid
in class AbstractDelegateDigraphOfCEPaths.DigraphCEPath
getPrincipleInterface
public java.lang.Class getPrincipleInterface()
- Description copied from interface:
HasState
- Returns the class's principle interface for state comparisons. If two objects have different principle interfaces, they never have the same state.
- Specified by:
getPrincipleInterface
in interface HasState
- Overrides:
getPrincipleInterface
in class AbstractDelegateDigraphOfCEPaths.DigraphCEPath
sameStateAs
public boolean sameStateAs(HasState victim)
- Description copied from interface:
HasState
- If two HasStates have the same internal state, return true.
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.
- Specified by:
sameStateAs
in interface HasState
- Overrides:
sameStateAs
in class AbstractDelegateDigraphOfCEPaths.DigraphCEPath
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractDelegateDigraphOfCEPaths.DigraphCEPath
Copyright (c) 2001, 2002, David Walend