com.phoenixst.plexus.examples
Class Prism
java.lang.Object
   com.phoenixst.plexus.AbstractGraph
com.phoenixst.plexus.AbstractGraph
       com.phoenixst.plexus.operations.Product
com.phoenixst.plexus.operations.Product
           com.phoenixst.plexus.examples.Prism
com.phoenixst.plexus.examples.Prism
- All Implemented Interfaces: 
- Graph, Serializable
- public class Prism 
- extends Product
An m x n prism, where m is the size of
  the cycle and n is the size of the path.  This graph
  is pretty much a cylinder, but takes its name from the fact that
  if the cycle is of size 3, then it looks like a prism.
- Since:
- 1.0
- Version:
- $Revision: 1.10 $
- Author:
- Ray A. Conner
- See Also:
- Serialized Form
 
| Nested classes/interfaces inherited from interface com.phoenixst.plexus.Graph | 
| Graph.Edge | 
 
| Constructor Summary | 
| Prism(int m,
      int n)Creates a new
 Prism. | 
 
 
 
| Methods inherited from class com.phoenixst.plexus.AbstractGraph | 
| addEdge, addNode, adjacentNodes, degree, edges, getAdjacentNode, getEdge, getIncidentEdge, getNode, incidentEdges, nodes, traverser | 
 
 
Prism
public Prism(int m,
             int n)
- Creates a new Prism.
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Product
 
- 
 
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.