LCRNode Properties |
The LCRNode type exposes the following members.
Name | Description | |
---|---|---|
![]() | Active |
Represents whether the node is active or not.
|
![]() | CcwNeighbor |
LinkID of the counter-clockwise neighbor.
(Inherited from Node.) |
![]() | CwNeighbor |
LinkID of the clockwise neighbor.
(Inherited from Node.) |
![]() | Init |
Represents whether algorithm is initialized or not.
|
![]() | IsLeader |
True: if the node is the leader. False: otherwise.
|
![]() | Leader |
Elected leader's ID
|
![]() | LeaderElected |
True: the nodes knows that a leader has been elected by the algorithm. False: otherwise.
|
![]() | LinkId |
The ID used to create the network. Different from node IDs.
(Inherited from Node.) |
![]() ![]() | NOMESSAGE |
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.
|
![]() | RcvdMsg |
Received message at each step.
(Inherited from Node.) |
![]() | SentMsg |
Sent message at the end of each step.
(Inherited from Node.) |
![]() | UID |
Node IDs of nodes.
(Inherited from Node.) |