C# Class MpcLib.Circuits.PermutationGateFactory

ファイルを表示 Open project: mahdiz/mpclib Class Usage Examples

Public Methods

Method Description
CreateInvertGate ( int count ) : PermutationGate
CreateMultiGroupInserterGate ( int count, int groupSize, int numGroups ) : PermutationGate
CreateNopGate ( ) : PermutationGate
CreateShuffleGate ( int count, int numGroups ) : PermutationGate
CreateSplitGate ( int count, int group, bool moveGroupToTop ) : PermutationGate
CreateSwapGate ( ) : PermutationGate
CreateUnshuffleGate ( int count, int numGroups ) : PermutationGate

Method Details

CreateInvertGate() public static method

public static CreateInvertGate ( int count ) : PermutationGate
count int
return PermutationGate

CreateMultiGroupInserterGate() public static method

public static CreateMultiGroupInserterGate ( int count, int groupSize, int numGroups ) : PermutationGate
count int
groupSize int
numGroups int
return PermutationGate

CreateNopGate() public static method

public static CreateNopGate ( ) : PermutationGate
return PermutationGate

CreateShuffleGate() public static method

public static CreateShuffleGate ( int count, int numGroups ) : PermutationGate
count int
numGroups int
return PermutationGate

CreateSplitGate() public static method

public static CreateSplitGate ( int count, int group, bool moveGroupToTop ) : PermutationGate
count int
group int
moveGroupToTop bool
return PermutationGate

CreateSwapGate() public static method

public static CreateSwapGate ( ) : PermutationGate
return PermutationGate

CreateUnshuffleGate() public static method

public static CreateUnshuffleGate ( int count, int numGroups ) : PermutationGate
count int
numGroups int
return PermutationGate