|Constructor and Description|
Constructs an OR Gate.
public ORGate(int gateNumber, int inputWireIndices, int outputWireIndices)
gateNumber- The gate's number (in a circuit all gates will be numbered).
inputWireIndices- An array containing the indices of the gate's input
outputWireIndices- An array containing the indices of the gate's input
Wire(s). There will generally be a single output
Wire. However in instances in which the fan-out of the output
Wireis >1, we left the option for treating this as multiple