net.sourceforge.combean.interfaces.graph.containers.doubleval
Interface InitializableWithDoubleDefaultValue
- All Superinterfaces:
- Initializable
- All Known Subinterfaces:
- DoubleEdgeMap, DoubleNodeMap
- All Known Implementing Classes:
- EdgeMapAsDoubleEdgeMap, NodeMapAsDoubleNodeMap
public interface InitializableWithDoubleDefaultValue
- extends Initializable
An initalizable data structure which also supports initialization
with a default value given a double.
Method Summary |
void |
init(Graph g,
double initVal)
Has to be invoked before the data structure can be used. |
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.Initializable |
init |
init
void init(Graph g,
double initVal)
- 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 elements of the data structure are set
to the given default value.
- Parameters:
g
- the graph for which the data structure shall be defined.initVal
- the default value with which the data structure
shall be initialized