CircuitGate
Models & Types · AiDotNet.FederatedLearning.MPC
Represents a single gate in a boolean circuit.
Constructors
| Constructor | Summary |
|---|---|
CircuitGate() |
Properties
| Property | Summary |
|---|---|
GateType Type { get; set; } |
Gets or sets the type of gate (AND, XOR, NOT, OR). |
int InputWire0 { get; set; } |
Gets or sets the index of the first input wire. |
int InputWire1 { get; set; } |
Gets or sets the index of the second input wire (-1 for unary gates like NOT). |
int OutputWire { get; set; } |
Gets or sets the index of the output wire. |