Plexus v0.13.1

com.phoenixst.plexus.examples
Class Wheel

java.lang.Object
  extended by com.phoenixst.plexus.AbstractGraph
      extended by com.phoenixst.plexus.operations.Join
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph
Graph.Edge
 
Constructor Summary
Wheel(int n)
          Creates a new Wheel.
 
Method Summary
 String toString()
           
 
Methods inherited from class com.phoenixst.plexus.operations.Join
containsEdge, containsNode, degree, edges, getLeftOperand, getRightOperand, 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

Wheel

public Wheel(int n)
Creates a new Wheel.

Method Detail

toString

public String toString()
Overrides:
toString in class Join

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.