com.phoenixst.plexus.examples
public class PetersenGraph extends AbstractIntegerNodeGraph
Since: 1.0
Version: $Revision: 1.19 $
| Field Summary | |
|---|---|
| static PetersenGraph | INSTANCE
Singleton PetersenGraph instance. |
| Method Summary | |
|---|---|
| protected Graph.Edge | createEdge(int tailIndex, int headIndex) |
| protected Collection | createEdgeCollection() |
| protected Traverser | createTraverser(int nodeIndex) |
| int | degree(Object node)
Returns the degree of node, defined as the number
of edges incident on node. |
| String | toString() |
PetersenGraph instance.node, defined as the number
of edges incident on node.