A B C D E G I J L M N P R S T V W

A

A - Static variable in class MotorView
 
addChild(RoadPoints) - Method in class RoadPoints
addChild - this method adds a child to the children vector
ALL - Static variable in class JavaRCX
All sensors dark.

B

B - Static variable in class MotorView
 
BreadthFirstSearcher - Class in <Unnamed>
BreadthFirstSearcher.java - a simple implementation of breadth-first search.
BreadthFirstSearcher() - Constructor for class BreadthFirstSearcher
 

C

C - Static variable in class MotorView
 
CENTER_ONLY - Static variable in class JavaRCX
Center sensor dark.
CENTER_RIGHT - Static variable in class JavaRCX
Center and right sensors dark.
chooseSpoke() - Static method in class IntersectionChooser
Given the value of SPOKE above and that the robot is at an intersection it will rotate to SPOKE and it thread safe from main, so no new calls to isIntersection() will be fired here.
chooseSpoke() - Static method in class MultipleIntersectionChooser
Given the index of SPOKES above and that the robot is at an intersection it will rotate to SPOKES[index] by counting black lines it crosses.
chooseSpoke() - Static method in class RCXIntersectionChooser
Given the value of SPOKE above and that the robot is at an intersection it will rotate to SPOKE and it thread safe from main, so no new calls to isIntersection() will be fired here.

D

DARK - Static variable in class JavaRCX
The level at which readings are considered black by the light sensor (<=DARK)
depth - Variable in class SearchNode
variable depth - search depth; 0 at the root search node; a child node has its parent node depth + 1.

E

expand() - Method in class RoadPoints
expand - method is used in the BreadthFirstSearcher to find the optimal path for the robot, it returns the children of the current road point
expand() - Method in class SearchNode
expand - return a (possibly empty) Vector of this node's children.

G

getGoalNode() - Method in class Searcher
getGoalNode - Returns a goal node if the previous search was successful, and null otherwise.
getIndex() - Method in class RoadPoints
getIndex - returns the index of the road point (this index is specified by the programmer in the Map class)
getNodeCount() - Method in class Searcher
getNodeCount - Returns the number of nodes examined (goal-checked) in the previous search.
getPath() - Method in class BreadthFirstSearcher
 

I

index - Static variable in class MultipleIntersectionChooser
The index of SPOKES that keeps track of which spoke is next
index - Static variable in class RCXIntersectionChooser
 
initialize() - Static method in class JavaRCX
Precondition: State must start at CENTER_ONLY.
IntersectionChooser - Class in <Unnamed>
IntersectionChooser.java Given a spoke number, the robot when determining it is at an intersection will turn left, rotate clockwise starting(inclusive)at 12:00 counting spokes and when it hits the nth spoke resume execution of intersection finder.
IntersectionChooser() - Constructor for class IntersectionChooser
 
isConnected(RoadPoints) - Method in class RoadPoints
isConnected - this method will return whether the current node is a parent of another node that is specified in the parameters of the method
isGoal() - Method in class RoadPoints
isGoal - returns a boolean value of whether this point is the goal or not
isGoal() - Method in class SearchNode
isGoal - test whether or not the current node is a goal node.
isIntersection(int) - Static method in class IntersectionChooser
Determines whether at an intersection or not.
isIntersection(int) - Static method in class MultipleIntersectionChooser
Determines whether at an intersection or not.
isIntersection(int) - Static method in class RCXIntersectionChooser
Determines whether at an intersection or not.

J

JavaRCX - Class in <Unnamed>
JavaRCX.java Contains basic methods and variables common to all robot objectives.
JavaRCX() - Constructor for class JavaRCX
 

L

L_ROTATION - Static variable in class JavaRCX
Counter variable used to estimate how far the robot should turn left when lost
LCDNumber - Class in <Unnamed>
 
LCDProgramNumber - Class in <Unnamed>
 
LCDSegment - Class in <Unnamed>
 
LEFT_CENTER - Static variable in class JavaRCX
Left and center sensors dark.
LEFT_ONLY - Static variable in class JavaRCX
Left sensor dark.
LEFT_RIGHT - Static variable in class JavaRCX
Left and right sensors dark.
lost() - Static method in class JavaRCX
When the state NONE occurs this method will scan to the left for L_ROTATION then scan farther to the right R_ROTATION.

M

main(String[]) - Static method in class IntersectionChooser
Runs forever taking appropriate motor actions for each state it is in.
main(String[]) - Static method in class Map
 
main(String[]) - Static method in class MultipleIntersectionChooser
Runs forever taking appropriate motor actions for each state it is in.
main(String[]) - Static method in class View
 
Map - Class in <Unnamed>
Map.java -- This program is for challenge #5 of the Robotics project.
Map() - Constructor for class Map
Map - The constructor initializes roadPts (a vector of all the points on the map) as well as ptsExplored (a vector that holds all the points that have been explored - this is used by the BreadthFirstSearcher).
motorBackward(int) - Static method in class LCDSegment
 
motorForward(int) - Static method in class LCDSegment
 
MotorView - Class in <Unnamed>
 
move(int[]) - Static method in class RCXIntersectionChooser
Runs forever taking appropriate motor actions for each state it is in.
MultipleIntersectionChooser - Class in <Unnamed>
MultipleIntersectionChooser.java Given: multiple intersections to choose from and an ordering of spoke numbers to take at successive intersections.
MultipleIntersectionChooser() - Constructor for class MultipleIntersectionChooser
 

N

NONE - Static variable in class JavaRCX
No sensors dark.

P

parent - Variable in class SearchNode
variable parent - parent search node; null if and only if node is the root of the search tree.
PortView - Class in <Unnamed>
 
PortView(boolean, int) - Constructor for class PortView
 
POWER - Static variable in class JavaRCX
Power level of the motors.
powerOff() - Static method in class JavaRCX
Exit program with 5 second delay.
prgmPressed() - Method in class MotorView
 
prgmPressed() - Method in class PortView
 
prgmPressed() - Method in class SensorView
 

R

R_ROTATION - Static variable in class JavaRCX
Counter variable used to estimate how far the robot should turn right when lost
RCXIntersectionChooser - Class in <Unnamed>
RCXIntersectionChooser.java Given a spoke number, the robot when determining it is at an intersection will turn left, rotate clockwise starting(inclusive)at 12:00 counting spokes and when it hits the nth spoke resume execution of intersection finder.
RCXIntersectionChooser() - Constructor for class RCXIntersectionChooser
 
RIGHT_ONLY - Static variable in class JavaRCX
Right sensor dark.
RoadPoints - Class in <Unnamed>
RoadPoints.java Created: Mon Nov 29 21:50:36 2004
RoadPoints(int) - Constructor for class RoadPoints
Creates a new RoadPoints instance.
runPressed() - Method in class MotorView
 
runPressed() - Method in class PortView
 
runPressed() - Method in class SensorView
 

S

S1 - Static variable in class SensorView
 
S2 - Static variable in class SensorView
 
S3 - Static variable in class SensorView
 
search(SearchNode) - Method in class BreadthFirstSearcher
 
search() - Method in class Map
search - method searches from the start node using a Breadth First Searcher and returns whether or not a path was found to the goal node
search(SearchNode) - Method in class Searcher
search - Search for a goal node starting at the given "root" SearchNode, and return whether or not a goal node was found.
Searcher - Class in <Unnamed>
Searcher.java - a superclass for AI searcher classes.
Searcher() - Constructor for class Searcher
 
SearchNode - Class in <Unnamed>
SearchNode.java - a simple node for uninformed AI search (assuming cost equals depth).
SearchNode() - Constructor for class SearchNode
Creates an SearchNode instance and sets it to an initial search state.
sensorActive(int) - Static method in class LCDSegment
 
SensorView - Class in <Unnamed>
 
set(int, int, boolean) - Static method in class LCDNumber
 
set(int) - Static method in class LCDProgramNumber
 
setGoal(int) - Method in class Map
setGoal - method sets a RoadPoint to start
setGoal() - Method in class RoadPoints
setGoal - will change the isGoal boolean from false to true, making it the goal for the robot
setStart(int) - Method in class Map
setStart - this method sets the start of the path for the robot
showCursor() - Method in class PortView
 
showPort() - Method in class MotorView
 
showPort() - Method in class PortView
 
showPort() - Method in class SensorView
 
showValues() - Method in class MotorView
 
showValues() - Method in class PortView
 
showValues() - Method in class SensorView
 
shutdown() - Method in class MotorView
 
shutdown() - Method in class PortView
 
shutdown() - Method in class SensorView
 
SPOKE - Static variable in class IntersectionChooser
Which spoke to take when getting to an intersection.
SPOKE - Static variable in class RCXIntersectionChooser
Which spoke to take when getting to an intersection.
SPOKES - Static variable in class MultipleIntersectionChooser
The order of spokes to take as robot comes to different intersections.
spokes - Static variable in class RCXIntersectionChooser
 
state - Static variable in class JavaRCX
Which state the sensors of the robot are in - possible values are constants below.

T

toString() - Method in class RoadPoints
toString - returns a string representation of the road point.
traverse() - Method in class Map
traverse - method that actually creates the path the robot will take on the map.

V

view(boolean, int) - Static method in class LCDSegment
 
View - Class in <Unnamed>
This program can be used to test each sensor and motor independently.
View() - Constructor for class View
 

W

watcher - Static variable in class JavaRCX
A separate background thread that reads values from the light sensors and updates the state variable.

A B C D E G I J L M N P R S T V W