Click or drag to resize
LCRNode Properties
Distributed Algorithm Simulator

The LCRNode type exposes the following members.

Properties
  NameDescription
Public propertyActive
Represents whether the node is active or not.
Public propertyCcwNeighbor
LinkID of the counter-clockwise neighbor.
(Inherited from Node.)
Public propertyCwNeighbor
LinkID of the clockwise neighbor.
(Inherited from Node.)
Public propertyInit
Represents whether algorithm is initialized or not.
Public propertyIsLeader
True: if the node is the leader. False: otherwise.
Public propertyLeader
Elected leader's ID
Public propertyLeaderElected
True: the nodes knows that a leader has been elected by the algorithm. False: otherwise.
Public propertyLinkId
The ID used to create the network. Different from node IDs.
(Inherited from Node.)
Public propertyStatic memberNOMESSAGE
An LCR algorithm message containing NOMESSAGE as its X value represents a non-message. i.e., the same as no message being sent through the channel.
Public propertyRcvdMsg
Received message at each step.
(Inherited from Node.)
Public propertySentMsg
Sent message at the end of each step.
(Inherited from Node.)
Public propertyUID
Node IDs of nodes.
(Inherited from Node.)
Top
See Also