net.sourceforge.combean.interfaces.graph.containers
Interface Initializable

Package class diagram package Initializable
All Known Subinterfaces:
DoubleEdgeMap, DoubleNodeMap, EdgeMap<Val>, InitializableWithDefaultValue<Val>, InitializableWithDoubleDefaultValue, NodeMap<Val>
All Known Implementing Classes:
ArrayNodeMap, EdgeMapAsDoubleEdgeMap, MapAsEdgeMap, MapAsNodeMap, NodeMapAsDoubleNodeMap

public interface Initializable

A data structure which has to initialized with a graph before objects belonging to the graph may be stored in it.


Method Summary
 void init(Graph g)
          Has to be invoked before the data structure can be used.
 

Method Detail

init

void init(Graph g)
Has to be invoked before the data structure can be used. The data structure may only be used with objects belonging to the given graph. After init() all potential objects in the data structure are set to null.

Parameters:
g - the graph for which the data structure shall be defined.