C# 클래스 MpcLib.Common.FiniteField.Circuits.Circuit

파일 보기 프로젝트 열기: mahdiz/mpclib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OutputGate Gate

보호된 프로퍼티들

프로퍼티 타입 설명
Prime int

공개 메소드들

메소드 설명
Circuit ( int prime, IList gates, IList inputs, Gate outputGate ) : System
EmptyResult ( ) : void
ToString ( ) : string

비공개 메소드들

메소드 설명
GetInputOrOutputWires ( bool isInput ) : IList
InternalCalculate ( string inputs, int prime ) : Zp

Returns a List of all outputs.

StringSplit ( string source, string regexDelimiter, bool trimTrailingEmptyStrings ) : string[]

메소드 상세

Circuit() 공개 메소드

public Circuit ( int prime, IList gates, IList inputs, Gate outputGate ) : System
prime int
gates IList
inputs IList
outputGate Gate
리턴 System

EmptyResult() 공개 메소드

public EmptyResult ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

OutputGate 공개적으로 프로퍼티

public Gate,MpcLib.Common.FiniteField.Circuits OutputGate
리턴 Gate

Prime 보호되어 있는 프로퍼티

protected int Prime
리턴 int