public class Cycle extends LoopGraph
Graph
containing a set of Integer
nodes connected by a path of edges from the first node to the last
one, and then back to the first, making a cycle.AbstractIntegerNodeGraph.AbstractIntegerEdgeCollection, AbstractIntegerNodeGraph.EdgeImpl
Graph.Edge
Constructor and Description |
---|
Cycle(int n)
Creates a new
Cycle . |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
createEdge, createEdgeCollection, createTraverser, degree
checkNode, containsEdge, containsNode, edges, getNodeIndex, getNodeSize, nodes, removeEdge, removeNode, traverser
addEdge, addNode, adjacentNodes, degree, edges, getAdjacentNode, getEdge, getIncidentEdge, getNode, incidentEdges, nodes, traverser
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.