LCRUtilityPrintStep Method |
Distributed Algorithm Simulator
Returns (as a reference) the state of all the nodes as a single string.
Namespace: DistributedAlgorithmsAssembly: DistributedAlgorithmSimulator (in DistributedAlgorithmSimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic override void PrintStep(
int n,
int step,
List<Node> nodeList,
ref string outputString,
ref string errMsg
)
Parameters
- n
- Type: SystemInt32
Ring size - step
- Type: SystemInt32
The step number to be printed. - nodeList
- Type: System.Collections.GenericListNode
Node list. - outputString
- Type: SystemString
The state of all the nodes as a single string. - errMsg
- Type: SystemString
Error message, if any. "SUCCESS" if successful.
See Also