A B C D E F G H I K L M N O P Q R S T U V W Z

A

addBehavior(RobocupBehavior) - Method in class betir.Player
Adds a behavior to the player
angleToAngle(int) - Method in class betir.RobocupBehavior
 
angleToPoint(int, int) - Method in class betir.RobocupBehavior
 
Attacker - class betir.Attacker.
This class creates the attacker player class.
audio_cut_dist - Variable in class betir.ConfigurationData
Furthest distance a player can hear from

B

ball_decay - Variable in class betir.ConfigurationData
The rate at which the ball slows down
ball_rand - Variable in class betir.ConfigurationData
Randomness of the ball's movement
ball_size - Variable in class betir.ConfigurationData
The ball's radius
ball_speed_max - Variable in class betir.ConfigurationData
The ball's maximum speed
ball_weight - Variable in class betir.ConfigurationData
Used along with wind factor
boot - class betir.boot.
This is the main class that starts the client which creates the soccer players.
boot() - Constructor for class betir.boot
 

C

CalcAbsolute() - Method in class betir.RobocupEnvironment
 
canFire() - Method in class betir.CornerKickBehavior
 
canFire() - Method in class betir.GoalieReturnToZoneBehavior
 
canFire() - Method in class betir.GoalieUpDownBehavior
 
canFire() - Method in class betir.KiddySoccerBehavior
 
canFire() - Method in class betir.PassBehavior
 
canFire() - Method in class betir.ReturnToZoneBehavior
 
canFire() - Method in class betir.RobocupBehavior
Determines if a behavior can fire or not
canFire() - Method in class betir.ShootGoalBehavior
 
canFire() - Method in class betir.StartBehavior
 
canFire() - Method in class betir.StayPutBehavior
 
canFire() - Method in class betir.TauntBehavior
 
catch_ban_cycle - Variable in class betir.ConfigurationData
After catching a ball, the number of cycles the Goalie is banned from catching again
catch_probability - Variable in class betir.ConfigurationData
Goalie's probability of catching a ball
catchable_area_l - Variable in class betir.ConfigurationData
Length of Goalie's catchable area
catchable_area_w - Variable in class betir.ConfigurationData
Width of Goalie's catchable area
catchBall(int) - Method in class betir.RobocupBehavior
Sends a catch command to the server
changeView(String, String) - Method in class betir.RobocupBehavior
 
ckick_margin - Variable in class betir.ConfigurationData
The margin for the corner kick
CommandLineUtil - class betir.CommandLineUtil.
 
CommandLineUtil() - Constructor for class betir.CommandLineUtil
 
ConfigurationData - class betir.ConfigurationData.
Holds copies of the data used to initialize the soccer server.
ConfigurationData(String) - Constructor for class betir.ConfigurationData
Creates a new ConfigurationData object from the information contained in the file configFile.
CornerKickBehavior - class betir.CornerKickBehavior.
This class is used by all players to kick the ball towards the middle of the field when the player is in one of the corners, and can not get a good shot at the goal.
CornerKickBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.CornerKickBehavior
 
Cos(int) - Static method in class betir.QuickIntMath
 

D

dash_power_rate - Variable in class betir.ConfigurationData
Factor the dash power in the dash command is multiplied by
dash(float) - Method in class betir.RobocupBehavior
Sends a dash command to the server
dashToBall() - Method in class betir.RobocupBehavior
Dashes to the ball.
dashToPoint(int, int) - Method in class betir.RobocupBehavior
 
DatagramWrapper - class betir.DatagramWrapper.
Wraps up the Datagram server communications at a higher level.
DatagramWrapper(String, int, int, PrintWriter) - Constructor for class betir.DatagramWrapper
Opens a Datagram socket with the specified host, port, and buffer size.
debug() - Method in class betir.RobocupEnvironment
prints out info useful for debuging

E

effort_inc - Variable in class betir.ConfigurationData
Amount by which the player's effort capacity is incremented
effort_inc_thr - Variable in class betir.ConfigurationData
Threshold for the player's effort capacity increment
effort_min - Variable in class betir.ConfigurationData
Minimum for the player's effort capacity
equals(PlayerInfo) - Method in class betir.PlayerInfo
 
extrapolateNext(float) - Method in class betir.TwoDVec
use this to extrapolate to the next point

F

finalize() - Method in class betir.DatagramWrapper
Closes the network socket and log file if it exists.
findInterceptBall(int) - Method in class betir.RobocupBehavior
 
fire() - Method in class betir.CornerKickBehavior
 
fire() - Method in class betir.GoalieReturnToZoneBehavior
 
fire() - Method in class betir.GoalieUpDownBehavior
 
fire() - Method in class betir.KiddySoccerBehavior
 
fire() - Method in class betir.PassBehavior
 
fire() - Method in class betir.ReturnToZoneBehavior
 
fire() - Method in class betir.RobocupBehavior
Execute the behavior
fire() - Method in class betir.ShootGoalBehavior
 
fire() - Method in class betir.StartBehavior
 
fire() - Method in class betir.StayPutBehavior
 
fire() - Method in class betir.TauntBehavior
 

G

getAbsolutePos(ObjectInfo) - Method in class betir.RobocupEnvironment
 
getAngle() - Method in class betir.ObjectInfo
 
getAngle() - Method in class betir.TwoDVec
 
getAngleChng() - Method in class betir.ObjectInfo
 
getBodyAngle() - Method in class betir.PlayerInfo
 
getDashCount() - Method in class betir.SelfInfo
 
getDistance() - Method in class betir.ObjectInfo
 
getDistance(TwoDVec) - Method in class betir.TwoDVec
 
getDistChng() - Method in class betir.ObjectInfo
 
getEffort() - Method in class betir.SelfInfo
 
getHeadAngle() - Method in class betir.PlayerInfo
 
getHeadAngle() - Method in class betir.SelfInfo
 
getIsValid() - Method in class betir.ObjectInfo
 
getKickCount() - Method in class betir.SelfInfo
 
getMagnitude() - Method in class betir.TwoDVec
 
getName() - Method in class betir.ObjectInfo
 
getSayCount() - Method in class betir.SelfInfo
 
getSide() - Method in class betir.SelfInfo
 
getSpeed() - Method in class betir.SelfInfo
 
getStamina() - Method in class betir.SelfInfo
 
getTeam() - Method in class betir.PlayerInfo
 
getTimeStamp() - Method in class betir.ObjectInfo
 
getTurnCount() - Method in class betir.SelfInfo
 
getTurnNeckCount() - Method in class betir.SelfInfo
 
getUniformNumber() - Method in class betir.PlayerInfo
 
getViewQuality() - Method in class betir.SelfInfo
 
getViewWidth() - Method in class betir.SelfInfo
 
getX() - Method in class betir.TwoDVec
 
getY() - Method in class betir.TwoDVec
 
getZoneDist() - Method in class betir.RobocupBehavior
 
goal_width - Variable in class betir.ConfigurationData
The width of the goal
Goalie - class betir.Goalie.
This class creates the goalie.
GoalieReturnToZoneBehavior - class betir.GoalieReturnToZoneBehavior.
This behavior brings the goalie back to the goal when he wanders too far away.
GoalieReturnToZoneBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.GoalieReturnToZoneBehavior
 
GoalieUpDownBehavior - class betir.GoalieUpDownBehavior.
This behavior moves the goalie up and down in front of the goal so that he can be in a position to catch shots.
GoalieUpDownBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.GoalieUpDownBehavior
 

H

hasChanged() - Method in class betir.ObjectInfo
 
hear_decay - Variable in class betir.ConfigurationData
Player's hearing capacity decay rate
hear_inc - Variable in class betir.ConfigurationData
Player's minimum hearing capacity
hear_max - Variable in class betir.ConfigurationData
Player's maximum hearing capacity

I

inertia_moment - Variable in class betir.ConfigurationData
Moment of inertia for a player
inhibits(RobocupBehavior) - Method in class betir.CornerKickBehavior
 
inhibits(RobocupBehavior) - Method in class betir.GoalieReturnToZoneBehavior
 
inhibits(RobocupBehavior) - Method in class betir.GoalieUpDownBehavior
 
inhibits(RobocupBehavior) - Method in class betir.KiddySoccerBehavior
 
inhibits(RobocupBehavior) - Method in class betir.PassBehavior
 
inhibits(RobocupBehavior) - Method in class betir.ReturnToZoneBehavior
 
inhibits(RobocupBehavior) - Method in class betir.RobocupBehavior
Determines if this behavior inhibits another behavior
inhibits(RobocupBehavior) - Method in class betir.ShootGoalBehavior
 
inhibits(RobocupBehavior) - Method in class betir.StartBehavior
 
inhibits(RobocupBehavior) - Method in class betir.StayPutBehavior
 
inhibits(RobocupBehavior) - Method in class betir.TauntBehavior
 

K

kick_power_rate - Variable in class betir.ConfigurationData
Factor the power in the kick command is multiplied by
kick(float, int) - Method in class betir.RobocupBehavior
Sends a kick message to the soccer server
kickable_area - Variable in class betir.ConfigurationData
The area within which the ball is kickable
kickable_margin - Variable in class betir.ConfigurationData
Used to determine the ball's kickable area
KiddySoccerBehavior - class betir.KiddySoccerBehavior.
This is the most basic behavior that simply finds and runs towards the ball, and then kicks it to the goal.
KiddySoccerBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.KiddySoccerBehavior
 

L

LocateParameter(String[], String, String) - Static method in class betir.CommandLineUtil
Searches command line arguments for an entry that starts with the prefix string.

M

m_aobjEnemies - Variable in class betir.RobocupEnvironment
 
m_aobjFlags - Variable in class betir.RobocupEnvironment
 
m_aobjFriends - Variable in class betir.RobocupEnvironment
 
m_aobjLines - Variable in class betir.RobocupEnvironment
 
m_aYells - Variable in class betir.RobocupEnvironment
 
m_bAbsAngle - Variable in class betir.RobocupEnvironment
a lock used for certain things when accuarcy is important, only set to true when new data is recieved from soccer server and is set to false when a player turns or dashes
m_bHasBall - Variable in class betir.RobocupEnvironment
 
m_bLastWasTurn - Variable in class betir.RobocupBehavior
 
m_cfgData - Static variable in class betir.RobocupEnvironment
 
m_fDistance - Variable in class betir.ObjectInfo
The distance from our player to the object
m_hashStatic - Variable in class betir.RobocupEnvironment
the flags
m_nAngle - Variable in class betir.ObjectInfo
The angle from our player to the object
m_nCurrentTime - Variable in class betir.RobocupEnvironment
 
m_nTimeStamp - Variable in class betir.ObjectInfo
The time the object was seen
m_nZone - Variable in class betir.RobocupEnvironment
 
m_objBall - Variable in class betir.RobocupEnvironment
 
m_objGoal - Variable in class betir.RobocupEnvironment
 
m_objSelf - Variable in class betir.RobocupEnvironment
 
m_Player - Variable in class betir.RobocupEnvironment
a reference to self to allow the adding of behaviors at any time
m_strPlayMode - Variable in class betir.RobocupEnvironment
 
m_vecPosition - Variable in class betir.RobocupEnvironment
position of self
m_vecStart - Variable in class betir.Player
The start position of the player
m_vecZone - Variable in class betir.Player
The zone position of the player
main(String[]) - Static method in class betir.boot
 
maxmoment - Variable in class betir.ConfigurationData
The maximum turn and kick angles
maxpower - Variable in class betir.ConfigurationData
The maximum power the player can use for dash and kick commands
minmoment - Variable in class betir.ConfigurationData
The minimum turn and kick angles
minpower - Variable in class betir.ConfigurationData
The minimum power the player can use for dash and kick commands
move(int, int) - Method in class betir.RobocupBehavior
Sends a move message to the soccer server

N

NeuralNet - class betir.NeuralNet.
 
NeuralNet() - Constructor for class betir.NeuralNet
 

O

ObjectInfo - class betir.ObjectInfo.
This is a container class for objects that robocup sees.
ObjectInfo() - Constructor for class betir.ObjectInfo
 
ObjectInfo(String, int) - Constructor for class betir.ObjectInfo
 
ObjectInfo(String, int, float, int, float, int) - Constructor for class betir.ObjectInfo
 

P

parse(String) - Method in class betir.RobocupEnvironment
parse the data recieved from the robocup server.
parse(String) - Method in class betir.SelfInfo
 
ParseConfigFile(String, NeuralNet.BoolObj[], NeuralNet.BoolObj[]) - Method in class betir.NeuralNet
 
PassBehavior - class betir.PassBehavior.
This behavior passes the ball to an open teammate that is upfield.
PassBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.PassBehavior
 
Player - class betir.Player.
This is the base class that runs each player and decides which behavior will fire.
player_decay - Variable in class betir.ConfigurationData
The rate at which the player slows down
player_rand - Variable in class betir.ConfigurationData
The randomness added to the players moves and turns
player_size - Variable in class betir.ConfigurationData
The player's radius
player_speed_max - Variable in class betir.ConfigurationData
Maximum player speed
player_weight - Variable in class betir.ConfigurationData
Used along with the wind factor
Player(RobocupEnvironment, DatagramWrapper, int, int) - Constructor for class betir.Player
The Constructor initializes the zone and playernumber and starts the player thread
PlayerInfo - class betir.PlayerInfo.
Container class that holds all of the player info.
PlayerInfo(String, int, int) - Constructor for class betir.PlayerInfo
 
println(String) - Method in class betir.DatagramWrapper
Allows classes with access to the DatagramWrapper to print debugging messages to the logfile.
Propagate() - Method in class betir.NeuralNet
 

Q

quantize_step - Variable in class betir.ConfigurationData
The step by which values for dynamic objects are quantized (rounded)
quantize_step_l - Variable in class betir.ConfigurationData
The step by which values for landmarks are quantized
QuickIntMath - class betir.QuickIntMath.
This is a utility class that has fast integer math functions.
QuickIntMath() - Constructor for class betir.QuickIntMath
 

R

receive() - Method in class betir.DatagramWrapper
Waits forever and receives a message from the server.
receive(long) - Method in class betir.DatagramWrapper
Waits some time and receives a message from the server.
recover_dec - Variable in class betir.ConfigurationData
Step by which the player's recovery decreases
recover_dec_thr - Variable in class betir.ConfigurationData
Threshold for the decrement of the player's recover
recover_min - Variable in class betir.ConfigurationData
The player's minimum recovery
recv_step - Variable in class betir.ConfigurationData
The time length of the server's polling sockets
removeBehavior(RobocupBehavior) - Method in class betir.Player
Removes a behavior from the player
ReturnToZoneBehavior - class betir.ReturnToZoneBehavior.
This behavior returns the player to his zone.
ReturnToZoneBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.ReturnToZoneBehavior
 
RobocupBehavior - class betir.RobocupBehavior.
This is the main behavior class.
RobocupBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.RobocupBehavior
 
RobocupEnvironment - class betir.RobocupEnvironment.
This is the class that keeps track of the position of the player and all that he sees, and calculates the absolute position of all objects.
RobocupEnvironment(ConfigurationData, boolean, SelfInfo) - Constructor for class betir.RobocupEnvironment
 
rot(int) - Method in class betir.TwoDVec
 
rotPolar(int) - Method in class betir.TwoDVec
 
run() - Method in class betir.Player
Fires behaviors every 100 ms

S

say_msg_size - Variable in class betir.ConfigurationData
The longest a say message can be
say(String) - Method in class betir.RobocupBehavior
Sends a say command to the server
SelfInfo - class betir.SelfInfo.
This class keeps all of the information on the player.
SelfInfo(String, int, char) - Constructor for class betir.SelfInfo
 
send_step - Variable in class betir.ConfigurationData
The time length for sending visual information to a player in standard view mode
send(String) - Method in class betir.DatagramWrapper
Sends a message to the server.
setAbsolute(int, int) - Method in class betir.TwoDVec
 
setAngle(int) - Method in class betir.ObjectInfo
 
setAngle(int) - Method in class betir.TwoDVec
 
setAngleChng(int) - Method in class betir.ObjectInfo
 
setBodyAngle(int) - Method in class betir.PlayerInfo
 
setDashCount(int) - Method in class betir.SelfInfo
 
setDifference(TwoDVec, TwoDVec) - Method in class betir.TwoDVec
 
setDistance(float) - Method in class betir.ObjectInfo
 
setDistChng(float) - Method in class betir.ObjectInfo
 
setEffort(float) - Method in class betir.SelfInfo
 
setGotChanges(boolean) - Method in class betir.ObjectInfo
 
setHeadAngle(int) - Method in class betir.PlayerInfo
 
setHeadAngle(int) - Method in class betir.SelfInfo
 
setIsValid(boolean) - Method in class betir.ObjectInfo
 
setKickCount(int) - Method in class betir.SelfInfo
 
setName(String) - Method in class betir.ObjectInfo
 
setPolar(int, float) - Method in class betir.TwoDVec
 
setSayCount(int) - Method in class betir.SelfInfo
 
setSpeed(float) - Method in class betir.SelfInfo
 
setStamina(float) - Method in class betir.SelfInfo
 
setTeam(String) - Method in class betir.PlayerInfo
 
setTimeStamp(int) - Method in class betir.ObjectInfo
 
setTurnCount(int) - Method in class betir.SelfInfo
 
setTurnNeckCount(int) - Method in class betir.SelfInfo
 
setUniformNumber(int) - Method in class betir.PlayerInfo
 
setViewQuality(String) - Method in class betir.SelfInfo
 
setViewWidth(String) - Method in class betir.SelfInfo
 
ShootGoalBehavior - class betir.ShootGoalBehavior.
This behavior shoots a goal.
ShootGoalBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.ShootGoalBehavior
 
simulator_step - Variable in class betir.ConfigurationData
The Length of simulator cycles
Sin(int) - Static method in class betir.QuickIntMath
 
Sqrt(int) - Static method in class betir.QuickIntMath
 
stamina_inc_max - Variable in class betir.ConfigurationData
Amount of stamina player gains in one cycle
stamina_max - Variable in class betir.ConfigurationData
Maximum player stamina
StartBehavior - class betir.StartBehavior.
This behavior moves the player to his start position
StartBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.StartBehavior
 
StayPutBehavior - class betir.StayPutBehavior.
This behavior make a player stay in the same spot and watch the ball if it is too far away
StayPutBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.StayPutBehavior
 

T

Tan(int) - Static method in class betir.QuickIntMath
 
TauntBehavior - class betir.TauntBehavior.
This behavior randomly sends say messages that are either taunts or repeating what they heard.
TauntBehavior(RobocupEnvironment, DatagramWrapper) - Constructor for class betir.TauntBehavior
 
toString() - Method in class betir.SelfInfo
 
toStringAbsolute() - Method in class betir.TwoDVec
 
toStringPolar() - Method in class betir.TwoDVec
 
turn(int) - Method in class betir.RobocupBehavior
Sends a turn command to the server
turnHead(int) - Method in class betir.RobocupBehavior
Sends a turn_neck command to the server
TwoDVec - class betir.TwoDVec.
This is a container class that is used for polar and absolute locations.
TwoDVec() - Constructor for class betir.TwoDVec
 
TwoDVec(int, int, int, int) - Constructor for class betir.TwoDVec
 
TwoDVec(TwoDVec) - Constructor for class betir.TwoDVec
 
TwoDVec(TwoDVec, TwoDVec) - Constructor for class betir.TwoDVec
 

U

updateAbsolute() - Method in class betir.TwoDVec
 
updatePolar() - Method in class betir.TwoDVec
 

V

visible_angle - Variable in class betir.ConfigurationData
Width of the player's view cone

W

wind_dir - Variable in class betir.ConfigurationData
The wind's direction in degrees
wind_force - Variable in class betir.ConfigurationData
The wind's force
wind_rand - Variable in class betir.ConfigurationData
The change of value for the wind
withinRange(int, int, int) - Static method in class betir.RobocupBehavior
 

Z

ZonePlayer - class betir.ZonePlayer.
This class creates the zone player.

A B C D E F G H I K L M N O P Q R S T U V W Z