You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nodes receive their IDs only when they are added to the Topology. It often occurs that an algorithm tries to consult this value in the constructor of the Node, rather than (say) in onStart(). The former does not work, but latter does work, since onStart() may execute only after a node has been added to a Topology (and thus has its ID). The programmer could be hinted to this direction, as it makes no sense to call getID() from the constructor.
The text was updated successfully, but these errors were encountered:
Nodes receive their IDs only when they are added to the
Topology
. It often occurs that an algorithm tries to consult this value in the constructor of theNode
, rather than (say) inonStart()
. The former does not work, but latter does work, sinceonStart()
may execute only after a node has been added to aTopology
(and thus has its ID). The programmer could be hinted to this direction, as it makes no sense to call getID() from the constructor.The text was updated successfully, but these errors were encountered: