All Packages Class Hierarchy
Adds c to the set of participant colors that the vehicle can break.
Adds c to the set of participant colors that can break the vehicle.
Register a connection to the network
Register a hidden node to the network.
Register a participant in the scenario.
Compute and return a Location that results from moving away from the receiver for a distance of length at an angle of angle
Register a receptor to the network
If the participant doesn't already have a debug window, give it one
Build and return a vehicle network that veers its vehicle away from white light.
Return a basic blue vehicle.
Build and return a vehicle network that veers its vehicle toward a light colored c.
Return a vehicle that chases after chasedColor participants.
All of the receiver's inputs have been summed.
Build and return a vehicle network that travels straight ahead.
Return a vehicle colored vehicleColor that moves straight ahead and never turns.
If the participant has a debug window then the participant will write debug information to that window.
Tell the Light to display itself using the given Graphics.
Tell the pulsar to display itself using the given Graphics.
Redraw the receiver (draws a rectangle around the scenario simulation region).
Display the receiver using the given Graphics.
Display the vehicle using the Graphics.
Tell the pulsar to display itself as being broken using the given Graphics.
Tell the Light to display itself as being broken using the given Graphics.
Redraw the receiver (draws a rectangle around the scenario simulation region).
Display the receiver in such a way as to indicate that the receiver is broken.
"Erase" the old screen representation by drawing the vehicle in its old location using the background color.
Calculate and return the distance from this location to Location l
Return an ExcitatoryConnection that connects node f to node t with weight 1.
Return an ExcitatoryConnection that connects node f to node t with weight w.
If the node is not inhibited and if the input sum exceeds the threshhold, the node fires.
Return the angle from the receiver to the location.
Return the Color used to paint the SimulationWindow's background.
Return the maximum distance from this vehicle can be broken (rendered inactive) or from which this vehicle can break other participants.
Return a Vector containing the colors of participants that this vehicle can break.
Return the brightness of this participant.
Calculate and return the brightness of an object.
Return a Vector containing the colors of participants that can break this vehicle.
Return the x coordinate of the center of the scenario's simulation area
Return the y coordinate of the center of the scenario's simulation area
Return the participant closest to the given Location.
The border for a scenario is always drawn in white.
Return the participant's color.
Tell the user what we can about the participant's execution state.
Build and return a String containing execution state for the vehicle
Return a string describing this light.
Return a string describing this pulsar.
Return a string describing this light.
Return a string describing this vehicle.
Return the network's descriptive name
Return the direction in which this vehicle is heading.
Return the DisplayCoordinates cooresponding to the participant's location
Perform transformations on a DisplayCoordinates to get the corresponding Location.
Perform transformations on a Location to get the DisplayCoordinates that correctly represent that point in a SimulatorWindow.
Return whether the node fired during the most recent simulation step.
Return the height in pixels of the simulation area
Return whether or not the node has been inhibited from firing during the next simulation step.
Return the sum of the node's inputs from the most recent simulation step.
Return the light input to the receptor as an integer value.
Return whether the participant is still active in the simulation.
Get the counterclockwise-most boundary angle of the receptor's field of vision.
Return the amount of light received by the receptor.
Return a Location representing the participants location
Return the width in pixels of the space between the simulaiton border and the edge of the screen.
Return the node's name.
Return the offset (in the form of a Location) from the receiver to the location.
Return a vector containing all of the registered participants for the scenario.
Return a random direction
Return a random x coordinate between 0.0 and the scenario's width inclusive
Return a random y coordinate between 0.0 and the scenario's height inclusive
Get the clockwise-most boundary angle of the receptor's field of vision.
Return whether this receptor has total light inputs that exceed its threshhold.
Return the scenario in charge of the participant's simulation.
Return the color seen by the receptor.
Return a Vector containing all of the registered simulation participants with color c.
Return the distance traveled by this vehicle when both wheels move forward.
Return the current brightness based on phase and period.
Return the distance from the receiver to the origin.
Return the connection's weight.
Return the width of the scenario simulation area.
Return whether or not vehicles can "see" and "travel" over borders to the other side of the scenario simulation area.
Return the x coordinate
.Return the X value as an double
Return the participant's x coordinate.
Return the y coordinate
Return the Y value as an double
Return the participant's y coordinate.
Begin continuous simulation.
Build and return a vehicle network that veers its vehicle toward a white light.
Return a basic green vehicle.
Stop continuous simulation.
Answer true to indicate that this light does in fact have a location.
The ScenarioBorder is an object that represents the border of a scenario simulation region and therefore has no single point location.
Return whether the participant has a single point position.
Vehicles have single point locations, so answer true.
Return a hidden node with threshhold t.
Return a connection that inhibits the firing of node t (the "to" node) whenever node f (the "from" node) fires.
Return the X value as an integer
Return the Y value as an integer
Build and return a vehicle network that follows others of its kind.
Return a lemming vehicle
Return a light at location (x,y) which produces c colored light.
Return a Location object representing coordinates (x,y).
Calculate and save the vehicle's new position assuming that both wheels move.
Return the registered node named name.
Return the equivalent angle (in radians, between + and - pi)
Build and return a vehicle network that orbits any c-colored light.
Return a vehicle that orbits participants colored orbitedColor.
Return a Pulsar at location (x,y) which produces c colored light and whose brightness will vary for a period of length p steps.
Return a receptor whose field of vision lies between angle l to the left and angle r to the right.
Build and return a vehicle network that veers its vehicle first toward and then away from a white light.
Return a basic red vehicle.
Remove (unregister) a participant from the simulation.
Begin simulation of this scenario on a new thread.
Return whether the motor driving the left wheel will run during this simulation step.
Return whether the motor driving the right wheel will run during this simulation step.
Determine whether angle lies between the receiver's leftAngle and rightAngle.
Set the participant's brightness.
Set the current foreground color on the SimulationWIndows's Canvas.
Convenience method to set the current forground color for the SimulationWindow's Canvas to that Canvas' background color.
Set the network's desriptive name.
Set whether the network node has fired.
Set the from node.
Set the total input value.
Set whether the participant is still active in the simulation.
Set the counterclockwise-most boundary angle of the receptor's field of vision.
Specify the node to be connected to the vehicle's left wheel motor.
Set the node's name.
Set the clockwise-most boundary angle of the receptor's field of vision.
Specify the node to be connected to the vehicle's right wheel motor.
Set the distance this vehicle will move when both wheels move forward.
Set the to node for the connection.
Set the connection's weight.
Set the participant's x coordinate.
Set the participant's y coordinate.
Calculate the vehicle's new position should it not move (hint: the position doesn't change.
Put up a SimulationWindow for the scenario and display the initial positions of the scenario's registered participants.
Perform light-specific simulation tasks
Increment the number of steps that have passed and use that number to calculate the new brightness.
Perform border-specific simulation tasks
Perform the simulation logic for a single step.
Perform a single step in the scenario's simulation.
Return a text representation of the receiver.
Return a text representation of the receiver.
Turn the vehicle's direction by angle.
Return the angle in radians that a vehicle will turn when only one of its wheels move.
Turn the vehicle to the left.
Turn the vehicle to the right.
Check to see if the from node has fired.
Check to see if the from node has fired.
Take action against the connection's to node, but only if the from node has fired.
Return a new vehicle network.
Return a vehicle scenario that covers an area w pixels wide and h pixels high.
Check to see if the participant sits outside of the ScenarioBoundary.
Build and return a vehicle network that veers its vehicle toward a white light.
Return a basic yellow vehicle.