C# Class MpcLib.DistributedSystem.QuorumGenerator

Mostra file Open project: mahdiz/mpclib

Public Methods

Method Description
GenerateQuorums ( SortedSet parties, int quorumCount, int countPerQuorum, System.Numerics.BigInteger seed ) : List>

Private Methods

Method Description
AreAllInQuorum ( List quorums, int partyCount ) : bool
GenerateQuorum ( Random randGen, int size, int numParties, int>.Dictionary partyPositions ) : SortedSet

Method Details

GenerateQuorums() public static method

public static GenerateQuorums ( SortedSet parties, int quorumCount, int countPerQuorum, System.Numerics.BigInteger seed ) : List>
parties SortedSet
quorumCount int
countPerQuorum int
seed System.Numerics.BigInteger
return List>