com.phoenixst.plexus.examples
Class Cycle
java.lang.Object
  
com.phoenixst.plexus.AbstractGraph
      
com.phoenixst.plexus.examples.AbstractIntegerNodeGraph
          
com.phoenixst.plexus.examples.LoopGraph
              
com.phoenixst.plexus.examples.Cycle
- All Implemented Interfaces: 
 - Graph, Serializable
 
public class Cycle
- extends LoopGraph
 
A Graph containing a set of Integer
  nodes connected by a path of edges from the first node to the last
  one, and then back to the first, making a cycle.
- Since:
 
  - 1.0
 
- Version:
 
  - $Revision: 1.20 $
 
- Author:
 
  - Ray A. Conner
 
- See Also:
 - Serialized Form
 
 
 
| Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph | 
Graph.Edge | 
 
| 
Constructor Summary | 
Cycle(int n)
 
          Creates a new Cycle. | 
 
 
 
 
| Methods inherited from class com.phoenixst.plexus.AbstractGraph | 
addEdge, addNode, adjacentNodes, degree, edges, getAdjacentNode, getEdge, getIncidentEdge, getNode, incidentEdges, nodes, traverser | 
 
 
Cycle
public Cycle(int n)
- Creates a new 
Cycle.
 
toString
public String toString()
- Overrides:
 toString in class LoopGraph
 
 
See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others.  All Rights Reserved.  Use is subject to license terms.