Click or drag to resize
UniqueKUtilityInitialize Method
Distributed Algorithm Simulator
Performs required initializations

Namespace: DistributedAlgorithms
Assembly: DistributedAlgorithmSimulator (in DistributedAlgorithmSimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public override bool Initialize(
	int n,
	ref List<Node> nodeList,
	ref List<Message> msgList,
	ref string errMsg
)

Parameters

n
Type: SystemInt32
Size of the ring
nodeList
Type: System.Collections.GenericListNode
Node list
msgList
Type: System.Collections.GenericListMessage
Message Buffer
errMsg
Type: SystemString
Error message, if any. "SUCCESS" if successful.

Return Value

Type: Boolean
: Initialization successful. : otherwise.
See Also