C# Class Unm.DistributedSystem.ButterflyNetwork.Supernode

Mostra file Open project: mahdiz/mpclib Class Usage Examples

Public Methods

Method Description
AddNode ( int id ) : void
ConnectLeft ( Supernode toNode, int D ) : void
ConnectRight ( Supernode toNode, int D ) : void

Connects the supernode to another supernode and constructs a random constant-degree expander graph between the two sets of nodes.

Supernode ( int id, RandomUtils randUtils ) : System

Private Methods

Method Description
MakeExpanderGraph ( Supernode toSupernode, int D ) : void

Method Details

AddNode() public method

public AddNode ( int id ) : void
id int
return void

ConnectLeft() public method

public ConnectLeft ( Supernode toNode, int D ) : void
toNode Supernode
D int The degree of the constant-degree expander graph.
return void

ConnectRight() public method

Connects the supernode to another supernode and constructs a random constant-degree expander graph between the two sets of nodes.
public ConnectRight ( Supernode toNode, int D ) : void
toNode Supernode
D int The degree of the constant-degree expander graph.
return void

Supernode() public method

public Supernode ( int id, RandomUtils randUtils ) : System
id int
randUtils RandomUtils
return System