Click or drag to resize
DistributedAlgorithmSimulatorCreateNetwork Method
Distributed Algorithm Simulator
Creates a ring network which can pass messages in either clockwise or counter-clockwise directions Nodes are linked to their CW and CCW neighbors using a private id called linkID (which isn't a part of the algorithm)

Namespace: DistributedAlgorithmSimulator
Assembly: DistributedAlgorithmSimulator (in DistributedAlgorithmSimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
private bool CreateNetwork(
	string algorithm,
	ref string errMsg
)

Parameters

algorithm
Type: SystemString
Algorithm type
errMsg
Type: SystemString
Error message. "SUCCESS" if no error.

Return Value

Type: Boolean
true, if network was successfully created, false otherwise.
See Also