All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----gerken.vehicles.NetworkConnection
|
+----gerken.vehicles.InhibitoryConnection
An InhibitoryConnection is a connection that inhibits the firing of its to node during the next step, but only if its from node fired during the previous step.
This software is provided on an as-is basis and is copyright Chris Gerken. The only rights granted to you are to enjoy and learn from this software.
Return a connection that inhibits the firing of node t (the "to" node) whenever node f (the "from" node) fires.
Check to see if the from node has fired.
public InhibitoryConnection(NetworkNode f,
NetworkNode t)
Return a connection that inhibits the firing of node t (the "to" node) whenever node f (the "from" node) fires.
public void updateToNode()
Check to see if the from node has fired. If it has, set the inhibited property of to to node to true.
All Packages Class Hierarchy This Package Previous Next Index