Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

PlayerSettings Class Reference

#include <PlayerSettings.h>

Inheritance diagram for PlayerSettings:

Inheritance graph
[legend]
Collaboration diagram for PlayerSettings:

Collaboration graph
[legend]
List of all members.

Public Methods

 PlayerSettings ()
double getPlayerConfThr () const
bool setPlayerConfThr (double d)
double getPlayerHighConfThr () const
bool setPlayerHighConfThr (double d)
double getBallConfThr () const
bool setBallConfThr (double d)
double getPlayerDistTolerance () const
bool setPlayerDistTolerance (double d)
double getPlayerWhenToTurnAngle () const
bool setPlayerWhenToTurnAngle (double d)
double getPlayerWhenToKick () const
bool setPlayerWhenToKick (double d)
int getPlayerWhenToIntercept () const
bool setPlayerWhenToIntercept (int i)
double getClearBallDist () const
bool setClearBallDist (double d)
double getClearBallOppMaxDist () const
bool setClearBallOppMaxDist (double d)
double getClearBallToSideAngle () const
bool setClearBallToSideAngle (double d)
double getConeWidth () const
bool setConeWidth (double d)
double getPassEndSpeed () const
bool setPassEndSpeed (double d)
double getFastPassEndSpeed () const
bool setFastPassEndSpeed (double d)
double getPassExtraX () const
bool setPassExtraX (double d)
double getFractionWaitNoSee () const
bool setFractionWaitNoSee (double d)
double getFractionWaitSeeBegin () const
bool setFractionWaitSeeBegin (double d)
double getFractionWaitSeeEnd () const
bool setFractionWaitSeeEnd (double d)
double getMarkDistance () const
bool setMarkDistance (double d)
double getStratAreaRadius () const
bool setStratAreaRadius (double d)
double getShootRiskProbability () const
bool setShootRiskProbability (double d)
int getCyclesCatchWait () const
bool setCyclesCatchWait (int i)
int getServerTimeOut () const
bool setServerTimeOut (int i)
double getDribbleAngThr () const
bool setDribbleAngThr (double d)
double getTurnWithBallAngThr () const
bool setTurnWithBallAngThr (double d)
double getTurnWithBallFreezeThr () const
bool setTurnWithBallFreezeThr (double d)

Private Attributes

double dPlayerConfThr
double dPlayerHighConfThr
double dBallConfThr
double dPlayerDistTolerance
double dPlayerWhenToTurnAngle
double dPlayerWhenToKick
int iPlayerWhenToIntercept
double dClearBallDist
double dClearBallOppMaxDist
double dClearBallToSideAngle
double dConeWidth
double dPassEndSpeed
double dFastPassEndSpeed
double dPassExtraX
double dFractionWaitNoSee
double dFractionWaitSeeBegin
double dFractionWaitSeeEnd
double dMarkDistance
double dStratAreaRadius
double dShootRiskProbability
int iCyclesCatchWait
int iServerTimeOut
double dDribbleAngThr
double dTurnWithBallAngThr
double dTurnWithBallFreezeThr

Detailed Description

This class contains all the settings that are important for the client (agent) to determine its actions. It contains mostly threshold values to determine whether a certain kind of actions should be taken or not. Furthermore this class contains all the standard set- and get methods for manipulating these values. Although it is normally not the case that these values are changed at runtime. The PlayerSettings class is a subclass of the GenericValues class and therefore each value in this class can be reached through the string name of the corresponding parameter. This may be helpful when the parameters are taken from a configuration file.

Definition at line 66 of file PlayerSettings.h.


Constructor & Destructor Documentation

PlayerSettings::PlayerSettings  
 

This method initializes all client settings and adds these to the generic values class with the effect that they can referenced by their textual name.

Definition at line 57 of file PlayerSettings.C.

References GenericValues::addSetting(), dBallConfThr, dClearBallDist, dClearBallOppMaxDist, dClearBallToSideAngle, dConeWidth, dDribbleAngThr, dFastPassEndSpeed, dFractionWaitNoSee, dFractionWaitSeeBegin, dFractionWaitSeeEnd, dMarkDistance, dPassEndSpeed, dPassExtraX, dPlayerConfThr, dPlayerDistTolerance, dPlayerHighConfThr, dPlayerWhenToKick, dPlayerWhenToTurnAngle, dShootRiskProbability, dStratAreaRadius, dTurnWithBallAngThr, dTurnWithBallFreezeThr, iCyclesCatchWait, iPlayerWhenToIntercept, and iServerTimeOut.


Member Function Documentation

double PlayerSettings::getBallConfThr   const
 

This method returns the confidence threshold below which ball information is assumed illegal.

Returns:
ball confidence threshold

Definition at line 161 of file PlayerSettings.C.

References dBallConfThr.

Referenced by Player::deMeer5(), Player::deMeer5_goalie(), and WorldModel::getStrategicPosition().

double PlayerSettings::getClearBallDist   const
 

This method returns the clear ball distance. When a clear ball is performed, the ball is aimed to a point just in front of the penalty area of the opponent. This method returns the distance before the penalty area to which the ball is aimed.

Returns:
clear ball distance before opponent penalty area

Definition at line 260 of file PlayerSettings.C.

References dClearBallDist.

Referenced by BasicPlayer::clearBall().

double PlayerSettings::getClearBallOppMaxDist   const
 

This method returns the distance in which opponents are taken into account when a clear ball is issued.

Returns:
maximum opponent distance for clear ball.

Definition at line 278 of file PlayerSettings.C.

References dClearBallOppMaxDist.

Referenced by BasicPlayer::clearBall(), and BasicPlayer::getShootPositionOnLine().

double PlayerSettings::getClearBallToSideAngle   const
 

This method returns the minimum needed angle for a clear ball to the side.

Returns:
minimum needed angle for clear ball to side

Definition at line 295 of file PlayerSettings.C.

References dClearBallToSideAngle.

double PlayerSettings::getConeWidth   const
 

This method returns the cone width that is used to check for opponents when passing to a player. A pass is only performed when no opponents are in the cone. The cone is specified as the width to one side after distance 1. So for a value of 0.5 the cone angle equals 45 (22.5 to both sides).

Returns:
cone width in which no opponents are allowed when passing

Definition at line 315 of file PlayerSettings.C.

References dConeWidth.

Referenced by BasicPlayer::outplayOpponent().

int PlayerSettings::getCyclesCatchWait   const
 

This method returns the number of cycles waited by the goalkeeper after he has catched the ball.

Returns:
number of cycles goalkeeper waits after catch

Definition at line 518 of file PlayerSettings.C.

References iCyclesCatchWait.

Referenced by WorldModel::getStrategicPosition().

double PlayerSettings::getDribbleAngThr   const
 

This method returns the threshold to determine when the agent turns towards the dribble direction when dribbling. When the global angle difference is larger than this value, the agent performs a turnWithBallTo.

Returns:
threshold value for angle

Definition at line 558 of file PlayerSettings.C.

References dDribbleAngThr.

Referenced by BasicPlayer::dribble(), and BasicPlayer::outplayOpponent().

double PlayerSettings::getFastPassEndSpeed   const
 

This method returns the desired end speed for the ball when a fast pass is performed.

Returns:
desired end speed for ball when it is passed fast

Definition at line 353 of file PlayerSettings.C.

References dFastPassEndSpeed.

Referenced by BasicPlayer::directPass().

double PlayerSettings::getFractionWaitNoSee   const
 

This method returns the fraction of the simulation step that is waited before an action is sent to the server in case no see message will arrive in this cycle.

Returns:
fraction of simulation step that is waited when no see arrives

Definition at line 391 of file PlayerSettings.C.

References dFractionWaitNoSee.

Referenced by SenseHandler::setTimeSignal().

double PlayerSettings::getFractionWaitSeeBegin   const
 

This method returns the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the first half of the cycle.

Returns:
fraction of simulation step that is waited when see arrives in first half of the cycle

Definition at line 413 of file PlayerSettings.C.

References dFractionWaitSeeBegin.

Referenced by SenseHandler::setTimeSignal().

double PlayerSettings::getFractionWaitSeeEnd   const
 

This method returns the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the second half of the cycle.

Returns:
fraction of simulation step that is waited when see arrives in second half of the cycle

Definition at line 435 of file PlayerSettings.C.

References dFractionWaitSeeEnd.

Referenced by SenseHandler::setTimeSignal(), and WorldModel::updateAll().

double PlayerSettings::getMarkDistance   const
 

This method returns the desired distance to an opponent which should be marked.

Returns:
desired marking distance to an opponent

Definition at line 455 of file PlayerSettings.C.

References dMarkDistance.

double PlayerSettings::getPassEndSpeed   const
 

This method returns the desired end speed for the ball when a normal pass is performed.

Returns:
desired end speed for ball

Definition at line 335 of file PlayerSettings.C.

References dPassEndSpeed.

Referenced by BasicPlayer::directPass(), BasicPlayer::getEndSpeedForPass(), and BasicPlayer::leadingPass().

double PlayerSettings::getPassExtraX   const
 

This method returns the x value that can be added to the position of a teammate when a leading pass to this teammate is performed.

Returns:
x value added to teammate to which is passed

Definition at line 372 of file PlayerSettings.C.

References dPassExtraX.

double PlayerSettings::getPlayerConfThr   const
 

This method returns the confidence threshold below which player information is assumed illegal

Returns:
player confidence threshold

Definition at line 125 of file PlayerSettings.C.

References dPlayerConfThr.

Referenced by WorldModel::getClosestInSetTo(), WorldModel::getDirectionOfWidestAngle(), WorldModel::getFastestInSetTo(), WorldModel::getFirstEmptySpotInSet(), WorldModel::getFurthestInSetTo(), WorldModel::getNrInSetInCircle(), WorldModel::getNrInSetInCone(), WorldModel::getNrInSetInRectangle(), WorldModel::getSecondClosestInSetTo(), WorldModel::isConfidenceGood(), WorldModel::iterateObjectNext(), WorldModel::logObjectInformation(), WorldModel::updateAfterSeeMessage(), WorldModel::updateAfterSenseMessage(), and WorldModel::updateRelativeFromGlobal().

double PlayerSettings::getPlayerDistTolerance   const
 

This method returns the radius in which a player has to be to be mapped from unknown to known player

Returns:
radius in which player is assumed same player.

Definition at line 179 of file PlayerSettings.C.

References dPlayerDistTolerance.

Referenced by WorldModel::mapUnknownPlayers(), WorldModel::processNewObjectInfo(), and WorldModel::processUnsureHearInfo().

double PlayerSettings::getPlayerHighConfThr   const
 

This method returns the confidence threshold above which player information is assumed very good.

Returns:
player high confidence threshold

Definition at line 143 of file PlayerSettings.C.

References dPlayerHighConfThr.

Referenced by WorldModel::isConfidenceVeryGood().

int PlayerSettings::getPlayerWhenToIntercept   const
 

This method returns the maximal allowed number of cycles to intercept the ball. If it takes more cycles to intercept the ball, the ball is not intercepted.

Returns:
number of intercept cycles

Definition at line 240 of file PlayerSettings.C.

References iPlayerWhenToIntercept.

Referenced by BasicPlayer::getInterceptionPointBall(), and WorldModel::predictNrCyclesToObject().

double PlayerSettings::getPlayerWhenToKick   const
 

This method returns the percentage of the maximal acceleration in which case a kick should still be performed. This value is needed to determine whether the ball should be better positioned or should be kicked when the ball should be kicked hard. If it is possible to accelerate the ball with a higher percentage than the returned percentage the kick is performed, in all other cases the ball is positioned better.

Returns:
percentage of ball acceleration when kick should be performed

Definition at line 220 of file PlayerSettings.C.

References dPlayerWhenToKick.

Referenced by BasicPlayer::kickTo().

double PlayerSettings::getPlayerWhenToTurnAngle   const
 

This method returns the angle when a player determines to turn to a point first before moving towards it.

Returns:
global angle when player first moves before moving towards point

Definition at line 197 of file PlayerSettings.C.

References dPlayerWhenToTurnAngle.

Referenced by Player::deMeer5(), Player::deMeer5_goalie(), Player::executeStringCommand(), BasicPlayer::getEndSpeedForPass(), BasicPlayer::getInterceptionPointBall(), BasicPlayer::intercept(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), BasicPlayer::mark(), and WorldModel::predictNrCyclesToObject().

int PlayerSettings::getServerTimeOut   const
 

This method returns the number of seconds before the server is assumed dead. When no message is received from the server for this amount of seconds, it is assumed that the server program has been closed and the agent will exits.

Returns:
number of seconds before server is assumed dead

Definition at line 538 of file PlayerSettings.C.

References iServerTimeOut.

Referenced by WorldModel::waitForNewInformation().

double PlayerSettings::getShootRiskProbability   const
 

This method returns the minimum needed probability for the ball to enter the goal when a "risky" scoring attempt is performed. That is when an agent tries to score although the success rate is not very high, he will always shoot to a point in the goal where the probability that the ball will enter the goal is higher than the value returned by this method.

Returns:
minimum needed probability that the ball will enter the goal

Definition at line 496 of file PlayerSettings.C.

References dShootRiskProbability.

double PlayerSettings::getStratAreaRadius   const
 

This method returns the radius around the strategic position in which an optimal position is considered.

Returns:
radius around strategic position in which an optimal position is considered

Definition at line 474 of file PlayerSettings.C.

References dStratAreaRadius.

double PlayerSettings::getTurnWithBallAngThr   const
 

This method returns the threshold to determine when the ball is kicked to another position in the turnWithBallTo skill. When the global angle difference is larger than this value, the ball is repositioned otherwise it is not.

Returns:
threshold value for angle

Definition at line 580 of file PlayerSettings.C.

References dTurnWithBallAngThr.

Referenced by BasicPlayer::dribble(), and BasicPlayer::outplayOpponent().

double PlayerSettings::getTurnWithBallFreezeThr   const
 

This method returns the threshold to determine when the ball is frozen in the turnWithBallTo skill. When the ball speed is larger than this value, the ball is frozen otherwise not

Returns:
threshold value for freezing the ball

Definition at line 601 of file PlayerSettings.C.

References dTurnWithBallFreezeThr.

Referenced by BasicPlayer::dribble(), and BasicPlayer::outplayOpponent().

bool PlayerSettings::setBallConfThr double    d
 

This method sets the confidence threshold below which ball information is assumed illegal

Parameters:
d  ball confidence threshold in range [0..1]
Returns:
boolean indicating whether update was successful

Definition at line 170 of file PlayerSettings.C.

References dBallConfThr.

bool PlayerSettings::setClearBallDist double    d
 

This method sets the clear ball distance.

Parameters:
d  new clear ball distance before opponent penalty area (>0).
Returns:
boolean indicating whether update was successful

Definition at line 269 of file PlayerSettings.C.

References dClearBallDist.

bool PlayerSettings::setClearBallOppMaxDist double    d
 

This method sets the distance in which opponents are taken into account when a clear ball is issued.

Parameters:
d  maximum opponent distance for clear ball (>0).
Returns:
boolean indicating whether update was successful

Definition at line 287 of file PlayerSettings.C.

References dClearBallOppMaxDist.

bool PlayerSettings::setClearBallToSideAngle double    d
 

This method sets the minimum needed angle for a clear ball to the side.

Parameters:
d  minimum needed angle (>0) for clear ball to side
Returns:
boolean indicating whether update was successful

Definition at line 303 of file PlayerSettings.C.

References dClearBallToSideAngle.

bool PlayerSettings::setConeWidth double    d
 

This method sets the cone width in which no opponents are allowed when the ball is passed to a teammate. The cone width is specified as the width to one side after distance 1. So for a value of 0.5 the cone angle equals 45 (22.5 to both sides).

Parameters:
d  cone width in which no opponents are allowed when passing (>0)
Returns:
boolean indicating whether update was successful

Definition at line 326 of file PlayerSettings.C.

References dConeWidth.

bool PlayerSettings::setCyclesCatchWait int    i
 

This method sets the number of cycles waited by the goalkeeper after he has catched the ball.

Parameters:
i  number of cycles goalkeeper waits after catch
Returns:
boolean indicating whether update was successful

Definition at line 527 of file PlayerSettings.C.

References iCyclesCatchWait.

bool PlayerSettings::setDribbleAngThr double    d
 

This method sets the threshold to determine when the agent turns towards the dribble direction when dribbling. When the global angle difference is larger than this value, the agent performs a turnWithBallTo.

Parameters:
d  threshold value for angle
Returns:
bool indicating whether update was succesfull.

Definition at line 568 of file PlayerSettings.C.

References dDribbleAngThr.

bool PlayerSettings::setFastPassEndSpeed double    d
 

This method sets the desired end speed for the ball when a fast pass is performed.

Parameters:
d  desired end speed for passing ball fast (>0)
Returns:
boolean indicating whether update was successful

Definition at line 363 of file PlayerSettings.C.

References dFastPassEndSpeed.

bool PlayerSettings::setFractionWaitNoSee double    d
 

This method sets the fraction of the simulation step that is waited before an action is sent to the server in case no see message will arrive in this cycle.

Parameters:
d  fraction of simulation step that is waited when no see arrives (in range [0..1])
Returns:
boolean indicating whether update was successful

Definition at line 402 of file PlayerSettings.C.

References dFractionWaitNoSee.

bool PlayerSettings::setFractionWaitSeeBegin double    d
 

This method sets the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the first part of the cycle.

Parameters:
d  fraction of simulation step that is waited when see arrives in the first half of the cycle (in range [0..1])
Returns:
boolean indicating whether update was successful

Definition at line 424 of file PlayerSettings.C.

References dFractionWaitSeeBegin.

bool PlayerSettings::setFractionWaitSeeEnd double    d
 

This method sets the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the second part of the cycle.

Parameters:
d  fraction of simulation step that is waited when see arrives in the second half of the cycle (in range [0..1])
Returns:
boolean indicating whether update was successful

Definition at line 446 of file PlayerSettings.C.

References dFractionWaitSeeEnd.

Referenced by WorldModel::updateAll().

bool PlayerSettings::setMarkDistance double    d
 

This method sets the desired distance to an opponent which should be marked.

Parameters:
d  desired marking distance to an opponent
Returns:
boolean indicating whether update was successful

Definition at line 464 of file PlayerSettings.C.

References dMarkDistance.

bool PlayerSettings::setPassEndSpeed double    d
 

This method sets the desired end speed for the ball when a normal pass is performed.

Parameters:
d  desired end speed for ball (>0)
Returns:
boolean indicating whether update was successful

Definition at line 344 of file PlayerSettings.C.

References dPassEndSpeed.

bool PlayerSettings::setPassExtraX double    d
 

This method sets the x value that is added to the position of a teammate when a leading pass is performed.

Parameters:
d  x value added to teammate to which is passed
Returns:
boolean indicating whether update was successful

Definition at line 381 of file PlayerSettings.C.

References dPassExtraX.

bool PlayerSettings::setPlayerConfThr double    d
 

This method sets the confidence threshold below which player information is assumed illegal

Parameters:
d  player confidence threshold in range [0..1]
Returns:
boolean indicating whether update was successful

Definition at line 134 of file PlayerSettings.C.

References dPlayerConfThr.

bool PlayerSettings::setPlayerDistTolerance double    d
 

This method sets the radius in which a player has to be to be mapped from unknown to known player

Parameters:
d  radius (>0) in which player is assumed same player
Returns:
boolean indicating whether update was successful

Definition at line 188 of file PlayerSettings.C.

References dPlayerDistTolerance.

bool PlayerSettings::setPlayerHighConfThr double    d
 

This method sets the confidence threshold above which player information is assumed very good

Parameters:
d  player high confidence threshold in range [0..1]
Returns:
boolean indicating whether update was successful

Definition at line 152 of file PlayerSettings.C.

References dPlayerHighConfThr.

bool PlayerSettings::setPlayerWhenToIntercept int    i
 

This methods sets the maximal allowed number of cycles to intercept the ball.

Parameters:
i  new maximal allowed number of cycles (>0)
Returns:
boolean indicating whether update was successful

Definition at line 249 of file PlayerSettings.C.

References iPlayerWhenToIntercept.

bool PlayerSettings::setPlayerWhenToKick double    d
 

This method sets the percentage of the maximal acceleration that defines in which cases the ball is actually kicked or in which case it is positioned better when the ball should be given a very high velocity.

Parameters:
d  percentage in range [0..1]
Returns:
boolean indicating whether update was successful

Definition at line 230 of file PlayerSettings.C.

References dPlayerWhenToKick.

bool PlayerSettings::setPlayerWhenToTurnAngle double    d
 

This method sets the angle when a player determines to turn to a point first before moving towards it.

Parameters:
d  global angle when player turns in move (interval [0..360]).
Returns:
boolean indicating whether update was successful

Definition at line 206 of file PlayerSettings.C.

References dPlayerWhenToTurnAngle.

bool PlayerSettings::setServerTimeOut int    i
 

This method sets the number of seconds before the server is assumed dead. When no message is received from the server for this amount of seconds, it is assumed that the server is stopped and the agent exits.

Parameters:
i  number of seconds before server is assumed dead
Returns:
bool indicating whether update was succesfull.

Definition at line 548 of file PlayerSettings.C.

References iServerTimeOut.

bool PlayerSettings::setShootRiskProbability double    d
 

This method sets the minimum needed probability for the ball to enter the goal when a "risky" scoring attempt is performed. That is when an agent tries to score although the success rate is not very high, he will always shoot to a point in the goal where the probability that the ball will enter the goal is higher than this value.

Parameters:
d  minimum needed probability that the ball enters the goal [0..1]
Returns:
boolean indicating whether update was successful

Definition at line 509 of file PlayerSettings.C.

References dShootRiskProbability.

bool PlayerSettings::setStratAreaRadius double    d
 

This method sets the radius around the strategic position in which an optimal position is considered.

Parameters:
d  radius around strategic position in which an optimal position is considered (>0)
Returns:
boolean indicating whether update was successful

Definition at line 484 of file PlayerSettings.C.

References dStratAreaRadius.

bool PlayerSettings::setTurnWithBallAngThr double    d
 

This method sets the threshold to determine when the ball is kicked to another position in the turnWithBallTo skill. When the global angle difference is larger than this value, the ball is repositioned otherwise it is not.

Parameters:
d  threshold value for angle
Returns:
bool indicating whether update was succesfull.

Definition at line 591 of file PlayerSettings.C.

References dTurnWithBallAngThr.

bool PlayerSettings::setTurnWithBallFreezeThr double    d
 

This method sets the threshold to determine when the ball is frozen in the turnWithBallTo skill. When the ball speed is larger than this value, the ball is frozen otherwise not

Parameters:
d  threshold value for freezing the ball
Returns:
bool indicating whether update was succesfull.

Definition at line 611 of file PlayerSettings.C.

References dTurnWithBallFreezeThr.


Member Data Documentation

double PlayerSettings::dBallConfThr [private]
 

confidence threshold below which ball information is assumed illegal

Definition at line 72 of file PlayerSettings.h.

Referenced by getBallConfThr(), PlayerSettings(), and setBallConfThr().

double PlayerSettings::dClearBallDist [private]
 

distance before the penalty area to clear the ball to

Definition at line 80 of file PlayerSettings.h.

Referenced by getClearBallDist(), PlayerSettings(), and setClearBallDist().

double PlayerSettings::dClearBallOppMaxDist [private]
 

radius in which opponent has to be to be taken into account for clear ball

Definition at line 82 of file PlayerSettings.h.

Referenced by getClearBallOppMaxDist(), PlayerSettings(), and setClearBallOppMaxDist().

double PlayerSettings::dClearBallToSideAngle [private]
 

minimum angle between opponents before clear ball is taken into account

Definition at line 84 of file PlayerSettings.h.

Referenced by getClearBallToSideAngle(), PlayerSettings(), and setClearBallToSideAngle().

double PlayerSettings::dConeWidth [private]
 

Cone width (at distance 1) to check for opponents when passing to player.

Definition at line 86 of file PlayerSettings.h.

Referenced by getConeWidth(), PlayerSettings(), and setConeWidth().

double PlayerSettings::dDribbleAngThr [private]
 

Threshold value for angle difference that indicates when the agent turns towards the dribble direction.

Definition at line 113 of file PlayerSettings.h.

Referenced by getDribbleAngThr(), PlayerSettings(), and setDribbleAngThr().

double PlayerSettings::dFastPassEndSpeed [private]
 

end speed ball when passed fast

Definition at line 89 of file PlayerSettings.h.

Referenced by getFastPassEndSpeed(), PlayerSettings(), and setFastPassEndSpeed().

double PlayerSettings::dFractionWaitNoSee [private]
 

% of simulation step that is waited before action is sent in case no see message arrives

Definition at line 92 of file PlayerSettings.h.

Referenced by getFractionWaitNoSee(), PlayerSettings(), and setFractionWaitNoSee().

double PlayerSettings::dFractionWaitSeeBegin [private]
 

% of simulation step that is waited before action is sent in case see message arrives in first half cycle

Definition at line 95 of file PlayerSettings.h.

Referenced by getFractionWaitSeeBegin(), PlayerSettings(), and setFractionWaitSeeBegin().

double PlayerSettings::dFractionWaitSeeEnd [private]
 

% of simulation step that is waited before action is sent in case see message arrives in second half cycle

Definition at line 98 of file PlayerSettings.h.

Referenced by getFractionWaitSeeEnd(), PlayerSettings(), and setFractionWaitSeeEnd().

double PlayerSettings::dMarkDistance [private]
 

This is the distance the agent marks an opponent.

Definition at line 101 of file PlayerSettings.h.

Referenced by getMarkDistance(), PlayerSettings(), and setMarkDistance().

double PlayerSettings::dPassEndSpeed [private]
 

end speed ball when passed to teammate

Definition at line 88 of file PlayerSettings.h.

Referenced by getPassEndSpeed(), PlayerSettings(), and setPassEndSpeed().

double PlayerSettings::dPassExtraX [private]
 

extra x value added to x coordinate of player pos to which is passed

Definition at line 90 of file PlayerSettings.h.

Referenced by getPassExtraX(), PlayerSettings(), and setPassExtraX().

double PlayerSettings::dPlayerConfThr [private]
 

confidence threshold below which player information is assumed illegal

Definition at line 68 of file PlayerSettings.h.

Referenced by getPlayerConfThr(), PlayerSettings(), and setPlayerConfThr().

double PlayerSettings::dPlayerDistTolerance [private]
 

radius in which player has to be to be mapped from unknown to known player

Definition at line 74 of file PlayerSettings.h.

Referenced by getPlayerDistTolerance(), PlayerSettings(), and setPlayerDistTolerance().

double PlayerSettings::dPlayerHighConfThr [private]
 

confidence threshold above which player information is assumed very good

Definition at line 70 of file PlayerSettings.h.

Referenced by getPlayerHighConfThr(), PlayerSettings(), and setPlayerHighConfThr().

double PlayerSettings::dPlayerWhenToKick [private]
 

percentage of kick power rate when kick is performed

Definition at line 77 of file PlayerSettings.h.

Referenced by getPlayerWhenToKick(), PlayerSettings(), and setPlayerWhenToKick().

double PlayerSettings::dPlayerWhenToTurnAngle [private]
 

angle when to turn to ball when moving

Definition at line 76 of file PlayerSettings.h.

Referenced by getPlayerWhenToTurnAngle(), PlayerSettings(), and setPlayerWhenToTurnAngle().

double PlayerSettings::dShootRiskProbability [private]
 

This is the probability for the ball to enter the goal that is used when scoring with risk

Definition at line 106 of file PlayerSettings.h.

Referenced by getShootRiskProbability(), PlayerSettings(), and setShootRiskProbability().

double PlayerSettings::dStratAreaRadius [private]
 

This is the radius around the strategic position in which an optimal position is determined.

Definition at line 103 of file PlayerSettings.h.

Referenced by getStratAreaRadius(), PlayerSettings(), and setStratAreaRadius().

double PlayerSettings::dTurnWithBallAngThr [private]
 

Threshold value for angle difference that indicates when the ball is kicked in turnWithBallTo skill.

Definition at line 116 of file PlayerSettings.h.

Referenced by getTurnWithBallAngThr(), PlayerSettings(), and setTurnWithBallAngThr().

double PlayerSettings::dTurnWithBallFreezeThr [private]
 

Threshold value for ball speed that indicates when the ball is frozen in turnWithBallTo skill.

Definition at line 119 of file PlayerSettings.h.

Referenced by getTurnWithBallFreezeThr(), PlayerSettings(), and setTurnWithBallFreezeThr().

int PlayerSettings::iCyclesCatchWait [private]
 

Cycles the coach waits after a catch has been performed before he shoots.

Definition at line 109 of file PlayerSettings.h.

Referenced by getCyclesCatchWait(), PlayerSettings(), and setCyclesCatchWait().

int PlayerSettings::iPlayerWhenToIntercept [private]
 

how many cycles to ball when intercept

Definition at line 79 of file PlayerSettings.h.

Referenced by getPlayerWhenToIntercept(), PlayerSettings(), and setPlayerWhenToIntercept().

int PlayerSettings::iServerTimeOut [private]
 

Number of seconds before the soccer server is assumed dead.

Definition at line 111 of file PlayerSettings.h.

Referenced by getServerTimeOut(), PlayerSettings(), and setServerTimeOut().


The documentation for this class was generated from the following files:
Generated on Tue Jul 2 10:19:21 2002 for UvA Trilearn 2002 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001