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

Package class diagram package GlobalNumberedEdgesGraphProp
All Superinterfaces:
GlobalEdgesGraphProp, GlobalIndexedEdgesGraphProp, Graph
All Known Subinterfaces:
ConstructableNumberedGraphProp, GlobalNumberedGraphProp
All Known Implementing Classes:
DRAGraphAsConstructableNumberedGraph

public interface GlobalNumberedEdgesGraphProp
extends GlobalIndexedEdgesGraphProp

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


Field Summary
 
Fields inherited from interface net.sourceforge.combean.interfaces.graph.prop.GlobalIndexedEdgesGraphProp
UNDEFINED_EDGE
 
Method Summary
 int getEdgeNumber(Edge e)
          Get the number of a given edge.
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.prop.GlobalIndexedEdgesGraphProp
getEdge
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.prop.GlobalEdgesGraphProp
getAllEdgesIterator, getNumEdges
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.Graph
getEdgeClass, getNodeClass
 

Method Detail

getEdgeNumber

int getEdgeNumber(Edge e)
Get the number of a given edge.

Parameters:
e - the edge for which the number shall be returned.
Returns:
the number of the edge in the interval [0 ... number of edges-1]