Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
I
J
L
M
N
O
P
R
S
T
U
V
X
Y
A
add(double)
- Method in class jbotrace.base.
Vec
add(double, double)
- Method in class jbotrace.base.
Vec
add(Vec)
- Method in class jbotrace.base.
Vec
addSegment(Segment)
- Method in class jbotrace.base.
Track
Adds a part to the track
B
BASEMASS
- Static variable in class jbotrace.base.
Car
The weight of the car without fuel
BasicDriver
- class jbotrace.drivers.
BasicDriver
.
Description:
BasicDriver()
- Constructor for class jbotrace.drivers.
BasicDriver
C
Car
- class jbotrace.base.
Car
.
Description: This class represents the standard racecode-car.
Car()
- Constructor for class jbotrace.base.
Car
Constructs a new car with all values set to zero.
carAhead()
- Method in class jbotrace.base.
DriverInformation
carLeft()
- Method in class jbotrace.base.
DriverInformation
carRight()
- Method in class jbotrace.base.
DriverInformation
changeSteering(double)
- Method in class jbotrace.base.
Car
Changes the angle of the frontwheels.
CompilingClassLoader
- class jbotrace.base.
CompilingClassLoader
.
Description: A classloader that compiles java files to classes before loading them.
CompilingClassLoader()
- Constructor for class jbotrace.base.
CompilingClassLoader
Control
- class jbotrace.gui.
Control
.
Description:
Control()
- Constructor for class jbotrace.gui.
Control
Initialises the control for the gui and the gui itself
Curve
- class jbotrace.base.
Curve
.
Description: Curve is a subclass of part and descriptes a curve in the track.
CURVE
- Static variable in class jbotrace.base.
Segment
Curve(Vec, double, double, double, double, double)
- Constructor for class jbotrace.base.
Curve
Construcst a new curce with the given parameters.
D
DELTAT
- Static variable in class jbotrace.base.
Car
distanceTo(Vec)
- Method in class jbotrace.base.
Vec
distanceToPoint(Vec)
- Method in class jbotrace.base.
Line
div(double)
- Method in class jbotrace.base.
Vec
dotProd(Vec)
- Method in class jbotrace.base.
Vec
Driver
- class jbotrace.base.
Driver
.
Description: This interface describes the functions for a driver class.
Driver()
- Constructor for class jbotrace.base.
Driver
DriverCommand
- class jbotrace.base.
DriverCommand
.
Description: DriverCommand holds the commands a driver can give in one timestep.
DriverCommand()
- Constructor for class jbotrace.base.
DriverCommand
Creates a new "empty" DriverCommand
driverInformation
- Variable in class jbotrace.base.
Driver
DriverInformation
- class jbotrace.base.
DriverInformation
.
Description: An instance of this class is given to each bot to inform it about the current situation.
DriverInformation(Race, Car)
- Constructor for class jbotrace.base.
DriverInformation
F
FantasticDriver
- class jbotrace.drivers.
FantasticDriver
.
Description:
FantasticDriver()
- Constructor for class jbotrace.drivers.
FantasticDriver
G
getAcceleration()
- Method in class jbotrace.base.
Car
Returns the currently set acceleration.
getAngle()
- Method in class jbotrace.base.
Car
Returns the orientation of the car
getAuthor()
- Method in class jbotrace.base.
Driver
Returns the author of the driver
getBestLapTime()
- Method in class jbotrace.base.
Car
Returns bestLapTime: The time of the best lap the car drove
getBoundingBox()
- Method in class jbotrace.base.
Track
Returns a box bounding the whole track
getBoundingBox()
- Method in class jbotrace.base.
Straight
Returns the upper left and lower right corners of a bow bounding the segment
getBoundingBox()
- Method in class jbotrace.base.
Segment
getBoundingBox()
- Method in class jbotrace.base.
Curve
Returns the box bounding of the segment
getBrake()
- Method in class jbotrace.base.
DriverCommand
Returns the current acceleration in this command
getCarList()
- Method in class jbotrace.base.
Race
Returns the list of cars running in the race.
getCarNumber()
- Method in class jbotrace.base.
Race
Returns the number of cars in this race
getCenter()
- Method in class jbotrace.base.
Curve
Returns the center of the curve
getCorners()
- Method in class jbotrace.base.
Straight
Returns the four edges of the quad.
getCurrentLap()
- Method in class jbotrace.base.
Car
Returns the current lap
getDir()
- Method in class jbotrace.base.
Vec
getDirection()
- Method in class jbotrace.base.
Straight
Returns the direction of the straight
getDirection()
- Method in class jbotrace.base.
Line
getDisplayUpdater()
- Method in class jbotrace.base.
Race
Returns the DisplayUpdater.
getDistanceFromStart(int, Vec)
- Method in class jbotrace.base.
Track
Returns the distance of the given point from the start line.
getDistanceToEnd(Vec)
- Method in class jbotrace.base.
Straight
Returns the distance to the end of the straight from the given position
getDistanceToEnd(Vec)
- Method in class jbotrace.base.
Segment
getDistanceToEnd(Vec)
- Method in class jbotrace.base.
Curve
Returns the distance to the end of the curve from the given position
getDistanceToLeft(Vec)
- Method in class jbotrace.base.
Straight
Returns the distance to the left side of the straight at the given position
getDistanceToLeft(Vec)
- Method in class jbotrace.base.
Segment
getDistanceToLeft(Vec)
- Method in class jbotrace.base.
Curve
Returns the distance to the left side of the curve at the given position
getDistanceToMiddle(Vec)
- Method in class jbotrace.base.
Straight
Returns the distance to the middle of the track
getDistanceToMiddle(Vec)
- Method in class jbotrace.base.
Segment
getDistanceToMiddle(Vec)
- Method in class jbotrace.base.
Curve
Returns the distance to the middle of the curve
getDistanceToRight(Vec)
- Method in class jbotrace.base.
Straight
Returns the distance to the right side of the straight at the given position
getDistanceToRight(Vec)
- Method in class jbotrace.base.
Segment
getDistanceToRight(Vec)
- Method in class jbotrace.base.
Curve
Returns the distance to the right side of the curve at the given position
getDistanceToSide(Vec)
- Method in class jbotrace.base.
Straight
Returns the distance of the given point to the side of the track or the maximum value for double, if the point is not beside the straight
getDistanceToSide(Vec)
- Method in class jbotrace.base.
Segment
getDistanceToSide(Vec)
- Method in class jbotrace.base.
Curve
Returns the distance of the given point to the side of the curve or the maximum value for double, if the point is not beside the curve
getDriver()
- Method in class jbotrace.base.
Car
Return the driver of the car
getDriverCommand()
- Method in class jbotrace.base.
Driver
Returns the commands the driver gives in the current situation.
getDriverCommand()
- Method in class jbotrace.drivers.
FantasticDriver
getDriverCommand()
- Method in class jbotrace.drivers.
BasicDriver
getEndAng()
- Method in class jbotrace.base.
Curve
Returns the angle at the end of the curve
getEndWidth()
- Method in class jbotrace.base.
Straight
Returns the width at the end of the track part.
getEndWidth()
- Method in class jbotrace.base.
SegmentInformation
getEndWidth()
- Method in class jbotrace.base.
Segment
getEndWidth()
- Method in class jbotrace.base.
Curve
Returns the width at the end of the curve
getFinishLine()
- Method in class jbotrace.base.
Track
Returns the finish line
getGraphicsDirectory()
- Method in class jbotrace.gui.
Control
Returns graphics directory
getHeight()
- Method in class jbotrace.base.
Track
Returns the height of the track calculate from boundingBox
getLastLapTime()
- Method in class jbotrace.base.
Car
Returns the time of the last lap
getLength()
- Method in class jbotrace.base.
Vec
getLength()
- Method in class jbotrace.base.
Track
Returns the length of the track
getLength()
- Method in class jbotrace.base.
Straight
Returns the length of the straight
getLength()
- Method in class jbotrace.base.
SegmentInformation
getLength()
- Method in class jbotrace.base.
Segment
getLength()
- Method in class jbotrace.base.
Line
getLength()
- Method in class jbotrace.base.
Curve
Calculates and returns the length of the curve
getLength(int, int)
- Method in class jbotrace.base.
Track
Returns the length of the given range of segments
getMass()
- Method in class jbotrace.base.
Car
Returns the current mass of the car
getMiddle()
- Method in class jbotrace.base.
Straight
Returns the middle of the part
getMiddle()
- Method in class jbotrace.base.
Segment
getMiddle()
- Method in class jbotrace.base.
Curve
Returns the middle of the represented part of the track.
getName()
- Method in class jbotrace.base.
Driver
Returns the name of the driver
getNewRaceUpdater()
- Method in class jbotrace.base.
Race
Returns the newRaceUpdater.
getPoints()
- Method in class jbotrace.base.
Straight
Returns the array of points that build the straight
getPoints()
- Method in class jbotrace.base.
Line
getPosition()
- Method in class jbotrace.base.
Car
Returns the Vec of the current position of the car.
getPositionList()
- Method in class jbotrace.base.
Race
Returns the list with the cars in the current race order
getRace()
- Method in class jbotrace.gui.
Control
Returns the current race.
getRadius()
- Method in class jbotrace.base.
Straight
This it a straight, we return 0.
getRadius()
- Method in class jbotrace.base.
SegmentInformation
getRadius()
- Method in class jbotrace.base.
Segment
getRadius()
- Method in class jbotrace.base.
Curve
Returns the radius of the curve
getSegment(int)
- Method in class jbotrace.base.
Track
Returns the segment specified by the number
getSegmentList()
- Method in class jbotrace.base.
Track
Returns the list of segments
getSegmentNextTo(Vec)
- Method in class jbotrace.base.
Track
Returns the segment next to the given position
getSegmentNumNextTo(Vec)
- Method in class jbotrace.base.
Track
Returns the number of the nearest segment to the given position
getStartAng()
- Method in class jbotrace.base.
Curve
Returns the angle at the beginning of the curve
getStartWidth()
- Method in class jbotrace.base.
Straight
Returns the width at the start of the track part
getStartWidth()
- Method in class jbotrace.base.
SegmentInformation
getStartWidth()
- Method in class jbotrace.base.
Segment
getStartWidth()
- Method in class jbotrace.base.
Curve
Returns the width at the beginning of the curve
getStatisticsUpdater()
- Method in class jbotrace.base.
Race
Returns the StatisticsUpdater.
getSteeringAngle()
- Method in class jbotrace.base.
DriverCommand
Returns the current wanted steering angle.
getSteeringAngle()
- Method in class jbotrace.base.
Car
Returns the angle between front wheels and car direction.
getThrottle()
- Method in class jbotrace.base.
DriverCommand
Returns the current acceleration in this command
getTime()
- Method in class jbotrace.base.
Race
Return the current race time
getTimeTo(Car)
- Method in class jbotrace.base.
Car
Returns the time distance in ms to the given Car
getTrack()
- Method in class jbotrace.base.
Race
Returns the track of the race.
getTrackPanel()
- Method in class jbotrace.gui.
TrackFrame
Returns the TrackPanel.
getType()
- Method in class jbotrace.base.
Straight
Returns the type number of the segment.
getType()
- Method in class jbotrace.base.
SegmentInformation
getType()
- Method in class jbotrace.base.
Segment
getType()
- Method in class jbotrace.base.
Curve
Returns the type number of the segment.
getVector()
- Method in class jbotrace.base.
Straight
Returns a vector in the direction and with the lenght of the straight.
getVelocity()
- Method in class jbotrace.base.
Car
Returns the speed of the car in its last move.
getWeight()
- Method in class jbotrace.base.
Car
Returns the current weight of the car
getWeightOnWheel(int)
- Method in class jbotrace.base.
Car
Returns the weight on the given wheel during the last calculation step
getWheelAngle(int)
- Method in class jbotrace.base.
Car
Returns the "absolute" angle of a specified wheel.
getWheelPosition(int)
- Method in class jbotrace.base.
Car
Returns the absolute position of a specified wheel
getWidth()
- Method in class jbotrace.base.
Track
Returns the width of the track calculate from boundingBox
getWidth(Vec)
- Method in class jbotrace.base.
Straight
Return the width of the curve at the given position
getWidth(Vec)
- Method in class jbotrace.base.
Curve
Return the width of the curve at the given position
I
importRarsTrack(File)
- Static method in class jbotrace.base.
Util
isAhead(Car)
- Method in class jbotrace.base.
Car
Returns true, if the car is ahead the other car.
isOnSegment(Vec)
- Method in class jbotrace.base.
Straight
Returns true if the given position is on the part and false otherwise.
isOnSegment(Vec)
- Method in class jbotrace.base.
Segment
isOnSegment(Vec)
- Method in class jbotrace.base.
Curve
Returns true of the given position is on the part and false otherwise.
isOnSegment(Vec, int)
- Method in class jbotrace.base.
Track
Returns true if the given position is on the specified segment
isOnTrack(Vec)
- Method in class jbotrace.base.
Track
Returns true if the given position is on a part of the track and false otherwise.
J
jbotrace.base
- package jbotrace.base
jbotrace.drivers
- package jbotrace.drivers
jbotrace.gui
- package jbotrace.gui
L
Line
- class jbotrace.base.
Line
.
Description: Line provides functions to handle lines.
Line()
- Constructor for class jbotrace.base.
Line
Line(Vec[])
- Constructor for class jbotrace.base.
Line
Line(Vec, Vec)
- Constructor for class jbotrace.base.
Line
loadClass(File)
- Method in class jbotrace.base.
SimpleClassLoader
loadClass(File)
- Method in class jbotrace.base.
CompilingClassLoader
loadDriver()
- Method in class jbotrace.gui.
Control
Shows a filechooser and tries to load the selected driver from a class or java file.
loadDriver(File)
- Static method in class jbotrace.base.
Util
Tries to load a driver from a give java or class file.
M
MainFrame
- class jbotrace.gui.
MainFrame
.
Description:
MainFrame(Control)
- Constructor for class jbotrace.gui.
MainFrame
makeTimeString(int, boolean)
- Static method in class jbotrace.base.
Util
MAXSTEERINGANGLE
- Static variable in class jbotrace.base.
Car
The maximum angle, that the frontwheels can be turned to either side.
MAXSTEERINGCHANGE
- Static variable in class jbotrace.base.
Car
The maximum amount that the steeringangle can change in one timestep
move()
- Method in class jbotrace.base.
Car
This method moves the car for one timestep.
move(Vec)
- Method in class jbotrace.base.
Straight
Moves the segment
move(Vec)
- Method in class jbotrace.base.
Curve
Moves the segment
moveToOrigin()
- Method in class jbotrace.base.
Track
Moves the track to let the boundingBox begin in 0, 0
mul(double)
- Method in class jbotrace.base.
Vec
N
newRace(Track, List, int)
- Method in class jbotrace.base.
Race
Resets the race.
O
openTrack()
- Method in class jbotrace.gui.
Control
Shows a filechooser and tries to open the selected track
P
partInDir(double)
- Method in class jbotrace.base.
Vec
pointIsBeside(Vec)
- Method in class jbotrace.base.
Line
R
Race
- class jbotrace.base.
Race
.
Description: Contains the information for a race.
Race()
- Constructor for class jbotrace.base.
Race
Constructs a new race.
Race(Track, List, int)
- Constructor for class jbotrace.base.
Race
Contructs a new race.
RaceOverviewFrame
- class jbotrace.gui.
RaceOverviewFrame
.
Description: Shows statistical information about the current race.
RaceOverviewFrame(Control)
- Constructor for class jbotrace.gui.
RaceOverviewFrame
run()
- Method in class jbotrace.base.
Race
The implementation of Runnable.
run()
- Method in class jbotrace.gui.
TrackFrame
Implementation of runnable.
S
Segment
- class jbotrace.base.
Segment
.
Description: Interface for the description of track segments.
SegmentInformation
- class jbotrace.base.
SegmentInformation
.
Description: Provides the information a driver can get about a segment.
SegmentInformation(Segment)
- Constructor for class jbotrace.base.
SegmentInformation
segmentInformations
- Variable in class jbotrace.base.
DriverInformation
SEGMENTS
- Static variable in class jbotrace.base.
DriverInformation
set(double, double)
- Method in class jbotrace.base.
Vec
set(Vec)
- Method in class jbotrace.base.
Vec
setAuthor(String)
- Method in class jbotrace.base.
Driver
Sets the name of the drivers' author
setBrake(double)
- Method in class jbotrace.base.
DriverCommand
Sets the brake
setBrake(double)
- Method in class jbotrace.base.
Car
Sets the brake as factor
setCarsToStart()
- Method in class jbotrace.base.
Race
Set cars to start positions.
setDriver(Driver)
- Method in class jbotrace.base.
Car
Sets the driver that is asked for instructions.
setDriverInformation(DriverInformation)
- Method in class jbotrace.base.
Driver
Sets driverInformation
setFinishFraction(double)
- Method in class jbotrace.base.
Track
Sets the fraction of 1st segment to finish line
setLength(double)
- Method in class jbotrace.base.
Vec
setName(String)
- Method in class jbotrace.base.
Driver
Sets the drivers' name
setPosition(Vec)
- Method in class jbotrace.base.
Car
Sets the position of the car
setRace(Race)
- Method in class jbotrace.base.
Car
Sets the race in which the car drives.
setRace(Race)
- Method in class jbotrace.gui.
Control
Sets the current race.
setRefreshTime(long)
- Method in class jbotrace.gui.
TrackFrame
Sets the minimum time between two automatic repaints.
setSteeringAngle(double)
- Method in class jbotrace.base.
DriverCommand
Sets the wanted(!)
setSteeringAngle(double)
- Method in class jbotrace.base.
Car
Sets the angle between the direction of the car and the front wheels.
setThrottle(double)
- Method in class jbotrace.base.
DriverCommand
Sets the throttle
setThrottle(double)
- Method in class jbotrace.base.
Car
Sets the throttle as factor
setTrack(Track)
- Method in class jbotrace.base.
Race
Sets the track.
setX(double)
- Method in class jbotrace.base.
Vec
setY(double)
- Method in class jbotrace.base.
Vec
showNewRaceFrame()
- Method in class jbotrace.gui.
Control
Shows the frame to configure a new race
SimpleClassLoader
- class jbotrace.base.
SimpleClassLoader
.
Description: A classloader that compiles java files to classes before loading them.
SimpleClassLoader()
- Constructor for class jbotrace.base.
SimpleClassLoader
startRace()
- Method in class jbotrace.gui.
Control
Starts the current race
startRaceThread()
- Method in class jbotrace.base.
Race
Start race thread.
stopRace()
- Method in class jbotrace.gui.
Control
Stops the current race
stopRaceThread()
- Method in class jbotrace.base.
Race
Stop race thread.
Straight
- class jbotrace.base.
Straight
.
Description: Represent a straight in the track.
STRAIGHT
- Static variable in class jbotrace.base.
Segment
Straight(Line, double, double)
- Constructor for class jbotrace.base.
Straight
Creates a new straight with the given points: 0 and 1 build the first line, 2 and 3 the second.
sub(double)
- Method in class jbotrace.base.
Vec
sub(double, double)
- Method in class jbotrace.base.
Vec
sub(Vec)
- Method in class jbotrace.base.
Vec
T
toEnd()
- Method in class jbotrace.base.
DriverInformation
toLeft()
- Method in class jbotrace.base.
DriverInformation
toMiddle()
- Method in class jbotrace.base.
DriverInformation
toRight()
- Method in class jbotrace.base.
DriverInformation
toString()
- Method in class jbotrace.base.
Vec
toString()
- Method in class jbotrace.base.
Driver
Default toString-Method
Track
- class jbotrace.base.
Track
.
Description: Track contains the information about a track and it's parts.
Track()
- Constructor for class jbotrace.base.
Track
Build a new track with empty lists for cars and parts
TrackFrame
- class jbotrace.gui.
TrackFrame
.
Description: The frame showing the track.
TrackFrame(Control)
- Constructor for class jbotrace.gui.
TrackFrame
U
update(Object)
- Method in class jbotrace.gui.
TrackFrame
Implementation of the UpdateListener.
update(Object)
- Method in class jbotrace.gui.
RaceOverviewFrame
Updates the information in the frame (repaint :-).
Util
- class jbotrace.base.
Util
.
Description:
Util()
- Constructor for class jbotrace.base.
Util
V
Vec
- class jbotrace.base.
Vec
.
Description: Stores a vector and provides lots of funtions for handling vectors.
Vec()
- Constructor for class jbotrace.base.
Vec
Vec(double, double)
- Constructor for class jbotrace.base.
Vec
Vec(Vec)
- Constructor for class jbotrace.base.
Vec
velocity()
- Method in class jbotrace.base.
DriverInformation
Returns the velocity of the car
X
x()
- Method in class jbotrace.base.
Vec
Y
y()
- Method in class jbotrace.base.
Vec
A
B
C
D
F
G
I
J
L
M
N
O
P
R
S
T
U
V
X
Y
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes