C# Class MpcLib.Circuits.PermutationNetwork

Inheritance: ICloneable
Datei anzeigen Open project: mahdiz/mpclib Class Usage Examples

Public Properties

Property Type Description
FirstGateForWire MpcLib.Circuits.InputGateAddress[]
LastGateForWire MpcLib.Circuits.OutputGateAddress[]

Public Methods

Method Description
AppendGate ( Gate gate, int wires ) : void
AppendNetwork ( PermutationNetwork pn, int wires ) : void
Clone ( ) : object
CollapsePermutationGates ( ) : void
PermutationNetwork ( int wireCount ) : System
ToString ( ) : string

Method Details

AppendGate() public method

public AppendGate ( Gate gate, int wires ) : void
gate Gate
wires int
return void

AppendNetwork() public method

public AppendNetwork ( PermutationNetwork pn, int wires ) : void
pn PermutationNetwork
wires int
return void

Clone() public method

public Clone ( ) : object
return object

CollapsePermutationGates() public method

public CollapsePermutationGates ( ) : void
return void

PermutationNetwork() public method

public PermutationNetwork ( int wireCount ) : System
wireCount int
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

FirstGateForWire public_oe property

public InputGateAddress[],MpcLib.Circuits FirstGateForWire
return MpcLib.Circuits.InputGateAddress[]

LastGateForWire public_oe property

public OutputGateAddress[],MpcLib.Circuits LastGateForWire
return MpcLib.Circuits.OutputGateAddress[]