com.phoenixst.plexus.examples
public class LoopGraph extends AbstractIntegerNodeGraph
Graph
.
Since: 1.0
Version: $Revision: 1.13 $
Constructor Summary | |
---|---|
LoopGraph(int n, int offset)
Creates a new LoopGraph . |
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() |
LoopGraph
.node
, defined as the number
of edges incident on node
.