LCRUtility Class |
Namespace: DistributedAlgorithms
public class LCRUtility : Utility
The LCRUtility type exposes the following members.
Name | Description | |
---|---|---|
![]() | LCRUtility | Initializes a new instance of the LCRUtility class |
Name | Description | |
---|---|---|
![]() | ErrorChecks |
Checks for errors.
(Overrides UtilityErrorChecks(Int32, ListInt32, String).) |
![]() ![]() | FindK |
Finds the maximum number of repeating IDs in a list of integers
|
![]() | GetStatus |
Returns (as a reference) the state of all the nodes as a NodeState list.
(Overrides UtilityGetStatus(Int32, ListNode, ListNodeState).) |
![]() | GetVariables |
Returns a list of variables used in the algorithm.
(Overrides UtilityGetVariables.) |
![]() | Initialize |
Performs required initializations
(Overrides UtilityInitialize(Int32, ListNode, ListMessage, String).) |
![]() | IsFinished |
Checks whether the algorithm execution is finished.
(Overrides UtilityIsFinished(Int32, ListNode).) |
![]() | PrintList |
Prints the ring orientation in clockwise order.
(Overrides UtilityPrintList(Int32, ListNode, String, String).) |
![]() | PrintStep |
Returns (as a reference) the state of all the nodes as a single string.
(Overrides UtilityPrintStep(Int32, Int32, ListNode, String, String).) |