Plexus v0.13.1

com.phoenixst.plexus.examples
Class Star

java.lang.Object
  extended by com.phoenixst.plexus.AbstractGraph
      extended by com.phoenixst.plexus.operations.Join
          extended by com.phoenixst.plexus.examples.Star
All Implemented Interfaces:
Graph, Serializable

public class Star
extends Join

A star 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
Star(int n)
          Creates a new Star.
 
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

Star

public Star(int n)
Creates a new Star.

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.