Initialize the mean field states on the network.
This is a specialized version of initializeNetwork as found in AttributeStateProcess and allows for partial mean field states. In a partial state only a subset of the declared state keys are defined thus the partial state matches many unique states. This method will deduce all unique states lying in the partial state and track each of them. Thus if you want every possible state to be tracked as a mean field an empty dictionary ‘{}’ can be given which will match all possible states.
Parameters : | network : networkx.Graph
|
---|---|
Returns : | network : networkx.Graph
|
See also