net.walend.digraph.path
Interface DigraphOfGEPaths
- All Superinterfaces:
- CEDigraph, Digraph, HasState, IndexedCEDigraph, IndexedDigraph
- All Known Subinterfaces:
- MutableDigraphOfGEPaths, ShortestGEPaths
- All Known Implementing Classes:
- AbstractDelegateDigraphOfGEPaths, AbstractShortestGEPaths, DijkstraShortestGEPaths, FloydWarshallShortestGEPaths, GEBellmanFordTest, JITShortestGEPaths, JohnsonShortestGEPaths
- public interface DigraphOfGEPaths
- extends IndexedCEDigraph
DigraphOfGEPaths is a CEDigraph containing the nodes from a base digraph and edges that are paths through the base digraph between these nodes.
In general, constructors will have a base digraph and perhaps an underlying MutableUEDigraph or another DigraphOfCEPaths to use as parameters.
- Author:
- David Walend dfw1@cornell.edu
Methods inherited from interface net.walend.digraph.IndexedDigraph |
containsEdge, containsNode, countInboundEdges, countOutboundEdges, getFromIndices, getFromNodes, getNode, getNodeIndex, getToIndices, getToNodes, indexedEdgeNodeIterator, indexedNodeIterator, nodeCapacity, nodeIndices |
Methods inherited from interface net.walend.digraph.Digraph |
containsEdge, containsNode, containsNodes, countInboundEdges, countOutboundEdges, edgeCount, edgeNodeIterator, getFromNodes, getNodes, getToNodes, isEdgeFree, isEmpty, nodeCount, nodeIterator |
getPath
public GEPath getPath(java.lang.Object fromNode,
java.lang.Object toNode)
throws NodeMissingException
NodeMissingException
getPath
public GEPath getPath(int fromIndex,
int toIndex)
valid
public boolean valid()
- Checks to make sure all the nodes and edges in the path still exist in the base digraph.
getBase
public IndexedGEDigraph getBase()
Copyright (c) 2001, 2002, David Walend