C# Class MpcLib.MpcProtocols.Dkms.Circuit

Implements a fast directed-acyclic graph of gates. The circuit object contains all the information a player needs to know about the circuit except the members (players) of the gates.
Exibir arquivo Open project: mahdiz/mpclib Class Usage Examples

Public Properties

Property Type Description
InputGates ReadOnlyCollection

Public Methods

Method Description
Circuit ( ReadOnlyCollection inputGates, IEnumerable otherGates ) : System.Collections.Generic
FindGate ( int gateId ) : Gate

O(1) operation.

Method Details

Circuit() public method

public Circuit ( ReadOnlyCollection inputGates, IEnumerable otherGates ) : System.Collections.Generic
inputGates ReadOnlyCollection
otherGates IEnumerable
return System.Collections.Generic

FindGate() public method

O(1) operation.
public FindGate ( int gateId ) : Gate
gateId int
return Gate

Property Details

InputGates public_oe property

public ReadOnlyCollection InputGates
return ReadOnlyCollection