C# Class MpcLib.Circuits.Circuit

Inheritance: ICloneable
Mostrar archivo Open project: mahdiz/mpclib Class Usage Examples

Public Properties

Property Type Description
InputConnectionCounterparties OutputGateAddress>.IDictionary
OutputConnectionCounterparties InputGateAddress>.IDictionary

Protected Properties

Property Type Description
Gates ISet

Public Methods

Method Description
AddConnection ( GateConnection connection ) : void
AddGate ( Gate gate, IEnumerable connections ) : void
Circuit ( ) : System
Clone ( ) : object
Clone ( Gate>.Dictionary &mapping ) : object
CollapsePermutationGates ( ) : void
JoinWith ( Circuit c, IList joins ) : void
RemoveGate ( Gate gate ) : void
ToString ( ) : string

Private Methods

Method Description
AssignTopologicalRanks ( ) : List

Method Details

AddConnection() public method

public AddConnection ( GateConnection connection ) : void
connection GateConnection
return void

AddGate() public method

public AddGate ( Gate gate, IEnumerable connections ) : void
gate Gate
connections IEnumerable
return void

Circuit() public method

public Circuit ( ) : System
return System

Clone() public method

public Clone ( ) : object
return object

Clone() public method

public Clone ( Gate>.Dictionary &mapping ) : object
mapping Gate>.Dictionary
return object

CollapsePermutationGates() public method

public CollapsePermutationGates ( ) : void
return void

JoinWith() public method

public JoinWith ( Circuit c, IList joins ) : void
c Circuit
joins IList
return void

RemoveGate() public method

public RemoveGate ( Gate gate ) : void
gate Gate
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

Gates protected_oe property

protected ISet Gates
return ISet

InputConnectionCounterparties public_oe property

public IDictionary InputConnectionCounterparties
return OutputGateAddress>.IDictionary

OutputConnectionCounterparties public_oe property

public IDictionary OutputConnectionCounterparties
return InputGateAddress>.IDictionary