</p>
<pre>
myNetwork.gate(myNetwork.nodes[1], myNetwork.connections[5]
</pre>

<p>Now the weight of connection 5 is multiplied with the activation of node 1!
</details></p>
<p><details>
  <summary>ungate</summary>
   Removes a gate from a connection:</p>
<pre>
myNetwork = new architect.Perceptron(1, 4, 2);

// Gate a connection
myNetwork.gate(myNetwork.nodes[2], myNetwork.connections[5]);

// Remove the gate from the connection
myNetwork.ungate(myNetwork.connections[5]);
</pre>

<p></details></p>
<p><detail