C# Class MpcLib.DistributedSystem.ProtocolIdGenerator

Afficher le fichier Open project: mahdiz/mpclib Class Usage Examples

Méthodes publiques

Méthode Description
GateEvalIdentifier ( int gateNumber ) : ulong
GateInputSharingIdentifier ( int gateNumber, int whichInput ) : ulong
GenericIdentifier ( int id ) : ulong
GetIntraQuorumProtocolNumber ( ulong id ) : uint
IsQuorumProtocolIdentifier ( ulong id ) : bool
NopIdentifier ( ulong baseProtocolIdentifier ) : ulong
QuorumProtocolIdentifier ( ushort quorumNumber, uint intraQuorumProtocolNumber ) : ulong
ResultBroadcastIdentifier ( int outputNumber ) : ulong
TwoQuorumProtocolIdentifier ( ushort quorumNumberA, ushort quorumNumberB, ushort intraQuorumProtocolNumber ) : ulong

Method Details

GateEvalIdentifier() public static méthode

public static GateEvalIdentifier ( int gateNumber ) : ulong
gateNumber int
Résultat ulong

GateInputSharingIdentifier() public static méthode

public static GateInputSharingIdentifier ( int gateNumber, int whichInput ) : ulong
gateNumber int
whichInput int
Résultat ulong

GenericIdentifier() public static méthode

public static GenericIdentifier ( int id ) : ulong
id int
Résultat ulong

GetIntraQuorumProtocolNumber() public static méthode

public static GetIntraQuorumProtocolNumber ( ulong id ) : uint
id ulong
Résultat uint

IsQuorumProtocolIdentifier() public static méthode

public static IsQuorumProtocolIdentifier ( ulong id ) : bool
id ulong
Résultat bool

NopIdentifier() public static méthode

public static NopIdentifier ( ulong baseProtocolIdentifier ) : ulong
baseProtocolIdentifier ulong
Résultat ulong

QuorumProtocolIdentifier() public static méthode

public static QuorumProtocolIdentifier ( ushort quorumNumber, uint intraQuorumProtocolNumber ) : ulong
quorumNumber ushort
intraQuorumProtocolNumber uint
Résultat ulong

ResultBroadcastIdentifier() public static méthode

public static ResultBroadcastIdentifier ( int outputNumber ) : ulong
outputNumber int
Résultat ulong

TwoQuorumProtocolIdentifier() public static méthode

public static TwoQuorumProtocolIdentifier ( ushort quorumNumberA, ushort quorumNumberB, ushort intraQuorumProtocolNumber ) : ulong
quorumNumberA ushort
quorumNumberB ushort
intraQuorumProtocolNumber ushort
Résultat ulong