com.phoenixst.plexus.examples
Class Wheel
java.lang.Object
com.phoenixst.plexus.AbstractGraph
com.phoenixst.plexus.operations.Join
com.phoenixst.plexus.examples.Wheel
- All Implemented Interfaces:
- Graph, Serializable
public class Wheel
- extends Join
A wheel graph with one central node and n
outer
nodes.
- Since:
- 1.0
- Version:
- $Revision: 1.12 $
- Author:
- Ray A. Conner
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph |
Graph.Edge |
Constructor Summary |
Wheel(int n)
Creates a new Wheel . |
Methods inherited from class com.phoenixst.plexus.AbstractGraph |
addEdge, addNode, adjacentNodes, degree, edges, getAdjacentNode, getEdge, getIncidentEdge, getNode, incidentEdges, nodes, traverser |
Wheel
public Wheel(int n)
- Creates a new
Wheel
.
toString
public String toString()
- Overrides:
toString
in class Join
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.