示例#1
0
 public bool IsGateEvaluated(Gate gate)
 {
     return(_gateEvaluationValues[gate.Context.CircuitUniqueId].IsPresent);
 }
示例#2
0
 public void SetGateEvaluationValue(Gate gate, T value)
 {
     _gateEvaluationValues[gate.Context.CircuitUniqueId] = Optional <T> .FromValue(value);
 }
示例#3
0
 public bool IsGateEvaluated(Gate gate)
 {
     return(_gateEvaluationValues[gate.Id].IsPresent);
 }
示例#4
0
文件: Wire.cs 项目: lumip/CompactMPC
 private Wire(Gate gate)
 {
     _gate = gate;
 }
示例#5
0
 public void SetGateEvaluationValue(Gate gate, T value)
 {
     _gateEvaluationValues[gate.Id] = Optional <T> .FromValue(value);
 }