salvo.jesus.graph
Interface CyclePath

All Superinterfaces:
Graph, Path, java.io.Serializable, SimplePath
All Known Implementing Classes:
CyclePathImpl

public interface CyclePath
extends SimplePath

An empty interface that denotes a CyclePath. This is a SimplePath but the first and last vertex being the same.

Author:
Jesus M. Salvo Jr.

Method Summary
 void closeCycle()
          Method to be called indicating that the Path has been fully specified.
 
Methods inherited from interface salvo.jesus.graph.Path
getFirstVertex, getLastVertex, remove
 
Methods inherited from interface salvo.jesus.graph.Graph
add, addEdge, addEdge, addGraphAddEdgeListener, addGraphAddVertexListener, addGraphRemoveEdgeListener, addGraphRemoveVertexListener, cloneVertices, createEdge, getAdjacentVertices, getAdjacentVertices, getConnectedSet, getConnectedSet, getDegree, getDegree, getEdges, getTraversal, getVertices, getVerticesCount, getVerticesIterator, isConnected, mergeconnectedSet, remove, removeEdge, removeEdges, removeGraphAddEdgeListener, removeGraphAddVertexListener, removeGraphRemoveEdgeListener, removeGraphRemoveVertexListener, setTraversal, traverse
 

Method Detail

closeCycle

void closeCycle()
                throws IllegalPathException
Method to be called indicating that the Path has been fully specified. Implementations of this method should therefore check that the Path is indeed a Cycle.

Throws:
IllegalPathException