Click or drag to resize
VisualSimulator Constructor
Distributed Algorithm Simulator
Initializes an instance of the VisualSimulator class.

Namespace: DistributedAlgorithmSimulator
Assembly: DistributedAlgorithmSimulator (in DistributedAlgorithmSimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public VisualSimulator(
	List<int> idList,
	List<Node> nodeList,
	List<Message> msgList,
	int n,
	string alg
)

Parameters

idList
Type: System.Collections.GenericListInt32
Node ID list.
nodeList
Type: System.Collections.GenericListNode
Node list.
msgList
Type: System.Collections.GenericListMessage
Message buffer.
n
Type: SystemInt32
Ring size in terms of nodes.
alg
Type: SystemString
Algorithm type.
See Also