Perform local node changes. This method is called once per node per iteration in the simulation. The state of node and srcNetwork is that of the previous iteration. After execution node is expected to be updated and returned in the new state.
This method needs to be overloaded in any sub classes. Its purpose is to make attribute changes to a single node at the time and it should ONLY make changes to node alone.
Parameters : | node : networkx node, Structure: (<node id>, {<attribute name-value map>})
srcNetwork : networkx.Graph
dt : float
|
---|---|
Returns : | node : networkx node
|