net.sourceforge.combean.interfaces.graph.prop
Interface GlobalNumberedNodesGraphProp

Package class diagram package GlobalNumberedNodesGraphProp
All Superinterfaces:
GlobalIndexedNodesGraphProp, GlobalNodesGraphProp, Graph
All Known Subinterfaces:
ConstructableNumberedGraphProp, GlobalNumberedGraphProp
All Known Implementing Classes:
Clique, CompositeNumberGraph, DirectedCircle, DirectedPath, DRAGraphAsConstructableNumberedGraph, IsolatedNodes, NumberGraph, Path, SimpleNumberGraph

public interface GlobalNumberedNodesGraphProp
extends GlobalIndexedNodesGraphProp

A graph where every node has a number, starting from zero.


Field Summary
 
Fields inherited from interface net.sourceforge.combean.interfaces.graph.prop.GlobalIndexedNodesGraphProp
UNDEFINED_NODE
 
Method Summary
 int getNodeNumber(Node v)
          Get the number of a given node.
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.prop.GlobalIndexedNodesGraphProp
getNode
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.prop.GlobalNodesGraphProp
getAllNodesIterator, getNumNodes
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.Graph
getEdgeClass, getNodeClass
 

Method Detail

getNodeNumber

int getNodeNumber(Node v)
Get the number of a given node.

Parameters:
v - the node for which the number shall be returned.
Returns:
the number of the node in the interval [0 ... number of nodes-1]