net.sourceforge.combean.samples.simplegraphs
Class SimpleNumberGraph
java.lang.Object
   net.sourceforge.combean.samples.simplegraphs.NumberGraph
net.sourceforge.combean.samples.simplegraphs.NumberGraph
       net.sourceforge.combean.samples.simplegraphs.SimpleNumberGraph
net.sourceforge.combean.samples.simplegraphs.SimpleNumberGraph
- All Implemented Interfaces: 
- Graph, GlobalIndexedNodesGraphProp, GlobalNodesGraphProp, GlobalNumberedNodesGraphProp, NeighborhoodGraphProp, OutgoingEdgeNeighborhoodGraphProp
- Direct Known Subclasses: 
- Clique, DirectedCircle, DirectedPath, IsolatedNodes, Path
- public abstract class SimpleNumberGraph 
- extends NumberGraph
 
 
 
 
| Method Summary | 
|  int | getNumNodes()Return number of nodes in the graph.
 | 
 
| Methods inherited from class net.sourceforge.combean.samples.simplegraphs.NumberGraph | 
| calcNextNode, contains, convertNumToNode, empty, getAllNodesIterator, getEdgeClass, getFirstNode, getIncidentEdges, getNode, getNodeClass, getNodeNumber, getOtherNode, getOutgoingEdges, getSecondNode, nextNode | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SimpleNumberGraph
public SimpleNumberGraph(int size)
- Parameters:
- size- the number of nodes in the graph
getNumNodes
public final int getNumNodes()
- Description copied from interface: GlobalNodesGraphProp
- Return number of nodes in the graph.
 
- 
- Returns:
- number of nodes
- See Also:
- GlobalNodesGraphProp.getNumNodes()