Plexus v0.13.1

com.phoenixst.plexus.examples
Class Cycle

java.lang.Object
  extended by com.phoenixst.plexus.AbstractGraph
      extended by com.phoenixst.plexus.examples.AbstractIntegerNodeGraph
          extended by com.phoenixst.plexus.examples.LoopGraph
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.phoenixst.plexus.examples.AbstractIntegerNodeGraph
AbstractIntegerNodeGraph.AbstractIntegerEdgeCollection, AbstractIntegerNodeGraph.EdgeImpl
 
Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph
Graph.Edge
 
Constructor Summary
Cycle(int n)
          Creates a new Cycle.
 
Method Summary
 String toString()
           
 
Methods inherited from class com.phoenixst.plexus.examples.LoopGraph
createEdge, createEdgeCollection, createTraverser, degree
 
Methods inherited from class com.phoenixst.plexus.examples.AbstractIntegerNodeGraph
checkNode, containsEdge, containsNode, edges, getNodeIndex, getNodeSize, nodes, removeEdge, removeNode, traverser
 
Methods inherited from class com.phoenixst.plexus.AbstractGraph
addEdge, addNode, adjacentNodes, degree, edges, getAdjacentNode, getEdge, getIncidentEdge, getNode, incidentEdges, nodes, traverser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cycle

public Cycle(int n)
Creates a new Cycle.

Method Detail

toString

public String toString()
Overrides:
toString in class LoopGraph

Plexus v0.13.1

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.