public void Disconnect(Wire wire) { while (!this._wires.TryRemove(wire, out byte value)) { } }
public void Connect(Node output, Node input, int inputIndex) { var wire = new Wire(output, input, inputIndex); this.Connect(wire); }
public bool Contains(Wire symbol) { return(this.wire.Contains(symbol)); }