betir
Class ConfigurationData

java.lang.Object
  |
  +--betir.ConfigurationData

public class ConfigurationData
extends java.lang.Object

Holds copies of the data used to initialize the soccer server. A description of all fields can be found in the SoccerServer manual.


Field Summary
 double audio_cut_dist
          Furthest distance a player can hear from
 double ball_decay
          The rate at which the ball slows down
 double ball_rand
          Randomness of the ball's movement
 double ball_size
          The ball's radius
 double ball_speed_max
          The ball's maximum speed
 double ball_weight
          Used along with wind factor
 int catch_ban_cycle
          After catching a ball, the number of cycles the Goalie is banned from catching again
 double catch_probability
          Goalie's probability of catching a ball
 double catchable_area_l
          Length of Goalie's catchable area
 double catchable_area_w
          Width of Goalie's catchable area
 double ckick_margin
          The margin for the corner kick
 double dash_power_rate
          Factor the dash power in the dash command is multiplied by
 double effort_inc
          Amount by which the player's effort capacity is incremented
 double effort_inc_thr
          Threshold for the player's effort capacity increment
 double effort_min
          Minimum for the player's effort capacity
 double goal_width
          The width of the goal
 int hear_decay
          Player's hearing capacity decay rate
 int hear_inc
          Player's minimum hearing capacity
 int hear_max
          Player's maximum hearing capacity
 double inertia_moment
          Moment of inertia for a player
 double kick_power_rate
          Factor the power in the kick command is multiplied by
 double kickable_area
          The area within which the ball is kickable
 double kickable_margin
          Used to determine the ball's kickable area
 int maxmoment
          The maximum turn and kick angles
 int maxpower
          The maximum power the player can use for dash and kick commands
 int minmoment
          The minimum turn and kick angles
 int minpower
          The minimum power the player can use for dash and kick commands
 double player_decay
          The rate at which the player slows down
 double player_rand
          The randomness added to the players moves and turns
 double player_size
          The player's radius
 double player_speed_max
          Maximum player speed
 double player_weight
          Used along with the wind factor
 double quantize_step
          The step by which values for dynamic objects are quantized (rounded)
 double quantize_step_l
          The step by which values for landmarks are quantized
 double recover_dec
          Step by which the player's recovery decreases
 double recover_dec_thr
          Threshold for the decrement of the player's recover
 double recover_min
          The player's minimum recovery
 int recv_step
          The time length of the server's polling sockets
 int say_msg_size
          The longest a say message can be
 int send_step
          The time length for sending visual information to a player in standard view mode
 int simulator_step
          The Length of simulator cycles
 double stamina_inc_max
          Amount of stamina player gains in one cycle
 double stamina_max
          Maximum player stamina
 double visible_angle
          Width of the player's view cone
 double wind_dir
          The wind's direction in degrees
 double wind_force
          The wind's force
 double wind_rand
          The change of value for the wind
 
Constructor Summary
ConfigurationData(java.lang.String configFile)
          Creates a new ConfigurationData object from the information contained in the file configFile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

goal_width

public final double goal_width
The width of the goal

player_size

public final double player_size
The player's radius

player_decay

public final double player_decay
The rate at which the player slows down

player_rand

public final double player_rand
The randomness added to the players moves and turns

player_weight

public final double player_weight
Used along with the wind factor

player_speed_max

public final double player_speed_max
Maximum player speed

stamina_max

public final double stamina_max
Maximum player stamina

stamina_inc_max

public final double stamina_inc_max
Amount of stamina player gains in one cycle

recover_dec_thr

public final double recover_dec_thr
Threshold for the decrement of the player's recover

recover_dec

public final double recover_dec
Step by which the player's recovery decreases

recover_min

public final double recover_min
The player's minimum recovery

effort_inc_thr

public final double effort_inc_thr
Threshold for the player's effort capacity increment

effort_inc

public final double effort_inc
Amount by which the player's effort capacity is incremented

effort_min

public final double effort_min
Minimum for the player's effort capacity

hear_max

public final int hear_max
Player's maximum hearing capacity

hear_inc

public final int hear_inc
Player's minimum hearing capacity

hear_decay

public final int hear_decay
Player's hearing capacity decay rate

inertia_moment

public final double inertia_moment
Moment of inertia for a player

catchable_area_l

public final double catchable_area_l
Length of Goalie's catchable area

catchable_area_w

public final double catchable_area_w
Width of Goalie's catchable area

catch_probability

public final double catch_probability
Goalie's probability of catching a ball

catch_ban_cycle

public final int catch_ban_cycle
After catching a ball, the number of cycles the Goalie is banned from catching again

ball_size

public final double ball_size
The ball's radius

ball_decay

public final double ball_decay
The rate at which the ball slows down

ball_rand

public final double ball_rand
Randomness of the ball's movement

ball_weight

public final double ball_weight
Used along with wind factor

ball_speed_max

public final double ball_speed_max
The ball's maximum speed

wind_force

public final double wind_force
The wind's force

wind_dir

public final double wind_dir
The wind's direction in degrees

wind_rand

public final double wind_rand
The change of value for the wind

kickable_margin

public final double kickable_margin
Used to determine the ball's kickable area

ckick_margin

public final double ckick_margin
The margin for the corner kick

dash_power_rate

public final double dash_power_rate
Factor the dash power in the dash command is multiplied by

kick_power_rate

public final double kick_power_rate
Factor the power in the kick command is multiplied by

visible_angle

public final double visible_angle
Width of the player's view cone

audio_cut_dist

public final double audio_cut_dist
Furthest distance a player can hear from

quantize_step

public final double quantize_step
The step by which values for dynamic objects are quantized (rounded)

quantize_step_l

public final double quantize_step_l
The step by which values for landmarks are quantized

maxpower

public final int maxpower
The maximum power the player can use for dash and kick commands

minpower

public final int minpower
The minimum power the player can use for dash and kick commands

maxmoment

public final int maxmoment
The maximum turn and kick angles

minmoment

public final int minmoment
The minimum turn and kick angles

simulator_step

public final int simulator_step
The Length of simulator cycles

send_step

public final int send_step
The time length for sending visual information to a player in standard view mode

recv_step

public final int recv_step
The time length of the server's polling sockets

say_msg_size

public final int say_msg_size
The longest a say message can be

kickable_area

public final double kickable_area
The area within which the ball is kickable
Constructor Detail

ConfigurationData

public ConfigurationData(java.lang.String configFile)
Creates a new ConfigurationData object from the information contained in the file configFile.
Parameters:
configFile - The name of the configuration file