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

ServerSettings Class Reference

#include <ServerSettings.h>

Inheritance diagram for ServerSettings:

Inheritance graph
[legend]
Collaboration diagram for ServerSettings:

Collaboration graph
[legend]
List of all members.

Public Methods

 ServerSettings ()
bool setValue (const char *strName, const char *strValue)
bool readValues (const char *strFilename, const char *Separator)
bool setGoalWidth (double d)
double getGoalWidth () const
bool setPlayerSize (double d)
double getPlayerSize () const
bool setPlayerDecay (double d)
double getPlayerDecay () const
bool setPlayerRand (double d)
double getPlayerRand () const
bool setPlayerWeight (double d)
double getPlayerWeight () const
bool setPlayerSpeedMax (double d)
double getPlayerSpeedMax () const
bool setPlayerAccelMax (double d)
double getPlayerAccelMax () const
bool setStaminaMax (double d)
double getStaminaMax () const
bool setStaminaIncMax (double d)
double getStaminaIncMax () const
bool setRecoverDecThr (double d)
double getRecoverDecThr () const
bool setRecoverDec (double d)
double getRecoverDec () const
bool setRecoverMin (double d)
double getRecoverMin () const
bool setEffortDecThr (double d)
double getEffortDecThr () const
bool setEffortDec (double d)
double getEffortDec () const
bool setEffortIncThr (double d)
double getEffortIncThr () const
bool setEffortInc (double d)
double getEffortInc () const
bool setEffortMin (double d)
double getEffortMin () const
bool setHearMax (int i)
int getHearMax () const
bool setHearInc (int i)
int getHearInc () const
bool setHearDecay (int i)
int getHearDecay () const
bool setInertiaMoment (double d)
double getInertiaMoment () const
bool setSenseBodyStep (int i)
int getSenseBodyStep () const
bool setCatchableAreaL (double d)
double getCatchableAreaL () const
bool setCatchableAreaW (double d)
double getCatchableAreaW () const
bool setCatchProbability (double d)
double getCatchProbability () const
bool setCatchBanCycle (int i)
int getCatchBanCycle () const
bool setGoalieMaxMoves (int i)
int getGoalieMaxMoves () const
bool setBallSize (double d)
double getBallSize () const
bool setBallDecay (double d)
double getBallDecay () const
bool setBallRand (double d)
double getBallRand () const
bool setBallWeight (double d)
double getBallWeight () const
bool setBallSpeedMax (double d)
double getBallSpeedMax () const
bool setBallAccelMax (double d)
double getBallAccelMax () const
bool setWindForce (double d)
double getWindForce () const
bool setWindDir (double d)
double getWindDir () const
bool setWindRand (double d)
double getWindRand () const
bool setWindRandom (bool b)
bool getWindRandom () const
bool setKickableMargin (double d)
double getKickableMargin () const
bool setCkickMargin (double d)
double getCkickMargin () const
bool setDashPowerRate (double d)
double getDashPowerRate () const
bool setKickPowerRate (double d)
double getKickPowerRate () const
bool setKickRand (double d)
double getKickRand () const
bool setVisibleAngle (double d)
double getVisibleAngle () const
bool setAudioCutDist (double d)
double getAudioCutDist () const
bool setQuantizeStep (double d)
double getQuantizeStep () const
bool setQuantizeStepL (double d)
double getQuantizeStepL () const
bool setMaxPower (int i)
int getMaxPower () const
bool setMinPower (int i)
int getMinPower () const
bool setMaxMoment (int i)
int getMaxMoment () const
bool setMinMoment (int i)
int getMinMoment () const
bool setMaxNeckMoment (int i)
int getMaxNeckMoment () const
bool setMinNeckMoment (int i)
int getMinNeckMoment () const
bool setMaxNeckAng (int i)
int getMaxNeckAng () const
bool setMinNeckAng (int i)
int getMinNeckAng () const
bool setPort (int i)
int getPort () const
bool setCoachPort (int i)
int getCoachPort () const
bool setOlCoachPort (int i)
int getOlCoachPort () const
bool setSayCoachCntMax (int i)
int getSayCoachCntMax () const
bool setSayCoachMsgSize (int i)
int getSayCoachMsgSize () const
bool setClangWinSize (int i)
int getClangWinSize () const
bool setClangDefineWin (int i)
int getClangDefineWin () const
bool setClangMetaWin (int i)
int getClangMetaWin () const
bool setClangAdviceWin (int i)
int getClangAdviceWin () const
bool setClangInfoWin (int i)
int getClangInfoWin () const
bool setClangMessDelay (int i)
int getClangMessDelay () const
bool setClangMessPerCycle (int i)
int getClangMessPerCycle () const
bool setSendViStep (int i)
int getSendViStep () const
bool setSimulatorStep (int i)
int getSimulatorStep () const
bool setSendStep (int i)
int getSendStep () const
bool setRecvStep (int i)
int getRecvStep () const
bool setHalfTime (int i)
int getHalfTime () const
bool setDropBallTime (int i)
int getDropBallTime () const
bool setSayMsgSize (int i)
int getSayMsgSize () const
bool setUseOffside (bool b)
bool getUseOffside () const
bool setOffsideActiveAreaSize (double d)
double getOffsideActiveAreaSize () const
bool setForbidKickOffOffside (bool b)
bool getForbidKickOffOffside () const
bool setOffsideKickMargin (double d)
double getOffsideKickMargin () const
bool setVerbose (bool b)
bool getVerbose () const
bool setRecordVersion (int i)
int getRecordVersion () const
bool setRecordLog (bool b)
bool getRecordLog () const
bool setSendLog (bool b)
bool getSendLog () const
bool setLogTimes (bool b)
bool getLogTimes () const
bool setLogFile (char *str)
char * getLogFile ()
bool setSynchMode (bool b)
bool getSynchMode () const
bool setFullStateLeft (bool b)
bool getFullStateLeft () const
bool setFullStateRight (bool b)
bool getFullStateRight () const
bool setPlayerTypes (int i)
int getPlayerTypes () const
bool setSubsMax (int i)
int getSubsMax () const
bool setPlayerSpeedMaxDeltaMin (double d)
double getPlayerSpeedMaxDeltaMin () const
bool setPlayerSpeedMaxDeltaMax (double d)
double getPlayerSpeedMaxDeltaMax () const
bool setStaminaIncMaxDeltaFactor (double d)
double getStaminaIncMaxDeltaFactor () const
bool setPlayerDecayDeltaMin (double d)
double getPlayerDecayDeltaMin () const
bool setPlayerDecayDeltaMax (double d)
double getPlayerDecayDeltaMax () const
bool setInertiaMomentDeltaFactor (double d)
double getInertiaMomentDeltaFactor () const
bool setDashPowerRateDeltaMin (double d)
double getDashPowerRateDeltaMin () const
bool setDashPowerRateDeltaMax (double d)
double getDashPowerRateDeltaMax () const
bool setPlayerSizeDeltaFactor (double d)
double getPlayerSizeDeltaFactor () const
bool setKickableMarginDeltaMin (double d)
double getKickableMarginDeltaMin () const
bool setKickableMarginDeltaMax (double d)
double getKickableMarginDeltaMax () const
bool setKickRandDeltaFactor (double d)
double getKickRandDeltaFactor () const
bool setExtraStaminaDeltaMin (double d)
double getExtraStaminaDeltaMin () const
bool setExtraStaminaDeltaMax (double d)
double getExtraStaminaDeltaMax () const
bool setEffortMaxDeltaFactor (double d)
double getEffortMaxDeltaFactor () const
bool setEffortMinDeltaFactor (double d)
double getEffortMinDeltaFactor () const
bool setNewDashPowerRateDeltaMin (double d)
double getNewDashPowerRateDeltaMin () const
bool setNewDashPowerRateDeltaMax (double d)
double getNewDashPowerRateDeltaMax () const
bool setNewStaminaIncMaxDeltaFactor (double d)
double getNewStaminaIncMaxDeltaFactor () const
bool setPenDistX (double d)
double getPenDistX () const
bool setPenMaxGoalieDistX (double d)
double getPenMaxGoalieDistX () const
bool setPenAllowMultKicks (bool b)
bool getPenAllowMultKicks () const
bool setTackleDist (double d)
double getTackleDist () const
bool setTackleBackDist (double d)
double getTackleBackDist () const
bool setTackleWidth (double d)
double getTackleWidth () const
bool setTackleExponent (double d)
double getTackleExponent () const
bool setTackleCycles (int i)
int getTackleCycles () const
bool setTacklePowerRate (double d)
double getTacklePowerRate () const
bool setEffortMax (double d)
double getEffortMax () const
bool setSlowDownFactor (int i)
int getSlowDownFactor () const
bool setVisibleDistance (double d)
double getVisibleDistance () const
bool setExtraStamina (double d)
double getExtraStamina () const
bool setMaximalKickDist (double d)
double getMaximalKickDist () const

Private Attributes

double dGoalWidth
double dPlayerSize
double dPlayerDecay
double dPlayerRand
double dPlayerWeight
double dPlayerSpeedMax
double dPlayerAccelMax
double dStaminaMax
double dStaminaIncMax
double dRecoverDecThr
double dRecoverDec
double dRecoverMin
double dEffortDecThr
double dEffortDec
double dEffortIncThr
double dEffortInc
double dEffortMin
double dEffortMax
int iHearMax
int iHearInc
int iHearDecay
double dInertiaMoment
int iSenseBodyStep
double dCatchableAreaL
double dCatchableAreaW
double dCatchProbability
int iCatchBanCycle
int iGoalieMaxMoves
double dBallSize
double dBallDecay
double dBallRand
double dBallWeight
double dBallSpeedMax
double dBallAccelMax
double dWindForce
double dWindDir
double dWindRand
bool bWindRandom
double dKickableMargin
double dCkickMargin
double dDashPowerRate
double dKickPowerRate
double dKickRand
double dVisibleAngle
double dAudioCutDist
double dQuantizeStep
double dQuantizeStepL
int iMaxPower
int iMinPower
int iMaxMoment
int iMinMoment
int iMaxNeckMoment
int iMinNeckMoment
int iMaxNeckAng
int iMinNeckAng
int iPort
int iCoachPort
int iOlCoachPort
int iSayCoachCntMax
int iSayCoachMsgSize
int iClangWinSize
int iClangDefineWin
int iClangMetaWin
int iClangAdviceWin
int iClangInfoWin
int iClangMessDelay
int iClangMessPerCycle
int iSendViStep
int iSimulatorStep
int iSendStep
int iRecvStep
int iHalfTime
int iDropBallTime
int iSayMsgSize
bool bUseOffside
double dOffsideActiveAreaSize
bool bForbidKickOffOffside
double dOffsideKickMargin
bool bVerbose
int iRecordVersion
bool bRecordLog
bool bSendLog
bool bLogTimes
char strLogFile [256]
bool bSynchMode
bool bFullStateL
bool bFullStateR
int iPlayerTypes
int iSubsMax
double dPlayerSpeedMaxDeltaMin
double dPlayerSpeedMaxDeltaMax
double dStaminaIncMaxDeltaFactor
double dPlayerDecayDeltaMin
double dPlayerDecayDeltaMax
double dInertiaMomentDeltaFactor
double dDashPowerRateDeltaMin
double dDashPowerRateDeltaMax
double dPlayerSizeDeltaFactor
double dKickableMarginDeltaMin
double dKickableMarginDeltaMax
double dKickRandDeltaFactor
double dExtraStaminaDeltaMin
double dExtraStaminaDeltaMax
double dEffortMaxDeltaFactor
double dEffortMinDeltaFactor
double dNewDashPowerRateDeltaMin
double dNewDashPowerRateDeltaMax
double dNewStaminaIncMaxDeltaFactor
int iSlowDownFactor
double dVisibleDistance
double dExtraStamina
double dPenDistX
double dPenMaxGoalieDistX
bool bPenAllowMultKicks
double dTackleDist
double dTackleBackDist
double dTackleWidth
double dTackleExponent
int iTackleCycles
double dTacklePowerRate
double dMaximalKickDist

Detailed Description

This class contains all the Soccerserver parameters that are available in the configuration file 'server.conf' along with their default values and standard set- and get methods for manipulating these values. The ServerSettings 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.

Definition at line 75 of file ServerSettings.h.


Constructor & Destructor Documentation

ServerSettings::ServerSettings  
 

Constructor for the ServerSettings class. It sets all the private member variables in this class to the values specified in the configuration files (server.conf and player.conf) of Soccer Server version 8.xx. These values can be changed by calling the method 'readValues' with a new configuration file or by calling the method 'setValue' for a specific variable.

Definition at line 70 of file ServerSettings.cpp.

References GenericValues::addSetting(), bForbidKickOffOffside, bFullStateL, bFullStateR, bLogTimes, bPenAllowMultKicks, bRecordLog, bSendLog, bSynchMode, bUseOffside, bVerbose, bWindRandom, dAudioCutDist, dBallAccelMax, dBallDecay, dBallRand, dBallSize, dBallSpeedMax, dBallWeight, dCatchableAreaL, dCatchableAreaW, dCatchProbability, dCkickMargin, dDashPowerRate, dDashPowerRateDeltaMax, dDashPowerRateDeltaMin, dEffortDec, dEffortDecThr, dEffortInc, dEffortIncThr, dEffortMax, dEffortMaxDeltaFactor, dEffortMin, dEffortMinDeltaFactor, dExtraStamina, dExtraStaminaDeltaMax, dExtraStaminaDeltaMin, dGoalWidth, dInertiaMoment, dInertiaMomentDeltaFactor, dKickableMargin, dKickableMarginDeltaMax, dKickableMarginDeltaMin, dKickPowerRate, dKickRand, dKickRandDeltaFactor, dMaximalKickDist, dNewDashPowerRateDeltaMax, dNewDashPowerRateDeltaMin, dNewStaminaIncMaxDeltaFactor, dOffsideActiveAreaSize, dOffsideKickMargin, dPenDistX, dPenMaxGoalieDistX, dPlayerAccelMax, dPlayerDecay, dPlayerDecayDeltaMax, dPlayerDecayDeltaMin, dPlayerRand, dPlayerSize, dPlayerSizeDeltaFactor, dPlayerSpeedMax, dPlayerSpeedMaxDeltaMax, dPlayerSpeedMaxDeltaMin, dPlayerWeight, dQuantizeStep, dQuantizeStepL, dRecoverDec, dRecoverDecThr, dRecoverMin, dStaminaIncMax, dStaminaIncMaxDeltaFactor, dStaminaMax, dTackleBackDist, dTackleDist, dTackleExponent, dTacklePowerRate, dTackleWidth, dVisibleAngle, dVisibleDistance, dWindDir, dWindForce, dWindRand, GENERIC_VALUE_BOOLEAN, GENERIC_VALUE_DOUBLE, GENERIC_VALUE_INTEGER, GENERIC_VALUE_STRING, iCatchBanCycle, iClangAdviceWin, iClangDefineWin, iClangInfoWin, iClangMessDelay, iClangMessPerCycle, iClangMetaWin, iClangWinSize, iCoachPort, iDropBallTime, iGoalieMaxMoves, iHalfTime, iHearDecay, iHearInc, iHearMax, iMaxMoment, iMaxNeckAng, iMaxNeckMoment, iMaxPower, iMinMoment, iMinNeckAng, iMinNeckMoment, iMinPower, iOlCoachPort, iPlayerTypes, iPort, iRecordVersion, iRecvStep, iSayCoachCntMax, iSayCoachMsgSize, iSayMsgSize, iSendStep, iSendViStep, iSenseBodyStep, iSimulatorStep, iSlowDownFactor, iSubsMax, iTackleCycles, and strLogFile.


Member Function Documentation

double ServerSettings::getAudioCutDist   const
 

Get method for the 'dAudioCutDist' member variable.

Returns:
the maximum distance over which a spoken message can be heard

Definition at line 1338 of file ServerSettings.cpp.

double ServerSettings::getBallAccelMax   const
 

Get method for the 'dBallAccelMax' member variable.

Returns:
the maximum acceleration of the ball per cycle

Definition at line 1143 of file ServerSettings.cpp.

Referenced by BasicPlayer::accelerateBallToVelocity(), and BasicPlayer::kickTo().

double ServerSettings::getBallDecay   const
 

Get method for the 'dBallDecay' member variable.

Returns:
the ball speed decay per cycle

Definition at line 1075 of file ServerSettings.cpp.

Referenced by WorldModel::calculateStateBall(), WorldModel::getEndSpeedFromFirstSpeed(), WorldModel::getFirstSpeedFromDist(), WorldModel::getFirstSpeedFromEndSpeed(), WorldModel::getKickSpeedToTravel(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), WorldModel::logDrawBallInfo(), WorldModel::predictBallInfoAfterCommand(), WorldModel::predictPosAfterNrCycles(), WorldModel::processPlayerMessage(), WorldModel::updateDynamicObjectForNextCycle(), and WorldModel::updateParticlesBall().

double ServerSettings::getBallRand   const
 

Get method for the 'dBallRand' member variable.

Returns:
the random error in the ball movement

Definition at line 1094 of file ServerSettings.cpp.

Referenced by WorldModel::calculateStateBall(), WorldModel::isCollisionAfterCommand(), and WorldModel::updateParticlesBall().

double ServerSettings::getBallSize   const
 

Get method for the 'dBallSize' member variable.

Returns:
the size (=radius) of the ball

Definition at line 1059 of file ServerSettings.cpp.

Referenced by SenseHandler::analyzeServerParamMessage(), BasicPlayer::collideWithBall(), WorldModel::getActualKickPowerRate(), BasicPlayer::interceptClose(), WorldModel::isCollisionAfterCommand(), BasicPlayer::kickBallCloseToBody(), BasicPlayer::kickTo(), WorldModel::processNewHeteroPlayer(), and WorldModel::updateAgentAndBallAfterSense().

double ServerSettings::getBallSpeedMax   const
 

Get method for the 'dBallSpeedMax' member variable.

Returns:
the maximum speed of the ball

Definition at line 1126 of file ServerSettings.cpp.

Referenced by WorldModel::calculateStateBall(), BasicPlayer::clearBall(), Player::deMeer5(), BasicPlayer::getEndSpeedForPass(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), BasicPlayer::kickTo(), WorldModel::predictBallInfoAfterCommand(), and WorldModel::updateParticlesBall().

double ServerSettings::getBallWeight   const
 

Get method for the 'dBallWeight' member variable.

Returns:
the weight of the ball (for wind)

Definition at line 1110 of file ServerSettings.cpp.

double ServerSettings::getCatchableAreaL   const
 

Get method for the 'dCatchableAreaL' member variable.

Returns:
the length of the area around the goalkeeper in which he can catch the ball

Definition at line 969 of file ServerSettings.cpp.

Referenced by BasicPlayer::getActiveInterceptionPointBall(), BasicPlayer::getInterceptionPointBall(), BasicPlayer::interceptCloseGoalie(), and WorldModel::isBallCatchable().

double ServerSettings::getCatchableAreaW   const
 

Get method for the 'dCatchableAreaW' member variable.

Returns:
the width of the area around the goalkeeper in which he can catch the ball

Definition at line 987 of file ServerSettings.cpp.

int ServerSettings::getCatchBanCycle   const
 

Get method for the 'iCatchBanCycle' member variable.

Returns:
the number of cycles after a catch in which the goalkeeper cannot catch again

Definition at line 1022 of file ServerSettings.cpp.

Referenced by WorldModel::isBallCatchable().

double ServerSettings::getCatchProbability   const
 

Get method for the 'dCatchProbability' member variable.

Returns:
the probability for a goalkeeper to catch the ball

Definition at line 1004 of file ServerSettings.cpp.

double ServerSettings::getCkickMargin   const
 

Get method for the 'dCkickMargin' member variable.

Returns:
the corner kick margin, i.e. the minimum distance to the ball for offending players when a corner kick is taken

Definition at line 1248 of file ServerSettings.cpp.

int ServerSettings::getClangAdviceWin   const
 

Get method for the 'iClangAdviceWin' member variable.

Returns:
the number of advice messages by the coach per time window

Definition at line 1658 of file ServerSettings.cpp.

int ServerSettings::getClangDefineWin   const
 

Get method for the 'iClangDefineWin' member variable.

Returns:
the number of define messages by the coach per time window

Definition at line 1624 of file ServerSettings.cpp.

int ServerSettings::getClangInfoWin   const
 

Get method for the 'iClangInfoWin' member variable.

Returns:
the number of info messages by the coach per time window

Definition at line 1675 of file ServerSettings.cpp.

int ServerSettings::getClangMessDelay   const
 

Get method for the 'iClangMessDelay' member variable.

Returns:
the delay of coach messages, i.e. the number of cycles between the send to a player and the receival of the message

Definition at line 1694 of file ServerSettings.cpp.

int ServerSettings::getClangMessPerCycle   const
 

Get method for the 'iClangMessPerCycle' member variable.

Returns:
the number of coach messages per cycle

Definition at line 1711 of file ServerSettings.cpp.

int ServerSettings::getClangMetaWin   const
 

Get method for the 'iClangMetaWin' member variable.

Returns:
the number of meta messages by the coach per time window

Definition at line 1641 of file ServerSettings.cpp.

int ServerSettings::getClangWinSize   const
 

Get method for the 'iClangWinSize' member variable.

Returns:
time window which controls how many coach messages can be sent

Definition at line 1607 of file ServerSettings.cpp.

int ServerSettings::getCoachPort   const
 

Get method for the 'iCoachPort' member variable.

Returns:
the port number for a coach connection

Definition at line 1540 of file ServerSettings.cpp.

Referenced by main().

double ServerSettings::getDashPowerRate   const
 

Get method for the 'dDashPowerRate' member variable.

Returns:
the rate by which the 'Power' argument in a 'dash' command is multiplied (thus determining the amount of displacement of the player as a result of the 'dash')

Definition at line 1268 of file ServerSettings.cpp.

Referenced by WorldModel::getPowerForDash().

double ServerSettings::getDashPowerRateDeltaMax   const
 

Get method for the 'dDashPowerRateDeltaMax' member variable.

Returns:
the maximum delta for adjusting dash_power_rate

Definition at line 2249 of file ServerSettings.cpp.

double ServerSettings::getDashPowerRateDeltaMin   const
 

Get method for the 'dDashPowerRateDeltaMin' member variable.

Returns:
the minimum delta for adjusting dash_power_rate

Definition at line 2232 of file ServerSettings.cpp.

int ServerSettings::getDropBallTime   const
 

Get method for the 'iDropBallTime' member variable.

Returns:
the number of cycles to wait until dropping the ball automatically for free kicks, corner kicks, etc.

Definition at line 1826 of file ServerSettings.cpp.

double ServerSettings::getEffortDec   const
 

Get method for the 'dEffortDec' member variable.

Returns:
the decrement step per cycle for player effort capacity

Definition at line 803 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortDecThr   const
 

Get method for the 'dEffortDecThr' member variable.

Returns:
the percentage of stamina_max below which player effort capacity decreases

Definition at line 786 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortInc   const
 

Get method for the 'dEffortInc' member variable.

Returns:
the increment step per cycle for player effort capacity

Definition at line 838 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortIncThr   const
 

Get method for the 'dEffortIncThr' member variable.

Returns:
the percentage of stamina_max above which player effort capacity increases

Definition at line 821 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortMax   const
 

Get method for the 'dEffortMax' member variable.

Returns:
the maximum player effort capacity

Definition at line 2595 of file ServerSettings.cpp.

double ServerSettings::getEffortMaxDeltaFactor   const
 

Get method for the 'dEffortMaxDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for effort_max

Definition at line 2368 of file ServerSettings.cpp.

double ServerSettings::getEffortMin   const
 

Get method for the 'dEffortMin' member variable.

Returns:
the minimum value for player effort

Definition at line 854 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getEffortMinDeltaFactor   const
 

Get method for the 'dEffortMinDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for effort_min

Definition at line 2385 of file ServerSettings.cpp.

double ServerSettings::getExtraStamina   const
 

Get method for the 'dExtraStamina' member variable.

Returns:
the amount of extra stamina that can be added to the maximum stamina of a player. This value depends on the type of heterogeneous player.

Definition at line 2652 of file ServerSettings.cpp.

double ServerSettings::getExtraStaminaDeltaMax   const
 

Get method for the 'dExtraStaminaDeltaMax' member variable.

Returns:
the maximum delta for adjusting extra_stamina

Definition at line 2351 of file ServerSettings.cpp.

double ServerSettings::getExtraStaminaDeltaMin   const
 

Get method for the 'dExtraStaminaDeltaMin' member variable.

Returns:
the minimum delta for adjusting extra_stamina

Definition at line 2334 of file ServerSettings.cpp.

bool ServerSettings::getForbidKickOffOffside   const
 

Get method for the 'bForbidKickOffOffside' member variable.

Returns:
a boolean flag indicating whether a kick from offside position is allowed

Definition at line 1898 of file ServerSettings.cpp.

bool ServerSettings::getFullStateLeft   const
 

Get method for the 'bFullStateL' member variable.

Returns:
boolean representing whether full state is on for the left team

Definition at line 2070 of file ServerSettings.cpp.

References bFullStateL.

Referenced by WorldModel::isFullStateOn().

bool ServerSettings::getFullStateRight   const
 

Get method for the 'bFullStateR' member variable.

Returns:
boolean representing whether full state is on for the right team

Definition at line 2045 of file ServerSettings.cpp.

References bFullStateR.

Referenced by WorldModel::isFullStateOn().

int ServerSettings::getGoalieMaxMoves   const
 

Get method for the 'iGoalieMaxMoves' member variable.

Returns:
the maximum number of 'move' actions allowed for a goalkeeper after a catch

Definition at line 1040 of file ServerSettings.cpp.

double ServerSettings::getGoalWidth   const
 

Get method for the 'dGoalWidth' member variable.

Returns:
the width of the goal

Definition at line 585 of file ServerSettings.cpp.

Referenced by BasicPlayer::defendGoalLine(), Player::deMeer5(), WorldModel::getGlobalPosition(), WorldModel::getOppGoalieType(), WorldModel::getOwnGoalieType(), WorldModel::getPosOpponentGoal(), WorldModel::getPosOwnGoal(), BasicPlayer::interceptScoringAttempt(), WorldModel::isBallHeadingToGoal(), and WorldModel::isBeforeGoal().

int ServerSettings::getHalfTime   const
 

Get method for the 'iHalfTime' member variable.

Returns:
the length (in seconds) of a single game half

Definition at line 1808 of file ServerSettings.cpp.

Referenced by WorldModel::logCircle(), WorldModel::logCoordInfo(), WorldModel::logDrawInfo(), WorldModel::logLine(), and Player::mainLoop().

int ServerSettings::getHearDecay   const
 

Get method for the 'iHearDecay' member variable.

Returns:
the decay rate of player hearing capacity, i.e. minimum number of cycles for iHearInc messages

Definition at line 913 of file ServerSettings.cpp.

Referenced by Player::shallISaySomething().

int ServerSettings::getHearInc   const
 

Get method for the 'iHearInc' member variable.

Returns:
the minimum hearing capacity of a player, i.e. the number of messages a player can hear in iHearDecay simulation cycles

Definition at line 895 of file ServerSettings.cpp.

int ServerSettings::getHearMax   const
 

Get method for the 'iHearMax' member variable.

Returns:
the maximum hearing capacity of a player (a player can hear iHearInc messages in iHearDecay simulation cycles)

Definition at line 876 of file ServerSettings.cpp.

double ServerSettings::getInertiaMoment   const
 

Get method for the 'dInertiaMoment' member variable.

Returns:
the inertia moment of a player (affects actual turn angle depending on speed)

Definition at line 931 of file ServerSettings.cpp.

double ServerSettings::getInertiaMomentDeltaFactor   const
 

Get method for the 'dInertiaMomentDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for inertia_moment

Definition at line 2215 of file ServerSettings.cpp.

double ServerSettings::getKickableMargin   const
 

Get method for the 'dKickableMargin' member variable.

Returns:
the margin around a player in which the ball is kickable (kickable area thus equals kickable_margin + ball_size + player_size)

Definition at line 1229 of file ServerSettings.cpp.

Referenced by SenseHandler::analyzeServerParamMessage(), WorldModel::getActualKickPowerRate(), BasicPlayer::interceptClose(), BasicPlayer::kickBallCloseToBody(), and BasicPlayer::kickTo().

double ServerSettings::getKickableMarginDeltaMax   const
 

Get method for the 'dKickableMarginDeltaMax' member variable.

Returns:
the maximum delta for adjusting kickable_margin

Definition at line 2300 of file ServerSettings.cpp.

double ServerSettings::getKickableMarginDeltaMin   const
 

Get method for the 'dKickableMarginDeltaMin' member variable.

Returns:
the minimum delta for adjusting kickable_margin

Definition at line 2283 of file ServerSettings.cpp.

double ServerSettings::getKickPowerRate   const
 

Get method for the 'dKickPowerRate' member variable.

Returns:
the rate by which the 'Power' argument in a 'kick' command is multiplied (thus determining the amount of displacement of the ball as a result of the 'kick')

Definition at line 1288 of file ServerSettings.cpp.

Referenced by WorldModel::getActualKickPowerRate(), and BasicPlayer::kickTo().

double ServerSettings::getKickRand   const
 

Get method for the 'dKickRand' member variable.

Returns:
the random error in kick direction

Definition at line 1304 of file ServerSettings.cpp.

double ServerSettings::getKickRandDeltaFactor   const
 

Get method for the 'dKickRandDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for kick_rand

Definition at line 2317 of file ServerSettings.cpp.

char * ServerSettings::getLogFile  
 

Get method for the 'strLogFile' member variable.

Returns:
name of the server log in which all actions received are stored

Definition at line 2022 of file ServerSettings.cpp.

bool ServerSettings::getLogTimes   const
 

Get method for the 'bLogTimes' member variable.

Returns:
a boolean flag indicating whether ms should be written between cycles in log file

Definition at line 2005 of file ServerSettings.cpp.

double ServerSettings::getMaximalKickDist   const
 

Get method for the 'dMaximalKickDist' member variable.

Returns:
the maximum distance from a player for which the ball is still kickable

Definition at line 2670 of file ServerSettings.cpp.

Referenced by Player::amIAgentToSaySomething(), WorldModel::calculateStateBall(), BasicPlayer::freezeBall(), BasicPlayer::getActiveInterceptionPointBall(), BasicPlayer::getInterceptionPointBall(), BasicPlayer::holdBall(), BasicPlayer::interceptClose(), WorldModel::isBallKickable(), BasicPlayer::kickTo(), Player::sayBallStatus(), BasicPlayer::turnWithBallTo(), WorldModel::updateAgentAndBallAfterSense(), and WorldModel::updateBallAfterKick().

int ServerSettings::getMaxMoment   const
 

Get method for the 'iMaxMoment' member variable.

Returns:
the maximum angle for a turn/kick

Definition at line 1420 of file ServerSettings.cpp.

Referenced by WorldModel::getAngleForTurn(), SoccerCommand::makeCatchCommand(), SoccerCommand::makeKickCommand(), SoccerCommand::makePointToCommand(), and SoccerCommand::makeTurnCommand().

int ServerSettings::getMaxNeckAng   const
 

Get method for the 'iMaxNeckAng' member variable.

Returns:
the maximum neck angle relative to body

Definition at line 1487 of file ServerSettings.cpp.

Referenced by BasicPlayer::turnNeckToPoint().

int ServerSettings::getMaxNeckMoment   const
 

Get method for the 'iMaxNeckMoment' member variable.

Returns:
the maximum angle for a turnneck

Definition at line 1452 of file ServerSettings.cpp.

Referenced by SoccerCommand::makeTurnNeckCommand().

int ServerSettings::getMaxPower   const
 

Get method for the 'iMaxPower' member variable.

Returns:
the maximum power for a dash/kick

Definition at line 1388 of file ServerSettings.cpp.

Referenced by BasicPlayer::accelerateBallToVelocity(), BasicPlayer::freezeBall(), BasicPlayer::getActiveInterceptionPointBall(), WorldModel::getEffectiveMaxSpeed(), BasicPlayer::getInterceptionPointBall(), WorldModel::getPowerForDash(), BasicPlayer::kickBallCloseToBody(), BasicPlayer::kickTo(), SoccerCommand::makeDashCommand(), SoccerCommand::makeKickCommand(), SoccerCommand::makeTackleCommand(), and WorldModel::predictNrCyclesForDistance().

int ServerSettings::getMinMoment   const
 

Get method for the 'iMinMoment' member variable.

Returns:
the minimum angle for a turn/kick

Definition at line 1436 of file ServerSettings.cpp.

Referenced by WorldModel::getAngleForTurn(), SoccerCommand::makeCatchCommand(), SoccerCommand::makeKickCommand(), SoccerCommand::makePointToCommand(), and SoccerCommand::makeTurnCommand().

int ServerSettings::getMinNeckAng   const
 

Get method for the 'iMinNeckAng' member variable.

Returns:
the minimum neck angle relative to body

Definition at line 1506 of file ServerSettings.cpp.

Referenced by BasicPlayer::turnNeckToPoint().

int ServerSettings::getMinNeckMoment   const
 

Get method for the 'iMinNeckMoment' member variable.

Returns:
the minimum angle for a turnneck

Definition at line 1468 of file ServerSettings.cpp.

Referenced by SoccerCommand::makeTurnNeckCommand().

int ServerSettings::getMinPower   const
 

Get method for the 'iMinPower' member variable.

Returns:
the minimum power for a dash/kick

Definition at line 1404 of file ServerSettings.cpp.

Referenced by WorldModel::getPowerForDash(), SoccerCommand::makeDashCommand(), SoccerCommand::makeKickCommand(), and SoccerCommand::makeTackleCommand().

double ServerSettings::getNewDashPowerRateDeltaMax   const
 

Get method for the 'dNewDashPowerRateDeltaMax' member variable.

Returns:
the maximum delta for adjusting dash_power_rate

Definition at line 2419 of file ServerSettings.cpp.

double ServerSettings::getNewDashPowerRateDeltaMin   const
 

Get method for the 'dNewDashPowerRateDeltaMin' member variable.

Returns:
the minimum delta for adjusting dash_power_rate

Definition at line 2402 of file ServerSettings.cpp.

double ServerSettings::getNewStaminaIncMaxDeltaFactor   const
 

Get method for the 'dNewStaminaIncMaxDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for stamina_inc_max

Definition at line 2436 of file ServerSettings.cpp.

double ServerSettings::getOffsideActiveAreaSize   const
 

Get method for the 'dOffsideActiveAreaSize' member variable.

Returns:
the offside active area size, i.e. radius of circle around the ball in which player can be offside

Definition at line 1880 of file ServerSettings.cpp.

double ServerSettings::getOffsideKickMargin   const
 

Get method for the 'dOffsideKickMargin' member variable.

Returns:
the offside kick margin, i.e. the minimum distance to the ball for offending players when a free kick for offside is taken

Definition at line 1917 of file ServerSettings.cpp.

int ServerSettings::getOlCoachPort   const
 

Get method for the 'iOlCoachPort' member variable.

Returns:
the port number for an online coach connection

Definition at line 1557 of file ServerSettings.cpp.

bool ServerSettings::getPenAllowMultKicks   const
 

Set method for the 'bPenAllowMultKicks' variable that indicates whether the penalty kicker is allowed to kick the ball multiple times.

Definition at line 2483 of file ServerSettings.cpp.

References bPenAllowMultKicks.

Referenced by Player::performPenalty().

double ServerSettings::getPenDistX   const
 

Get method for the 'dPenDistX' variable that indicates where the ball will be positioned in front of the goalline in case of a penalty kick.

Definition at line 2451 of file ServerSettings.cpp.

References dPenDistX.

Referenced by Player::performPenalty().

double ServerSettings::getPenMaxGoalieDistX   const
 

Get method for the 'dPenMaxGoalieDistX' variable that indicates how far the goalie is allowed to move outside its goal in case of a penalty kick.

Definition at line 2468 of file ServerSettings.cpp.

References dPenMaxGoalieDistX.

double ServerSettings::getPlayerAccelMax   const
 

Get method for the 'dPlayerAccelMax' member variable.

Returns:
the maximum acceleration of a player per cycle

Definition at line 685 of file ServerSettings.cpp.

double ServerSettings::getPlayerDecay   const
 

Get method for the 'dPlayerDecay' member variable.

Returns:
the player speed decay per cycle

Definition at line 620 of file ServerSettings.cpp.

Referenced by WorldModel::calculateStateAgent(), BasicPlayer::getActiveInterceptionPointBall(), BasicPlayer::getInterceptionPointBall(), WorldModel::getPowerForDash(), WorldModel::isCollisionAfterCommand(), WorldModel::predictFinalAgentPos(), WorldModel::updateAgentAndBallAfterSense(), and WorldModel::updateDynamicObjectForNextCycle().

double ServerSettings::getPlayerDecayDeltaMax   const
 

Get method for the 'dPlayerDecayDeltaMax' member variable.

Returns:
the maximum delta for adjusting player_decay

Definition at line 2198 of file ServerSettings.cpp.

double ServerSettings::getPlayerDecayDeltaMin   const
 

Get method for the 'dPlayerDecayDeltaMin' member variable.

Returns:
the minimum delta for adjusting player_decay

Definition at line 2181 of file ServerSettings.cpp.

double ServerSettings::getPlayerRand   const
 

Get method for the 'dPlayerRand' member variable.

Returns:
the random error in player movement

Definition at line 636 of file ServerSettings.cpp.

Referenced by WorldModel::calculateStatePlayer(), WorldModel::getEffectiveMaxSpeed(), and WorldModel::isCollisionAfterCommand().

double ServerSettings::getPlayerSize   const
 

Get method for the 'dPlayerSize' member variable.

Returns:
the size (=radius) of a player

Definition at line 604 of file ServerSettings.cpp.

Referenced by SenseHandler::analyzeServerParamMessage(), BasicPlayer::collideWithBall(), WorldModel::getActualKickPowerRate(), BasicPlayer::interceptClose(), WorldModel::isCollisionAfterCommand(), BasicPlayer::kickBallCloseToBody(), BasicPlayer::kickTo(), and WorldModel::updateAgentAndBallAfterSense().

double ServerSettings::getPlayerSizeDeltaFactor   const
 

Get method for the 'dPlayerSizeDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for player_size

Definition at line 2266 of file ServerSettings.cpp.

double ServerSettings::getPlayerSpeedMax   const
 

Get method for the 'dPlayerSpeedMax' member variable.

Returns:
the maximum speed of a player

Definition at line 668 of file ServerSettings.cpp.

Referenced by WorldModel::calculateStatePlayer(), BasicPlayer::collideWithBall(), WorldModel::createInterceptFeatures(), WorldModel::getFastestInSetTo(), BasicPlayer::getInterceptionPointBall(), WorldModel::getMaxTraveledDistance(), WorldModel::getPowerForDash(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), WorldModel::predictNrCyclesForDistance(), WorldModel::predictNrCyclesToObject(), and WorldModel::predictStateAfterDash().

double ServerSettings::getPlayerSpeedMaxDeltaMax   const
 

Get method for the 'dPlayerSpeedMaxDeltaMax' member variable.

Returns:
the maximum delta for adjusting player_speed_max

Definition at line 2147 of file ServerSettings.cpp.

double ServerSettings::getPlayerSpeedMaxDeltaMin   const
 

Get method for the 'dPlayerSpeedMaxDeltaMin' member variable.

Returns:
the minimum delta for adjusting player_speed_max

Definition at line 2130 of file ServerSettings.cpp.

int ServerSettings::getPlayerTypes   const
 

Get method for the 'iPlayerTypes' member variable.

Returns:
the number of player types including the default player type

Definition at line 2090 of file ServerSettings.cpp.

double ServerSettings::getPlayerWeight   const
 

Get method for the 'dPlayerWeight' member variable.

Returns:
the weight of a player (for wind)

Definition at line 652 of file ServerSettings.cpp.

int ServerSettings::getPort   const
 

Get method for the 'iPort' member variable.

Returns:
the port number for a player connection

Definition at line 1523 of file ServerSettings.cpp.

Referenced by main().

double ServerSettings::getQuantizeStep   const
 

Get method for the 'dQuantizeStep' member variable.

Returns:
the quantization step for the distance of moving objects

Definition at line 1355 of file ServerSettings.cpp.

double ServerSettings::getQuantizeStepL   const
 

Get method for the 'dQuantizeStepL' member variable.

Returns:
the quantization step for the distance of landmarks

Definition at line 1372 of file ServerSettings.cpp.

Referenced by WorldModel::calculateStateAgent2(), WorldModel::checkParticlesAgent(), and WorldModel::initParticlesAgent().

bool ServerSettings::getRecordLog   const
 

Get method for the 'bRecordLog' member variable.

Returns:
a boolean flag indicating whether a log record for a game should be created

Definition at line 1969 of file ServerSettings.cpp.

int ServerSettings::getRecordVersion   const
 

Get method for the 'iRecordVersion' member variable.

Returns:
the type of log record

Definition at line 1951 of file ServerSettings.cpp.

double ServerSettings::getRecoverDec   const
 

Get method for the 'dRecoverDec' member variable.

Returns:
the decrement step per cycle for player recovery

Definition at line 752 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getRecoverDecThr   const
 

Get method for the 'dRecoverDecThr' member variable.

Returns:
percentage of stamina_max below which player recovery decreases

Definition at line 735 of file ServerSettings.cpp.

Referenced by Player::deMeer5(), WorldModel::getAgentTiredNess(), Player::performPenalty(), and WorldModel::predictStaminaAfterDash().

double ServerSettings::getRecoverMin   const
 

Get method for the 'dRecoverMin' member variable.

Returns:
the minimum player recovery

Definition at line 768 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

int ServerSettings::getRecvStep   const
 

Get method for the 'iRecvStep' member variable.

Returns:
the length of the interval (in ms) for accepting commands from a player

Definition at line 1789 of file ServerSettings.cpp.

int ServerSettings::getSayCoachCntMax   const
 

Get method for the 'iSayCoachCntMax' member variable.

Returns:
the maximum number of coach messages possible

Definition at line 1574 of file ServerSettings.cpp.

int ServerSettings::getSayCoachMsgSize   const
 

Get method for the 'iSayCoachMsgSize' member variable.

Returns:
the maximum size of coach messages

Definition at line 1590 of file ServerSettings.cpp.

int ServerSettings::getSayMsgSize   const
 

Get method for the 'iSayMsgSize' member variable.

Returns:
the maximum length (in bytes) of a spoken message

Definition at line 1843 of file ServerSettings.cpp.

bool ServerSettings::getSendLog   const
 

Get method for the 'bSendLog' member variable.

Returns:
a boolean flag indicating whether a send client command log for a game should be created

Definition at line 1987 of file ServerSettings.cpp.

int ServerSettings::getSendStep   const
 

Get method for the 'iSendStep' member variable.

Returns:
the length of the interval (in ms) between visual messages to a player in the standard view mode

Definition at line 1769 of file ServerSettings.cpp.

References iSendStep.

int ServerSettings::getSendViStep   const
 

Get method for the 'iSendViStep' member variable.

Returns:
the interval of the coach's look, i.e. the length of the interval (in ms) between visual messages to the coach

Definition at line 1730 of file ServerSettings.cpp.

References iSendViStep.

int ServerSettings::getSenseBodyStep   const
 

Get method for the 'iSenseBodyStep' member variable.

Returns:
the length of the interval (in ms) between sense_body information messages

Definition at line 949 of file ServerSettings.cpp.

References iSenseBodyStep.

int ServerSettings::getSimulatorStep   const
 

Get method for the 'iSimulatorStep' member variable.

Returns:
the length (in ms) of a simulator cycle

Definition at line 1749 of file ServerSettings.cpp.

References iSimulatorStep.

Referenced by SenseHandler::analyzeSenseMessage(), WorldModel::logCircle(), WorldModel::logCoordInfo(), WorldModel::logDrawInfo(), WorldModel::logLine(), Player::mainLoop(), ActHandler::sendMessage(), and SenseHandler::SenseHandler().

int ServerSettings::getSlowDownFactor   const
 

Get method for the 'iSlowDownFactor' member variable.

Returns:
the factor to slow down the simulator and send intervals

Definition at line 2612 of file ServerSettings.cpp.

double ServerSettings::getStaminaIncMax   const
 

Get method for the 'dStaminaIncMax' member variable.

Returns:
the maximum stamina increase of a player per cycle

Definition at line 718 of file ServerSettings.cpp.

Referenced by WorldModel::predictStaminaAfterDash().

double ServerSettings::getStaminaIncMaxDeltaFactor   const
 

Get method for the 'dStaminaIncMaxDeltaFactor' member variable.

Returns:
the amount by which delta is multiplied for stamina_inc_max

Definition at line 2164 of file ServerSettings.cpp.

double ServerSettings::getStaminaMax   const
 

Get method for the 'dStaminaMax' member variable.

Returns:
the maximum stamina of a player

Definition at line 701 of file ServerSettings.cpp.

Referenced by Player::deMeer5(), WorldModel::getAgentTiredNess(), Player::performPenalty(), WorldModel::predictStaminaAfterDash(), and WorldModel::WorldModel().

int ServerSettings::getSubsMax   const
 

Get method for the 'iSubsMax' member variable.

Returns:
the maximum number of substitutions allowed during a game (this value also indicates the maximum number of players allowed for each type)

Definition at line 2113 of file ServerSettings.cpp.

bool ServerSettings::getSynchMode   const
 

Get method for the 'bSynchMode' member variable.

Returns:
boolean indicating whether synchronization mode is used

Definition at line 2038 of file ServerSettings.cpp.

Referenced by SenseHandler::analyzeSenseMessage(), Player::mainLoop(), BasicCoach::mainLoopNormal(), WorldModel::processRecvThink(), WorldModel::setTimeLastSeeMessage(), and WorldModel::setTimeLastSenseMessage().

double ServerSettings::getTackleBackDist   const
 

Get method for the 'dTackleBackDist' variable that indicates the maximum x distance to the back of the agent in which a tackle can be performed. The probabiltiy of succeeding depends on this distance.

Definition at line 2517 of file ServerSettings.cpp.

References dTackleBackDist.

Referenced by WorldModel::getProbTackleSucceeds().

int ServerSettings::getTackleCycles   const
 

Get method for the 'dTackleCycles' variable that indicates how many cycles a player is immobile after performing a tackle.

Definition at line 2564 of file ServerSettings.cpp.

References iTackleCycles.

Referenced by WorldModel::getTackleExpires(), and WorldModel::processNewObjectInfo().

double ServerSettings::getTackleDist   const
 

Get method for the 'dTackleDist' variable that indicates the maximum x distance to the front of the agent in which a tackle can be performed. The probabiltiy of succeeding depends on this distance.

Definition at line 2500 of file ServerSettings.cpp.

References dTackleDist.

Referenced by WorldModel::getProbTackleSucceeds().

double ServerSettings::getTackleExponent   const
 

Get method for the 'dTackleExponent' variable that indicates the exponent used in order to calculate the probability that the tackle will succeed.

Definition at line 2549 of file ServerSettings.cpp.

References dTackleExponent.

Referenced by WorldModel::getProbTackleSucceeds().

double ServerSettings::getTacklePowerRate   const
 

Get method for the 'dTacklePowerRate' variable that indicates with which power the ball is accelerated after a tackle.

Definition at line 2579 of file ServerSettings.cpp.

References dTacklePowerRate.

double ServerSettings::getTackleWidth   const
 

Get method for the 'dTackleWidth' variable that indicates the maximum y distance to the agent in which a tackle can be performed. The probabiltiy of succeeding depends on this distance.

Definition at line 2534 of file ServerSettings.cpp.

References dTackleWidth.

Referenced by WorldModel::getProbTackleSucceeds().

bool ServerSettings::getUseOffside   const
 

Get method for the 'bUseOffside' member variable.

Returns:
a boolean flag indicating whether the offside rule should be applied or not

Definition at line 1862 of file ServerSettings.cpp.

bool ServerSettings::getVerbose   const
 

Get method for the 'bVerbose' member variable.

Returns:
a boolean flag indicating whether the verbose mode is active or not; in verbose mode the server sends extra error-information

Definition at line 1935 of file ServerSettings.cpp.

double ServerSettings::getVisibleAngle   const
 

Get method for the 'dVisibleAngle' member variable.

Returns:
the angle of the view cone of a player in the standard view mode

Definition at line 1321 of file ServerSettings.cpp.

double ServerSettings::getVisibleDistance   const
 

Get method for the 'dVisibleDistance' member variable.

Returns:
the distance within which objects are always 'visible' (even when not in view cone)

Definition at line 2632 of file ServerSettings.cpp.

Referenced by Player::amIAgentToSaySomething(), SenseHandler::analyzeSeeMessage(), SenseHandler::analyzeSenseMessage(), WorldModel::calculateStateBall(), WorldModel::getProbTackleSucceeds(), WorldModel::mapUnknownPlayers(), WorldModel::processPlayerMessage(), WorldModel::removeGhosts(), WorldModel::updateAgentAndBallAfterSense(), and WorldModel::updateAll().

double ServerSettings::getWindDir   const
 

Get method for the 'dWindDir' member variable.

Returns:
the direction of the wind

Definition at line 1175 of file ServerSettings.cpp.

double ServerSettings::getWindForce   const
 

Get method for the 'dWindForce' member variable.

Returns:
the force of the wind

Definition at line 1159 of file ServerSettings.cpp.

double ServerSettings::getWindRand   const
 

Get method for the 'dWindRand' member variable.

Returns:
the random error in wind direction

Definition at line 1191 of file ServerSettings.cpp.

bool ServerSettings::getWindRandom   const
 

Get method for the 'bWindRandom' member variable.

Returns:
boolean indicating whether wind force and direction are random

Definition at line 1207 of file ServerSettings.cpp.

References bWindRandom.

bool ServerSettings::readValues const char *    strFileName,
const char *    strSeparator
[virtual]
 

This method is originally defined in the superclass GenericValues and is overridden in this subclass. It reads the values from a server configuration file and assigns them to the proper variables in this class.

Parameters:
strFileName  a string representing the name of a configuration file
strSeparator  a string representing the separator between the name of a variable and its value
Returns:
a boolean indicating whether the values were read correctly

Reimplemented from GenericValues.

Definition at line 563 of file ServerSettings.cpp.

References dBallSize, dKickableMargin, dMaximalKickDist, dPlayerSize, and GenericValues::readValues().

Referenced by main().

bool ServerSettings::setAudioCutDist double    d
 

Set method for the 'dAudioCutDist' member variable.

Parameters:
d  a double value representing a new maximum distance over which a spoken message can be heard
Returns:
a boolean indicating whether the update was successful

Definition at line 1330 of file ServerSettings.cpp.

References dAudioCutDist.

bool ServerSettings::setBallAccelMax double    d
 

Set method for the 'dBallAccelMax' member variable.

Parameters:
d  a double value representing a new maximum acceleration of the ball per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1135 of file ServerSettings.cpp.

References dBallAccelMax.

bool ServerSettings::setBallDecay double    d
 

Set method for the 'dBallDecay' member variable.

Parameters:
d  a double value representing a new ball speed decay per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1067 of file ServerSettings.cpp.

References dBallDecay.

bool ServerSettings::setBallRand double    d
 

Set method for the 'dBallRand' member variable.

Parameters:
d  a double value representing a new random error in the ball movement
Returns:
a boolean indicating whether the update was successful

Definition at line 1086 of file ServerSettings.cpp.

References dBallRand.

bool ServerSettings::setBallSize double    d
 

Set method for the 'dBallSize' member variable.

Parameters:
d  a double value representing a new ball size
Returns:
a boolean indicating whether the update was successful

Definition at line 1048 of file ServerSettings.cpp.

References dBallSize, dKickableMargin, dMaximalKickDist, and dPlayerSize.

bool ServerSettings::setBallSpeedMax double    d
 

Set method for the 'dBallSpeedMax' member variable.

Parameters:
d  a double value representing a new maximum speed of the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 1118 of file ServerSettings.cpp.

References dBallSpeedMax.

bool ServerSettings::setBallWeight double    d
 

Set method for the 'dBallWeight' member variable.

Parameters:
d  a double value representing a new weight of the ball (for wind)
Returns:
a boolean indicating whether the update was successful

Definition at line 1102 of file ServerSettings.cpp.

References dBallWeight.

bool ServerSettings::setCatchableAreaL double    d
 

Set method for the 'dCatchableAreaL' member variable.

Parameters:
d  a double value representing a new length of the area around the goalkeeper in which he can catch the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 960 of file ServerSettings.cpp.

References dCatchableAreaL.

bool ServerSettings::setCatchableAreaW double    d
 

Set method for the 'dCatchableAreaW' member variable.

Parameters:
d  a double value representing a new width of the area around the goalkeeper in which he can catch the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 978 of file ServerSettings.cpp.

References dCatchableAreaW.

bool ServerSettings::setCatchBanCycle int    i
 

Set method for the 'iCatchBanCycle' member variable.

Parameters:
i  an integer value representing a new number of cycles after a catch in which the goalkeeper cannot catch again
Returns:
a boolean indicating whether the update was successful

Definition at line 1013 of file ServerSettings.cpp.

References iCatchBanCycle.

bool ServerSettings::setCatchProbability double    d
 

Set method for the 'dCatchProbability' member variable.

Parameters:
d  a double value representing a new probability for a goalkeeper to catch the ball
Returns:
a boolean indicating whether the update was successful

Definition at line 996 of file ServerSettings.cpp.

References dCatchProbability.

bool ServerSettings::setCkickMargin double    d
 

Set method for the 'dCkickMargin' member variable.

Parameters:
d  a double value representing a new corner kick margin, i.e. a new minimum distance to the ball for offending players when a corner kick is taken
Returns:
a boolean indicating whether the update was successful

Definition at line 1239 of file ServerSettings.cpp.

References dCkickMargin.

bool ServerSettings::setClangAdviceWin int    i
 

Set method for the 'iClangAdviceWin' member variable.

Parameters:
i  an integer value representing a new number of advice messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1650 of file ServerSettings.cpp.

References iClangAdviceWin.

bool ServerSettings::setClangDefineWin int    i
 

Set method for the 'iClangDefineWin' member variable.

Parameters:
i  an integer value representing a new number of define messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1616 of file ServerSettings.cpp.

References iClangDefineWin.

bool ServerSettings::setClangInfoWin int    i
 

Set method for the 'iClangInfoWin' member variable.

Parameters:
i  an integer value representing a new number of info messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1667 of file ServerSettings.cpp.

References iClangInfoWin.

bool ServerSettings::setClangMessDelay int    i
 

Set method for the 'iClangMessDelay' member variable.

Parameters:
i  an integer value representing a new delay of coach messages, i.e. a new number of cycles between the send to a player and the receival of the message
Returns:
a boolean indicating whether the update was successful

Definition at line 1685 of file ServerSettings.cpp.

References iClangMessDelay.

bool ServerSettings::setClangMessPerCycle int    i
 

Set method for the 'iClangMessPerCycle' member variable.

Parameters:
i  an integer value representing a new number of coach messages per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1703 of file ServerSettings.cpp.

References iClangMessPerCycle.

bool ServerSettings::setClangMetaWin int    i
 

Set method for the 'iClangMetaWin' member variable.

Parameters:
i  an integer value representing a new number of meta messages by the coach per time window
Returns:
a boolean indicating whether the update was successful

Definition at line 1633 of file ServerSettings.cpp.

References iClangMetaWin.

bool ServerSettings::setClangWinSize int    i
 

Set method for the 'iClangWinSize' member variable.

Parameters:
i  an integer value representing a new time window which controls how many coach messages can be sent
Returns:
a boolean indicating whether the update was successful

Definition at line 1599 of file ServerSettings.cpp.

References iClangWinSize.

bool ServerSettings::setCoachPort int    i
 

Set method for the 'iCoachPort' member variable.

Parameters:
i  an integer value representing a new port number for a coach connection
Returns:
a boolean indicating whether the update was successful

Definition at line 1532 of file ServerSettings.cpp.

References iCoachPort.

bool ServerSettings::setDashPowerRate double    d
 

Set method for the 'dDashPowerRate' member variable.

Parameters:
d  a double value representing a new rate by which the 'Power' argument in a 'dash' command is multiplied (thus determining the amount of displacement of the player as a result of the 'dash')
Returns:
a boolean indicating whether the update was successful

Definition at line 1258 of file ServerSettings.cpp.

References dDashPowerRate.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setDashPowerRateDeltaMax double    d
 

Set method for the 'dDashPowerRateDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting dash_power_rate
Returns:
a boolean indicating whether the update was successful

Definition at line 2241 of file ServerSettings.cpp.

References dDashPowerRateDeltaMax.

bool ServerSettings::setDashPowerRateDeltaMin double    d
 

Set method for the 'dDashPowerRateDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting dash_power_rate
Returns:
a boolean indicating whether the update was successful

Definition at line 2224 of file ServerSettings.cpp.

References dDashPowerRateDeltaMin.

bool ServerSettings::setDropBallTime int    i
 

Set method for the 'iDropBallTime' member variable.

Parameters:
i  an integer value representing a new number of cycles to wait until dropping the ball automatically for free kicks, corner kicks, etc.
Returns:
a boolean indicating whether the update was successful

Definition at line 1817 of file ServerSettings.cpp.

References iDropBallTime.

bool ServerSettings::setEffortDec double    d
 

Set method for the 'dEffortDec' member variable.

Parameters:
d  a double value representing a new decrement step per cycle for player effort capacity
Returns:
a boolean indicating whether the update was successful

Definition at line 795 of file ServerSettings.cpp.

References dEffortDec.

bool ServerSettings::setEffortDecThr double    d
 

Set method for the 'dEffortDecThr' member variable.

Parameters:
d  a double value representing a new percentage of stamina_max below which player effort capacity decreases
Returns:
a boolean indicating whether the update was successful

Definition at line 777 of file ServerSettings.cpp.

References dEffortDecThr.

bool ServerSettings::setEffortInc double    d
 

Set method for the 'dEffortInc' member variable.

Parameters:
d  a double value representing a new increment step per cycle for player effort capacity
Returns:
a boolean indicating whether the update was successful

Definition at line 830 of file ServerSettings.cpp.

References dEffortInc.

bool ServerSettings::setEffortIncThr double    d
 

Set method for the 'dEffortIncThr' member variable.

Parameters:
d  a double value representing a new percentage of stamina_max above which player effort capacity increases
Returns:
a boolean indicating whether the update was successful

Definition at line 812 of file ServerSettings.cpp.

References dEffortIncThr.

bool ServerSettings::setEffortMax double    d
 

Set method for the 'dEffortMax' member variable.

Parameters:
d  a double value representing a new maximum player effort capacity
Returns:
a boolean indicating whether the update was successful

Definition at line 2587 of file ServerSettings.cpp.

References dEffortMax.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setEffortMaxDeltaFactor double    d
 

Set method for the 'dEffortMaxDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for effort_max
Returns:
a boolean indicating whether the update was successful

Definition at line 2360 of file ServerSettings.cpp.

References dEffortMaxDeltaFactor.

bool ServerSettings::setEffortMin double    d
 

Set method for the 'dEffortMin' member variable.

Parameters:
d  a double value representing a new minimum value for player effort
Returns:
a boolean indicating whether the update was successful

Definition at line 846 of file ServerSettings.cpp.

References dEffortMin.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setEffortMinDeltaFactor double    d
 

Set method for the 'dEffortMinDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for effort_min
Returns:
a boolean indicating whether the update was successful

Definition at line 2377 of file ServerSettings.cpp.

References dEffortMinDeltaFactor.

bool ServerSettings::setExtraStamina double    d
 

Set method for the 'dExtraStamina' member variable.

Parameters:
d  a double value representing a new amount of extra stamina that can be added to the maximum stamina of a player. This value depends on the type of heterogeneous player.
Returns:
a boolean indicating whether the update was successful

Definition at line 2642 of file ServerSettings.cpp.

References dExtraStamina.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setExtraStaminaDeltaMax double    d
 

Set method for the 'dExtraStaminaDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting extra_stamina
Returns:
a boolean indicating whether the update was successful

Definition at line 2343 of file ServerSettings.cpp.

References dExtraStaminaDeltaMax.

bool ServerSettings::setExtraStaminaDeltaMin double    d
 

Set method for the 'dExtraStaminaDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting extra_stamina
Returns:
a boolean indicating whether the update was successful

Definition at line 2326 of file ServerSettings.cpp.

References dExtraStaminaDeltaMin.

bool ServerSettings::setForbidKickOffOffside bool    b
 

Set method for the 'bForbidKickOffOffside' member variable.

Parameters:
b  a boolean value indicating whether a kick from offside position is allowed
Returns:
a boolean indicating whether the update was successful

Definition at line 1889 of file ServerSettings.cpp.

References bForbidKickOffOffside.

bool ServerSettings::setFullStateLeft bool    b
 

Set method for the 'bFullStateL' member variable.

Parameters:
b  a boolean representing whether full state is on for the left team
Returns:
a boolean indicating whether the update was successful

Definition at line 2062 of file ServerSettings.cpp.

References bFullStateL.

bool ServerSettings::setFullStateRight bool    b
 

Set method for the 'bFullStateR' member variable.

Parameters:
b  a boolean representing whether full state is on for the right team
Returns:
a boolean indicating whether the update was successful

Definition at line 2053 of file ServerSettings.cpp.

References bFullStateR.

bool ServerSettings::setGoalieMaxMoves int    i
 

Set method for the 'iGoalieMaxMoves' member variable.

Parameters:
i  an integer value representing a new maximum number of 'move' actions allowed for a goalkeeper after a catch
Returns:
a boolean indicating whether the update was successful

Definition at line 1031 of file ServerSettings.cpp.

References iGoalieMaxMoves.

bool ServerSettings::setGoalWidth double    d
 

Set method for the 'dGoalWidth' member variable.

Parameters:
d  a double value representing a new width of the goal
Returns:
a boolean indicating whether the update was successful

Definition at line 577 of file ServerSettings.cpp.

References dGoalWidth.

bool ServerSettings::setHalfTime int    i
 

Set method for the 'iHalfTime' member variable.

Parameters:
i  an integer value representing a new length (in seconds) of a single game half
Returns:
a boolean indicating whether the update was successful

Definition at line 1800 of file ServerSettings.cpp.

References iHalfTime.

bool ServerSettings::setHearDecay int    i
 

Set method for the 'iHearDecay' member variable.

Parameters:
i  an integer value representing a new decay rate of player hearing capacity, i.e. minimum number of cycles for iHearInc messages
Returns:
a boolean indicating whether the update was successful

Definition at line 904 of file ServerSettings.cpp.

References iHearDecay.

bool ServerSettings::setHearInc int    i
 

Set method for the 'iHearInc' member variable.

Parameters:
i  an integer value representing a new minimum hearing capacity of a player, i.e. the number of messages a player can hear in iHearDecay simulation cycles
Returns:
a boolean indicating whether the update was successful

Definition at line 886 of file ServerSettings.cpp.

References iHearInc.

bool ServerSettings::setHearMax int    i
 

Set method for the 'iHearMax' member variable.

Parameters:
i  an integer value representing a new maximum hearing capacity of a player (a player can hear iHearInc messages in iHearDecay simulation cycles)
Returns:
a boolean indicating whether the update was successful

Definition at line 866 of file ServerSettings.cpp.

References iHearMax.

bool ServerSettings::setInertiaMoment double    d
 

Set method for the 'dInertiaMoment' member variable.

Parameters:
d  a double value representing a new inertia moment of a player (affects actual turn angle depending on speed)
Returns:
a boolean indicating whether the update was successful

Definition at line 922 of file ServerSettings.cpp.

References dInertiaMoment.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setInertiaMomentDeltaFactor double    d
 

Set method for the 'dInertiaMomentDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for inertia_moment
Returns:
a boolean indicating whether the update was successful

Definition at line 2207 of file ServerSettings.cpp.

References dInertiaMomentDeltaFactor.

bool ServerSettings::setKickableMargin double    d
 

Set method for the 'dKickableMargin' member variable.

Parameters:
d  a double value representing a new margin around a player in which the ball is kickable (kickable area thus equals kickable_margin + ball_size + player_size)
Returns:
a boolean indicating whether the update was successful

Definition at line 1217 of file ServerSettings.cpp.

References dBallSize, dKickableMargin, dMaximalKickDist, and dPlayerSize.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setKickableMarginDeltaMax double    d
 

Set method for the 'dKickableMarginDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting kickable_margin
Returns:
a boolean indicating whether the update was successful

Definition at line 2292 of file ServerSettings.cpp.

References dKickableMarginDeltaMax.

bool ServerSettings::setKickableMarginDeltaMin double    d
 

Set method for the 'dKickableMarginDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting kickable_margin
Returns:
a boolean indicating whether the update was successful

Definition at line 2275 of file ServerSettings.cpp.

References dKickableMarginDeltaMin.

bool ServerSettings::setKickPowerRate double    d
 

Set method for the 'dKickPowerRate' member variable.

Parameters:
d  a double value representing a new rate by which the 'Power' argument in a 'kick' command is multiplied (thus determining the amount of displacement of the ball as a result of the 'kick')
Returns:
a boolean indicating whether the update was successful

Definition at line 1278 of file ServerSettings.cpp.

References dKickPowerRate.

bool ServerSettings::setKickRand double    d
 

Set method for the 'dKickRand' member variable.

Parameters:
d  a double value representing a new random error in kick direction
Returns:
a boolean indicating whether the update was successful

Definition at line 1296 of file ServerSettings.cpp.

References dKickRand.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setKickRandDeltaFactor double    d
 

Set method for the 'dKickRandDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for kick_rand
Returns:
a boolean indicating whether the update was successful

Definition at line 2309 of file ServerSettings.cpp.

References dKickRandDeltaFactor.

bool ServerSettings::setLogFile char *    str
 

Set method for the 'strLogFile' member variable.

Parameters:
str  a string representing a new server log to store all actions received
Returns:
a boolean indicating whether the update was successful

Definition at line 2014 of file ServerSettings.cpp.

References strLogFile.

bool ServerSettings::setLogTimes bool    b
 

Set method for the 'bLogTimes' member variable.

Parameters:
b  a boolean value indicating whether ms should be written between cycles in log file
Returns:
a boolean indicating whether the update was successful

Definition at line 1996 of file ServerSettings.cpp.

References bLogTimes.

bool ServerSettings::setMaximalKickDist double    d
 

Set method for the 'dMaximalKickDist' member variable.

Parameters:
d  a double value representing a new maximum distance from a player for which the ball is still kickable
Returns:
a boolean indicating whether the update was successful

Definition at line 2661 of file ServerSettings.cpp.

References dMaximalKickDist.

Referenced by SenseHandler::analyzeServerParamMessage().

bool ServerSettings::setMaxMoment int    i
 

Set method for the 'iMaxMoment' member variable.

Parameters:
i  an integer value representing a new maximum angle for a turn/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1412 of file ServerSettings.cpp.

References iMaxMoment.

bool ServerSettings::setMaxNeckAng int    i
 

Set method for the 'iMaxNeckAng' member variable.

Parameters:
i  an integer value representing a new maximum neck angle rel. to body
Returns:
a boolean indicating whether the update was successful

Definition at line 1479 of file ServerSettings.cpp.

References iMaxNeckAng.

bool ServerSettings::setMaxNeckMoment int    i
 

Set method for the 'iMaxNeckMoment' member variable.

Parameters:
i  an integer value representing a new maximum angle for a turnneck
Returns:
a boolean indicating whether the update was successful

Definition at line 1444 of file ServerSettings.cpp.

References iMaxNeckMoment.

bool ServerSettings::setMaxPower int    i
 

Set method for the 'iMaxPower' member variable.

Parameters:
i  an integer value representing a new maximum power for a dash/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1380 of file ServerSettings.cpp.

References iMaxPower.

bool ServerSettings::setMinMoment int    i
 

Set method for the 'iMinMoment' member variable.

Parameters:
i  an integer value representing a new minimum angle for a turn/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1428 of file ServerSettings.cpp.

References iMinMoment.

bool ServerSettings::setMinNeckAng int    i
 

Set method for the 'iMinNeckAng' member variable.

Parameters:
i  an integer value representing a new minimum neck angle rel. to body
Returns:
a boolean indicating whether the update was successful

Definition at line 1498 of file ServerSettings.cpp.

References iMinNeckAng.

bool ServerSettings::setMinNeckMoment int    i
 

Set method for the 'iMinNeckMoment' member variable.

Parameters:
i  an integer value representing a new minimum angle for a turnneck
Returns:
a boolean indicating whether the update was successful

Definition at line 1460 of file ServerSettings.cpp.

References iMinNeckMoment.

bool ServerSettings::setMinPower int    i
 

Set method for the 'iMinPower' member variable.

Parameters:
i  an integer value representing a new minimum power for a dash/kick
Returns:
a boolean indicating whether the update was successful

Definition at line 1396 of file ServerSettings.cpp.

References iMinPower.

bool ServerSettings::setNewDashPowerRateDeltaMax double    d
 

Set method for the 'dNewDashPowerRateDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting dash_power_rate
Returns:
a boolean indicating whether the update was successful

Definition at line 2411 of file ServerSettings.cpp.

References dNewDashPowerRateDeltaMax.

bool ServerSettings::setNewDashPowerRateDeltaMin double    d
 

Set method for the 'dDashPowerRateDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting dash_power_rate
Returns:
a boolean indicating whether the update was successful

Definition at line 2394 of file ServerSettings.cpp.

References dNewDashPowerRateDeltaMin.

bool ServerSettings::setNewStaminaIncMaxDeltaFactor double    d
 

Set method for the 'dNewStaminaIncMaxDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for stamina_inc_max
Returns:
a boolean indicating whether the update was successful

Definition at line 2428 of file ServerSettings.cpp.

References dNewStaminaIncMaxDeltaFactor.

bool ServerSettings::setOffsideActiveAreaSize double    d
 

Set method for the 'dOffsideActiveAreaSize' member variable.

Parameters:
d  a double value representing a new offside active area size, i.e. radius of circle around the ball in which player can be offside
Returns:
a boolean indicating whether the update was successful

Definition at line 1871 of file ServerSettings.cpp.

References dOffsideActiveAreaSize.

bool ServerSettings::setOffsideKickMargin double    d
 

Set method for the 'dOffsideKickMargin' member variable.

Parameters:
d  a double value representing a new offside kick margin, i.e. a new minimum distance to the ball for offending players when a free kick for offside is taken
Returns:
a boolean indicating whether the update was successful

Definition at line 1908 of file ServerSettings.cpp.

References dOffsideKickMargin.

bool ServerSettings::setOlCoachPort int    i
 

Set method for the 'iOlCoachPort' member variable.

Parameters:
i  an integer value representing a new port number for an online coach connection
Returns:
a boolean indicating whether the update was successful

Definition at line 1549 of file ServerSettings.cpp.

References iOlCoachPort.

bool ServerSettings::setPenAllowMultKicks bool    b
 

Set method for the 'bPenAllowMultKicks' variable that indicates whether the penalty kicker is allowed to kick the ball multiple times.

Definition at line 2475 of file ServerSettings.cpp.

References bPenAllowMultKicks.

bool ServerSettings::setPenDistX double    d
 

Set method for the 'dPenDistX' variable that indicates where the ball will be positioned in front of the goalline in case of a penalty kick.

Definition at line 2443 of file ServerSettings.cpp.

References dPenDistX.

bool ServerSettings::setPenMaxGoalieDistX double    d
 

Set method for the 'dPenMaxGoalieDistX' variable that indicates how far the goalie is allowed to move outside its goal in case of a penalty kick.

Definition at line 2459 of file ServerSettings.cpp.

References dPenMaxGoalieDistX.

bool ServerSettings::setPlayerAccelMax double    d
 

Set method for the 'dPlayerAccelMax' member variable.

Parameters:
d  a double value representing a new maximum acceleration of a player per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 677 of file ServerSettings.cpp.

References dPlayerAccelMax.

bool ServerSettings::setPlayerDecay double    d
 

Set method for the 'dPlayerDecay' member variable.

Parameters:
d  a double value representing a new player speed decay per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 612 of file ServerSettings.cpp.

References dPlayerDecay.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setPlayerDecayDeltaMax double    d
 

Set method for the 'dPlayerDecayDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting player_decay
Returns:
a boolean indicating whether the update was successful

Definition at line 2190 of file ServerSettings.cpp.

References dPlayerDecayDeltaMax.

bool ServerSettings::setPlayerDecayDeltaMin double    d
 

Set method for the 'dPlayerDecayDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting player_decay
Returns:
a boolean indicating whether the update was successful

Definition at line 2173 of file ServerSettings.cpp.

References dPlayerDecayDeltaMin.

bool ServerSettings::setPlayerRand double    d
 

Set method for the 'dPlayerRand' member variable.

Parameters:
d  a double value representing a new random error in player movement
Returns:
a boolean indicating whether the update was successful

Definition at line 628 of file ServerSettings.cpp.

References dPlayerRand.

bool ServerSettings::setPlayerSize double    d
 

Set method for the 'dPlayerSize' member variable.

Parameters:
d  a double value representing a new player size
Returns:
a boolean indicating whether the update was successful

Definition at line 593 of file ServerSettings.cpp.

References dBallSize, dKickableMargin, dMaximalKickDist, and dPlayerSize.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setPlayerSizeDeltaFactor double    d
 

Set method for the 'dPlayerSizeDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for player_size
Returns:
a boolean indicating whether the update was successful

Definition at line 2258 of file ServerSettings.cpp.

References dPlayerSizeDeltaFactor.

bool ServerSettings::setPlayerSpeedMax double    d
 

Set method for the 'dPlayerSpeedMax' member variable.

Parameters:
d  a double value representing a new maximum speed of a player
Returns:
a boolean indicating whether the update was successful

Definition at line 660 of file ServerSettings.cpp.

References dPlayerSpeedMax.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setPlayerSpeedMaxDeltaMax double    d
 

Set method for the 'dPlayerSpeedMaxDeltaMax' member variable.

Parameters:
d  a double value representing a new maximum delta for adjusting player_speed_max
Returns:
a boolean indicating whether the update was successful

Definition at line 2139 of file ServerSettings.cpp.

References dPlayerSpeedMaxDeltaMax.

bool ServerSettings::setPlayerSpeedMaxDeltaMin double    d
 

Set method for the 'dPlayerSpeedMaxDeltaMin' member variable.

Parameters:
d  a double value representing a new minimum delta for adjusting player_speed_max
Returns:
a boolean indicating whether the update was successful

Definition at line 2122 of file ServerSettings.cpp.

References dPlayerSpeedMaxDeltaMin.

bool ServerSettings::setPlayerTypes int    i
 

Set method for the 'iPlayerTypes' member variable.

Parameters:
i  an integer value representing a new number of player types including the default player type
Returns:
a boolean indicating whether the update was successful

Definition at line 2082 of file ServerSettings.cpp.

References iPlayerTypes.

bool ServerSettings::setPlayerWeight double    d
 

Set method for the 'dPlayerWeight' member variable.

Parameters:
d  a double value representing a new weight of a player (for wind)
Returns:
a boolean indicating whether the update was successful

Definition at line 644 of file ServerSettings.cpp.

References dPlayerWeight.

bool ServerSettings::setPort int    i
 

Set method for the 'iPort' member variable.

Parameters:
i  an integer value representing a new port number for a player connection
Returns:
a boolean indicating whether the update was successful

Definition at line 1515 of file ServerSettings.cpp.

References iPort.

bool ServerSettings::setQuantizeStep double    d
 

Set method for the 'dQuantizeStep' member variable.

Parameters:
d  a double value representing a new quantization step for the distance of moving objects
Returns:
a boolean indicating whether the update was successful

Definition at line 1347 of file ServerSettings.cpp.

References dQuantizeStep.

bool ServerSettings::setQuantizeStepL double    d
 

Set method for the 'dQuantizeStepL' member variable.

Parameters:
d  a double value representing a new quantization step for the distance of landmarks
Returns:
a boolean indicating whether the update was successful

Definition at line 1364 of file ServerSettings.cpp.

References dQuantizeStepL.

bool ServerSettings::setRecordLog bool    b
 

Set method for the 'bRecordLog' member variable.

Parameters:
b  a boolean value indicating whether a log record for a game should be created
Returns:
a boolean indicating whether the update was successful

Definition at line 1960 of file ServerSettings.cpp.

References bRecordLog.

bool ServerSettings::setRecordVersion int    i
 

Set method for the 'iRecordVersion' member variable.

Parameters:
i  an integer value representing a new type of log record
Returns:
a boolean indicating whether the update was successful

Definition at line 1943 of file ServerSettings.cpp.

References iRecordVersion.

bool ServerSettings::setRecoverDec double    d
 

Set method for the 'dRecoverDec' member variable.

Parameters:
d  a double value representing a new decrement step per cycle for player recovery
Returns:
a boolean indicating whether the update was successful

Definition at line 744 of file ServerSettings.cpp.

References dRecoverDec.

bool ServerSettings::setRecoverDecThr double    d
 

Set method for the 'dRecoverDecThr' member variable.

Parameters:
d  a double value representing a new percentage of stamina_max below which player recovery decreases
Returns:
a boolean indicating whether the update was successful

Definition at line 727 of file ServerSettings.cpp.

References dRecoverDecThr.

bool ServerSettings::setRecoverMin double    d
 

Set method for the 'dRecoverMin' member variable.

Parameters:
d  a double value representing a new minimum player recovery
Returns:
a boolean indicating whether the update was successful

Definition at line 760 of file ServerSettings.cpp.

References dRecoverMin.

bool ServerSettings::setRecvStep int    i
 

Set method for the 'iRecvStep' member variable.

Parameters:
i  an integer value representing a new length of the interval (in ms) for accepting commands from a player
Returns:
a boolean indicating whether the update was successful

Definition at line 1780 of file ServerSettings.cpp.

References iRecvStep.

bool ServerSettings::setSayCoachCntMax int    i
 

Set method for the 'iSayCoachCntMax' member variable.

Parameters:
i  an integer value representing a new maximum number of coach messages possible
Returns:
a boolean indicating whether the update was successful

Definition at line 1566 of file ServerSettings.cpp.

References iSayCoachCntMax.

bool ServerSettings::setSayCoachMsgSize int    i
 

Set method for the 'iSayCoachMsgSize' member variable.

Parameters:
i  an integer value representing a new maximum size of coach messages
Returns:
a boolean indicating whether the update was successful

Definition at line 1582 of file ServerSettings.cpp.

References iSayCoachMsgSize.

bool ServerSettings::setSayMsgSize int    i
 

Set method for the 'iSayMsgSize' member variable.

Parameters:
i  an integer value representing a new maximum length (in bytes) of a spoken message
Returns:
a boolean indicating whether the update was successful

Definition at line 1835 of file ServerSettings.cpp.

References iSayMsgSize.

bool ServerSettings::setSendLog bool    b
 

Set method for the 'bSendLog' member variable.

Parameters:
b  a boolean value indicating whether a send client command log for a game should be created
Returns:
a boolean indicating whether the update was successful

Definition at line 1978 of file ServerSettings.cpp.

References bSendLog.

bool ServerSettings::setSendStep int    i
 

Set method for the 'iSendStep' member variable.

Parameters:
i  an integer value representing a new length of the interval (in ms) between visual messages to a player in the standard view mode
Returns:
a boolean indicating whether the update was successful

Definition at line 1760 of file ServerSettings.cpp.

References iSendStep.

bool ServerSettings::setSendViStep int    i
 

Set method for the 'iSendViStep' member variable.

Parameters:
i  an integer value representing a new interval of the coach's look, i.e. a new length of the interval (in ms) between visual messages to the coach
Returns:
a boolean indicating whether the update was successful

Definition at line 1721 of file ServerSettings.cpp.

References iSendViStep.

bool ServerSettings::setSenseBodyStep int    i
 

Set method for the 'iSenseBodyStep' member variable.

Parameters:
i  an integer value representing a new length of the interval (in ms) between sense_body information messages
Returns:
a boolean indicating whether the update was successful

Definition at line 940 of file ServerSettings.cpp.

References iSenseBodyStep.

bool ServerSettings::setSimulatorStep int    i
 

Set method for the 'iSimulatorStep' member variable.

Parameters:
i  an integer value representing a new length (in ms) of a simulator cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 1741 of file ServerSettings.cpp.

References iSimulatorStep.

bool ServerSettings::setSlowDownFactor int    i
 

Set method for the 'iSlowDownFactor' member variable.

Parameters:
i  an integer value representing a new factor to slow down the simulator and send intervals
Returns:
a boolean indicating whether the update was successful

Definition at line 2604 of file ServerSettings.cpp.

References iSlowDownFactor.

bool ServerSettings::setStaminaIncMax double    d
 

Set method for the 'dStaminaIncMax' member variable.

Parameters:
d  a double value representing a new maximum stamina increase of a player per cycle
Returns:
a boolean indicating whether the update was successful

Definition at line 710 of file ServerSettings.cpp.

References dStaminaIncMax.

Referenced by WorldModel::updateSSToHeteroPlayerType().

bool ServerSettings::setStaminaIncMaxDeltaFactor double    d
 

Set method for the 'dStaminaIncMaxDeltaFactor' member variable.

Parameters:
d  a double value representing a new amount by which delta is multiplied for stamina_inc_max
Returns:
a boolean indicating whether the update was successful

Definition at line 2156 of file ServerSettings.cpp.

References dStaminaIncMaxDeltaFactor.

bool ServerSettings::setStaminaMax double    d
 

Set method for the 'dStaminaMax' member variable.

Parameters:
d  a double value representing a new maximum stamina of a player
Returns:
a boolean indicating whether the update was successful

Definition at line 693 of file ServerSettings.cpp.

References dStaminaMax.

bool ServerSettings::setSubsMax int    i
 

Set method for the 'iSubsMax' member variable.

Parameters:
i  an integer value representing a new maximum number of substitutions allowed during a game (this value also indicates the maximum number of players allowed for each type)
Returns:
a boolean indicating whether the update was successful

Definition at line 2102 of file ServerSettings.cpp.

References iSubsMax.

bool ServerSettings::setSynchMode bool    b
 

Set method for the 'bSynchMode' member variable.

Parameters:
b  a boolean representing whether synchronization mode is on
Returns:
a boolean indicating whether the update was successful

Definition at line 2030 of file ServerSettings.cpp.

References bSynchMode.

bool ServerSettings::setTackleBackDist double    d
 

Set method for the 'dTackleBackDist' variable that indicates the maximum x distance to the back of the agent in which a tackle can be performed. The probabiltiy of succeeding depends on this distance.

Definition at line 2508 of file ServerSettings.cpp.

References dTackleBackDist.

bool ServerSettings::setTackleCycles int    i
 

Set method for the 'dTackleCycles' variable that indicates how many cycles a player is immobile after performing a tackle.

Definition at line 2556 of file ServerSettings.cpp.

References iTackleCycles.

bool ServerSettings::setTackleDist double    d
 

Set method for the 'dTackleDist' variable that indicates the maximum x distance to the front of the agent in which a tackle can be performed. The probabiltiy of succeeding depends on this distance.

Definition at line 2491 of file ServerSettings.cpp.

References dTackleDist.

bool ServerSettings::setTackleExponent double    d
 

Set method for the 'dTackleExponent' variable that indicates the exponent used in order to calculate the probability that the tackle will succeed.

Definition at line 2541 of file ServerSettings.cpp.

References dTackleExponent.

bool ServerSettings::setTacklePowerRate double    d
 

Set method for the 'dTacklePowerRate' variable that indicates with which power the ball is accelerated after a tackle.

Definition at line 2571 of file ServerSettings.cpp.

References dTacklePowerRate.

bool ServerSettings::setTackleWidth double    d
 

Set method for the 'dTackleWidth' variable that indicates the maximum y distance to the agent in which a tackle can be performed. The probabiltiy of succeeding depends on this distance.

Definition at line 2525 of file ServerSettings.cpp.

References dTackleWidth.

bool ServerSettings::setUseOffside bool    b
 

Set method for the 'bUseOffside' member variable.

Parameters:
b  a boolean value indicating whether the offside rule should be applied or not
Returns:
a boolean indicating whether the update was successful

Definition at line 1852 of file ServerSettings.cpp.

References bUseOffside.

bool ServerSettings::setValue const char *    strName,
const char *    strValue
[virtual]
 

This method is originally defined in the superclass GenericValues and is overridden in this subclass. It sets the variable denoted by the first argument to the value denoted by the second argument.

Parameters:
strName  a string representing the name of a variable for which the value must be (re)set
strValue  a string representing a value which must be assigned to the variable denoted by the first argument
Returns:
a boolean indicating whether the update was successful

Reimplemented from GenericValues.

Definition at line 546 of file ServerSettings.cpp.

References dBallSize, dKickableMargin, dMaximalKickDist, dPlayerSize, and GenericValues::setValue().

Referenced by SenseHandler::readServerParam().

bool ServerSettings::setVerbose bool    b
 

Set method for the 'bVerbose' member variable.

Parameters:
b  a boolean value indicating whether the verbose mode is active or not; in verbose mode the server sends extra error-information
Returns:
a boolean indicating whether the update was successful

Definition at line 1926 of file ServerSettings.cpp.

References bVerbose.

bool ServerSettings::setVisibleAngle double    d
 

Set method for the 'dVisibleAngle' member variable.

Parameters:
d  a double value representing a new angle of the view cone of a player in the standard view mode
Returns:
a boolean indicating whether the update was successful

Definition at line 1313 of file ServerSettings.cpp.

References dVisibleAngle.

bool ServerSettings::setVisibleDistance double    d
 

Set method for the 'dVisibleDistance' member variable.

Parameters:
d  a double value representing a new distance within which objects are always 'visible' (even when not in view cone)
Returns:
a boolean indicating whether the update was successful

Definition at line 2623 of file ServerSettings.cpp.

References dVisibleDistance.

bool ServerSettings::setWindDir double    d
 

Set method for the 'dWindDir' member variable.

Parameters:
d  a double value representing a new direction of the wind
Returns:
a boolean indicating whether the update was successful

Definition at line 1167 of file ServerSettings.cpp.

References dWindDir.

bool ServerSettings::setWindForce double    d
 

Set method for the 'dWindForce' member variable.

Parameters:
d  a double value representing a new force of the wind
Returns:
a boolean indicating whether the update was successful

Definition at line 1151 of file ServerSettings.cpp.

References dWindForce.

bool ServerSettings::setWindRand double    d
 

Set method for the 'dWindRand' member variable.

Parameters:
d  a double value representing a new random error in wind direction
Returns:
a boolean indicating whether the update was successful

Definition at line 1183 of file ServerSettings.cpp.

References dWindRand.

bool ServerSettings::setWindRandom bool    b
 

Set method for the 'bWindRandom' member variable.

Parameters:
b  a boolean indicating whether wind force and direction are random
Returns:
a boolean indicating whether the update was successful

Definition at line 1199 of file ServerSettings.cpp.

References bWindRandom.


Member Data Documentation

bool ServerSettings::bForbidKickOffOffside [private]
 

forbid_kick_off_offside: a boolean flag indicating whether a kick from offside position is allowed

Definition at line 255 of file ServerSettings.h.

Referenced by ServerSettings(), and setForbidKickOffOffside().

bool ServerSettings::bFullStateL [private]
 

fullstate_l: indicates full_state left team.

Definition at line 276 of file ServerSettings.h.

Referenced by getFullStateLeft(), ServerSettings(), and setFullStateLeft().

bool ServerSettings::bFullStateR [private]
 

fullstate_r: indicates full_state right team

Definition at line 277 of file ServerSettings.h.

Referenced by getFullStateRight(), ServerSettings(), and setFullStateRight().

bool ServerSettings::bLogTimes [private]
 

log_times: flag indicating whether ms should be written between cycles in log file

Definition at line 272 of file ServerSettings.h.

Referenced by ServerSettings(), and setLogTimes().

bool ServerSettings::bPenAllowMultKicks [private]
 

pen_allow_mult_kicks: allow multiple kicks by the penalty kicker

Definition at line 348 of file ServerSettings.h.

Referenced by getPenAllowMultKicks(), ServerSettings(), and setPenAllowMultKicks().

bool ServerSettings::bRecordLog [private]
 

record_log: flag indicating whether log record for game should be created

Definition at line 268 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecordLog().

bool ServerSettings::bSendLog [private]
 

send_log: flag indicating whether send client command log for game should be created

Definition at line 270 of file ServerSettings.h.

Referenced by ServerSettings(), and setSendLog().

bool ServerSettings::bSynchMode [private]
 

synch_mode: indicates whether in sync. mode

Definition at line 275 of file ServerSettings.h.

Referenced by ServerSettings(), and setSynchMode().

bool ServerSettings::bUseOffside [private]
 

use_offside: a boolean flag indicating whether the offside rule should be applied or not

Definition at line 250 of file ServerSettings.h.

Referenced by ServerSettings(), and setUseOffside().

bool ServerSettings::bVerbose [private]
 

verbose: flag indicating whether verbose mode is active or not; in verbose mode server sends extra error-information

Definition at line 264 of file ServerSettings.h.

Referenced by ServerSettings(), and setVerbose().

bool ServerSettings::bWindRandom [private]
 

wind_random: random wind force and direction

Definition at line 161 of file ServerSettings.h.

Referenced by getWindRandom(), ServerSettings(), and setWindRandom().

double ServerSettings::dAudioCutDist [private]
 

audio_cut_dist: maximum distance over which a spoken message can be heard

Definition at line 183 of file ServerSettings.h.

Referenced by ServerSettings(), and setAudioCutDist().

double ServerSettings::dBallAccelMax [private]
 

ball_accel_max: maximum acceleration of the ball per cycle

Definition at line 154 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallAccelMax().

double ServerSettings::dBallDecay [private]
 

ball_decay: ball speed decay per cycle

Definition at line 150 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallDecay().

double ServerSettings::dBallRand [private]
 

ball_rand: random error in ball movement

Definition at line 151 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallRand().

double ServerSettings::dBallSize [private]
 

ball_size: the size (=radius) of the ball

Definition at line 149 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setPlayerSize(), and setValue().

double ServerSettings::dBallSpeedMax [private]
 

ball_speed_max: maximum speed of the ball

Definition at line 153 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallSpeedMax().

double ServerSettings::dBallWeight [private]
 

ball_weight: weight of the ball (for wind)

Definition at line 152 of file ServerSettings.h.

Referenced by ServerSettings(), and setBallWeight().

double ServerSettings::dCatchableAreaL [private]
 

catchable_area_l: length of area around goalkeeper in which he can catch the ball

Definition at line 137 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchableAreaL().

double ServerSettings::dCatchableAreaW [private]
 

catchable_area_w: width of area around goalkeeper in which he can catch the ball

Definition at line 139 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchableAreaW().

double ServerSettings::dCatchProbability [private]
 

catch_probability: the probability for a goalkeeper to catch the ball

Definition at line 141 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchProbability().

double ServerSettings::dCkickMargin [private]
 

ckick_margin: corner kick margin, i.e. the minimum distance to the ball for offending players when a corner kick is taken

Definition at line 167 of file ServerSettings.h.

Referenced by ServerSettings(), and setCkickMargin().

double ServerSettings::dDashPowerRate [private]
 

dash_power_rate: rate by which the 'Power' argument in a 'dash' command is multiplied (thus determining the amount of displacement of the player as a result of the 'dash')

Definition at line 170 of file ServerSettings.h.

Referenced by ServerSettings(), and setDashPowerRate().

double ServerSettings::dDashPowerRateDeltaMax [private]
 

dash_power_rate_delta_max: maximum delta for adjusting dash_power_rate

Definition at line 306 of file ServerSettings.h.

Referenced by ServerSettings(), and setDashPowerRateDeltaMax().

double ServerSettings::dDashPowerRateDeltaMin [private]
 

dash_power_rate_delta_min: minimum delta for adjusting dash_power_rate

Definition at line 304 of file ServerSettings.h.

Referenced by ServerSettings(), and setDashPowerRateDeltaMin().

double ServerSettings::dEffortDec [private]
 

effort_dec: decrement step per cycle for player effort capacity

Definition at line 107 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortDec().

double ServerSettings::dEffortDecThr [private]
 

effort_dec_thr: percentage of stamina_max below which player effort capacity decreases

Definition at line 105 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortDecThr().

double ServerSettings::dEffortInc [private]
 

effort_inc: increment step per cycle for player effort capacity

Definition at line 111 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortInc().

double ServerSettings::dEffortIncThr [private]
 

effort_incr_thr: percentage of stamina_max above which player effort capacity increases

Definition at line 109 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortIncThr().

double ServerSettings::dEffortMax [private]
 

effort_max: maximum player effort capacity

Definition at line 114 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMax().

double ServerSettings::dEffortMaxDeltaFactor [private]
 

effort_max_delta_factor: amount delta is multiplied by for effort_max

Definition at line 320 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMaxDeltaFactor().

double ServerSettings::dEffortMin [private]
 

effort_min: minimum value for player effort

Definition at line 113 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMin().

double ServerSettings::dEffortMinDeltaFactor [private]
 

effort_min_delta_factor: amount delta is multiplied by for effort_min

Definition at line 322 of file ServerSettings.h.

Referenced by ServerSettings(), and setEffortMinDeltaFactor().

double ServerSettings::dExtraStamina [private]
 

extra_stamina: extra stamina for a heterogeneous player

Definition at line 340 of file ServerSettings.h.

Referenced by ServerSettings(), and setExtraStamina().

double ServerSettings::dExtraStaminaDeltaMax [private]
 

extra_stamina_delta_max: maximum delta for adjusting extra_stamina

Definition at line 318 of file ServerSettings.h.

Referenced by ServerSettings(), and setExtraStaminaDeltaMax().

double ServerSettings::dExtraStaminaDeltaMin [private]
 

extra_stamina_delta_min: minimum delta for adjusting extra_stamina

Definition at line 316 of file ServerSettings.h.

Referenced by ServerSettings(), and setExtraStaminaDeltaMin().

double ServerSettings::dGoalWidth [private]
 

goal_width: the width of the goal

Definition at line 85 of file ServerSettings.h.

Referenced by ServerSettings(), and setGoalWidth().

double ServerSettings::dInertiaMoment [private]
 

inertia_moment: inertia moment of a player; affects actual turn angle depending on speed

Definition at line 129 of file ServerSettings.h.

Referenced by ServerSettings(), and setInertiaMoment().

double ServerSettings::dInertiaMomentDeltaFactor [private]
 

inertia_moment_delta_factor: amount by which delta is multiplied for inertia_moment

Definition at line 301 of file ServerSettings.h.

Referenced by ServerSettings(), and setInertiaMomentDeltaFactor().

double ServerSettings::dKickableMargin [private]
 

kickable_margin: margin around player in which ball is kickable; kickable area thus equals kickable_margin + ball_size + player_size

Definition at line 164 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setPlayerSize(), and setValue().

double ServerSettings::dKickableMarginDeltaMax [private]
 

kickable_margin_delta_max: maximum delta for adjusting kickable_margin

Definition at line 312 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickableMarginDeltaMax().

double ServerSettings::dKickableMarginDeltaMin [private]
 

kickable_margin_delta_min: minimum delta for adjusting kickable_margin

Definition at line 310 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickableMarginDeltaMin().

double ServerSettings::dKickPowerRate [private]
 

kick_power_rate: rate by which the 'Power' argument in a 'kick' command is multiplied (thus determining the amount of displacement of the ball as a result of the 'kick')

Definition at line 174 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickPowerRate().

double ServerSettings::dKickRand [private]
 

kick_rand: random error in kick direction

Definition at line 178 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickRand().

double ServerSettings::dKickRandDeltaFactor [private]
 

kick_rand_delta_factor: amount delta is multiplied by for kick_rand

Definition at line 314 of file ServerSettings.h.

Referenced by ServerSettings(), and setKickRandDeltaFactor().

double ServerSettings::dMaximalKickDist [private]
 

the maximum distance from a player for which the ball is still kickable

Definition at line 365 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setMaximalKickDist(), setPlayerSize(), and setValue().

double ServerSettings::dNewDashPowerRateDeltaMax [private]
 

new_dash_power_rate_delta_min: maximum delta for adjusting dash_power_rate, used from server 8.05

Definition at line 327 of file ServerSettings.h.

Referenced by ServerSettings(), and setNewDashPowerRateDeltaMax().

double ServerSettings::dNewDashPowerRateDeltaMin [private]
 

new_dash_power_rate_delta_min: minimum delta for adjusting dash_power_rate, used from server 8.05

Definition at line 324 of file ServerSettings.h.

Referenced by ServerSettings(), and setNewDashPowerRateDeltaMin().

double ServerSettings::dNewStaminaIncMaxDeltaFactor [private]
 

stamina_inc_max_delta_factor: amount which delta is multiplied for stamina_inc_max, used from server 8

Definition at line 330 of file ServerSettings.h.

Referenced by ServerSettings(), and setNewStaminaIncMaxDeltaFactor().

double ServerSettings::dOffsideActiveAreaSize [private]
 

offside_active_area_size: offside active area size, i.e. radius of circle around the ball in which player can be offside

Definition at line 252 of file ServerSettings.h.

Referenced by ServerSettings(), and setOffsideActiveAreaSize().

double ServerSettings::dOffsideKickMargin [private]
 

offside_kick_margin: offside kick margin, i.e. the minimum distance to the ball for offending players when a free kick for offside is taken

Definition at line 258 of file ServerSettings.h.

Referenced by ServerSettings(), and setOffsideKickMargin().

double ServerSettings::dPenDistX [private]
 

pen_dist_x: x distance for ball from goalline.

Definition at line 344 of file ServerSettings.h.

Referenced by getPenDistX(), ServerSettings(), and setPenDistX().

double ServerSettings::dPenMaxGoalieDistX [private]
 

pen_max_goalie_dist_x: max goalie distance before the goalline.

Definition at line 346 of file ServerSettings.h.

Referenced by getPenMaxGoalieDistX(), ServerSettings(), and setPenMaxGoalieDistX().

double ServerSettings::dPlayerAccelMax [private]
 

player_accel_max: maximum acceleration of a player per cycle

Definition at line 93 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerAccelMax().

double ServerSettings::dPlayerDecay [private]
 

player_decay: player speed decay per cycle

Definition at line 89 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerDecay().

double ServerSettings::dPlayerDecayDeltaMax [private]
 

player_decay_delta_max: maximum delta for adjusting player_decay

Definition at line 299 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerDecayDeltaMax().

double ServerSettings::dPlayerDecayDeltaMin [private]
 

player_decay_delta_min: minimum delta for adjusting player_decay

Definition at line 297 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerDecayDeltaMin().

double ServerSettings::dPlayerRand [private]
 

player_rand: random error in player movement

Definition at line 90 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerRand().

double ServerSettings::dPlayerSize [private]
 

player_size: the size (=radius) of a player

Definition at line 88 of file ServerSettings.h.

Referenced by readValues(), ServerSettings(), setBallSize(), setKickableMargin(), setPlayerSize(), and setValue().

double ServerSettings::dPlayerSizeDeltaFactor [private]
 

player_size_delta_factor: amount delta is multiplied by for player_size

Definition at line 308 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSizeDeltaFactor().

double ServerSettings::dPlayerSpeedMax [private]
 

player_speed_max: maximum speed of a player

Definition at line 92 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSpeedMax().

double ServerSettings::dPlayerSpeedMaxDeltaMax [private]
 

player_speed_max_delta_max: maximum delta for adjusting player_speed_max

Definition at line 292 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSpeedMaxDeltaMax().

double ServerSettings::dPlayerSpeedMaxDeltaMin [private]
 

player_speed_max_delta_min: minimum delta for adjusting player_speed_max

Definition at line 290 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerSpeedMaxDeltaMin().

double ServerSettings::dPlayerWeight [private]
 

player_weight: weight of a player (for wind)

Definition at line 91 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerWeight().

double ServerSettings::dQuantizeStep [private]
 

quantize_step: quantization step for distance of moving objects

Definition at line 187 of file ServerSettings.h.

Referenced by ServerSettings(), and setQuantizeStep().

double ServerSettings::dQuantizeStepL [private]
 

quantize_step_l: quantization step for distance of landmarks

Definition at line 189 of file ServerSettings.h.

Referenced by ServerSettings(), and setQuantizeStepL().

double ServerSettings::dRecoverDec [private]
 

recover_dec: decrement step per cycle for player recovery

Definition at line 102 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecoverDec().

double ServerSettings::dRecoverDecThr [private]
 

recover_dec_thr: percentage of stamina_max below which player recovery decreases

Definition at line 100 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecoverDecThr().

double ServerSettings::dRecoverMin [private]
 

recover_min: minimum player recovery

Definition at line 104 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecoverMin().

double ServerSettings::dStaminaIncMax [private]
 

stamina_inc_max: maximum stamina increase of a player per cycle

Definition at line 98 of file ServerSettings.h.

Referenced by ServerSettings(), and setStaminaIncMax().

double ServerSettings::dStaminaIncMaxDeltaFactor [private]
 

stamina_inc_max_delta_factor: amount by which delta is multiplied for stamina_inc_max

Definition at line 294 of file ServerSettings.h.

Referenced by ServerSettings(), and setStaminaIncMaxDeltaFactor().

double ServerSettings::dStaminaMax [private]
 

stamina_max: maximum stamina of a player

Definition at line 97 of file ServerSettings.h.

Referenced by ServerSettings(), and setStaminaMax().

double ServerSettings::dTackleBackDist [private]
 

tackle_dist: distance at back of player where tackle is possible.

Definition at line 354 of file ServerSettings.h.

Referenced by getTackleBackDist(), ServerSettings(), and setTackleBackDist().

double ServerSettings::dTackleDist [private]
 

tackle_dist: distance in front player where tackle is possible.

Definition at line 352 of file ServerSettings.h.

Referenced by getTackleDist(), ServerSettings(), and setTackleDist().

double ServerSettings::dTackleExponent [private]
 

tackle_exponent: exponent need to calculate prob.of success tackle

Definition at line 358 of file ServerSettings.h.

Referenced by getTackleExponent(), ServerSettings(), and setTackleExponent().

double ServerSettings::dTacklePowerRate [private]
 

tacke_power_rate: acc. power tackle

Definition at line 362 of file ServerSettings.h.

Referenced by getTacklePowerRate(), ServerSettings(), and setTacklePowerRate().

double ServerSettings::dTackleWidth [private]
 

tackle_width: distance to side of player where tackle is possible.

Definition at line 356 of file ServerSettings.h.

Referenced by getTackleWidth(), ServerSettings(), and setTackleWidth().

double ServerSettings::dVisibleAngle [private]
 

visible_angle: angle of the view cone of a player in the standard view mode

Definition at line 181 of file ServerSettings.h.

Referenced by ServerSettings(), and setVisibleAngle().

double ServerSettings::dVisibleDistance [private]
 

visible_distance: distance within which objects are always 'visible' (even when not in view cone)

Definition at line 337 of file ServerSettings.h.

Referenced by ServerSettings(), and setVisibleDistance().

double ServerSettings::dWindDir [private]
 

wind_dir: the direction of the wind

Definition at line 159 of file ServerSettings.h.

Referenced by ServerSettings(), and setWindDir().

double ServerSettings::dWindForce [private]
 

wind_force: the force of the wind

Definition at line 158 of file ServerSettings.h.

Referenced by ServerSettings(), and setWindForce().

double ServerSettings::dWindRand [private]
 

wind_rand: random error in wind direction

Definition at line 160 of file ServerSettings.h.

Referenced by ServerSettings(), and setWindRand().

int ServerSettings::iCatchBanCycle [private]
 

catch_ban_cycle: number of cycles after catch in which goalkeeper cannot catch again

Definition at line 143 of file ServerSettings.h.

Referenced by ServerSettings(), and setCatchBanCycle().

int ServerSettings::iClangAdviceWin [private]
 

clang_advice_win: number of advice messages by coach per time window

Definition at line 218 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangAdviceWin().

int ServerSettings::iClangDefineWin [private]
 

clang_define_win: number of define messages by coach per time window

Definition at line 214 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangDefineWin().

int ServerSettings::iClangInfoWin [private]
 

clang_info_win: number of info messages by coach per time window

Definition at line 220 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangInfoWin().

int ServerSettings::iClangMessDelay [private]
 

clang_mess_delay: delay of coach messages, ie the number of cycles between send to player and receival of message

Definition at line 222 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangMessDelay().

int ServerSettings::iClangMessPerCycle [private]
 

clang_mess_per_cycle: number of coach messages per cycle

Definition at line 225 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangMessPerCycle().

int ServerSettings::iClangMetaWin [private]
 

clang_meta_win: number of meta messages by coach per time window

Definition at line 216 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangMetaWin().

int ServerSettings::iClangWinSize [private]
 

clang_win_size: time window which controls how many coach messages can be sent

Definition at line 212 of file ServerSettings.h.

Referenced by ServerSettings(), and setClangWinSize().

int ServerSettings::iCoachPort [private]
 

coach_port: port number for coach connection

Definition at line 204 of file ServerSettings.h.

Referenced by ServerSettings(), and setCoachPort().

int ServerSettings::iDropBallTime [private]
 

drop_ball_time: the number of cycles to wait until dropping the ball automatically for free kicks, corner kicks, etc.

Definition at line 241 of file ServerSettings.h.

Referenced by ServerSettings(), and setDropBallTime().

int ServerSettings::iGoalieMaxMoves [private]
 

goalie_max_moves: maximum number of 'move' actions allowed for goalkeeper after catch

Definition at line 145 of file ServerSettings.h.

Referenced by ServerSettings(), and setGoalieMaxMoves().

int ServerSettings::iHalfTime [private]
 

half_time: the length (in seconds) of a single game half

Definition at line 239 of file ServerSettings.h.

Referenced by ServerSettings(), and setHalfTime().

int ServerSettings::iHearDecay [private]
 

hear_decay: decay rate of player hearing capacity, i.e. minimum number of cycles for hear_inc messages

Definition at line 124 of file ServerSettings.h.

Referenced by ServerSettings(), and setHearDecay().

int ServerSettings::iHearInc [private]
 

hear_inc: minimum hearing capacity of a player i.e. the number of messages a player can hear in hear_decay simulation cycles

Definition at line 121 of file ServerSettings.h.

Referenced by ServerSettings(), and setHearInc().

int ServerSettings::iHearMax [private]
 

hear_max: maximum hearing capacity of a plyer a player can hear hear_inc messages in hear_decay simulation cycles

Definition at line 118 of file ServerSettings.h.

Referenced by ServerSettings(), and setHearMax().

int ServerSettings::iMaxMoment [private]
 

maxmoment: maximum angle for turn/kick

Definition at line 195 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxMoment().

int ServerSettings::iMaxNeckAng [private]
 

maxneckang: maximum neck angle rel. to body

Definition at line 199 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxNeckAng().

int ServerSettings::iMaxNeckMoment [private]
 

maxneckmoment: maximum angle for turnneck

Definition at line 197 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxNeckMoment().

int ServerSettings::iMaxPower [private]
 

maxpower: maximum power for dash/kick

Definition at line 193 of file ServerSettings.h.

Referenced by ServerSettings(), and setMaxPower().

int ServerSettings::iMinMoment [private]
 

minmoment: minimum angle for turn/kick

Definition at line 196 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinMoment().

int ServerSettings::iMinNeckAng [private]
 

minneckang: minimum neck angle rel. to body

Definition at line 200 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinNeckAng().

int ServerSettings::iMinNeckMoment [private]
 

minneckmoment: minimum angle for turnneck

Definition at line 198 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinNeckMoment().

int ServerSettings::iMinPower [private]
 

minpower: minimum power for dash/kick

Definition at line 194 of file ServerSettings.h.

Referenced by ServerSettings(), and setMinPower().

int ServerSettings::iOlCoachPort [private]
 

ol_coach_port: port number for online coach

Definition at line 205 of file ServerSettings.h.

Referenced by ServerSettings(), and setOlCoachPort().

int ServerSettings::iPlayerTypes [private]
 

player_types: the number of player types including the default types

Definition at line 283 of file ServerSettings.h.

Referenced by ServerSettings(), and setPlayerTypes().

int ServerSettings::iPort [private]
 

port: port number for player connection

Definition at line 203 of file ServerSettings.h.

Referenced by ServerSettings(), and setPort().

int ServerSettings::iRecordVersion [private]
 

record_version: the type of log record

Definition at line 267 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecordVersion().

int ServerSettings::iRecvStep [private]
 

recv_step: the length of the interval (in ms) for accepting commands from a player

Definition at line 237 of file ServerSettings.h.

Referenced by ServerSettings(), and setRecvStep().

int ServerSettings::iSayCoachCntMax [private]
 

say_coach_cnt_max: maximum number of coach messages possible

Definition at line 208 of file ServerSettings.h.

Referenced by ServerSettings(), and setSayCoachCntMax().

int ServerSettings::iSayCoachMsgSize [private]
 

say_coach_msg_size: maximum size of coach messages

Definition at line 210 of file ServerSettings.h.

Referenced by ServerSettings(), and setSayCoachMsgSize().

int ServerSettings::iSayMsgSize [private]
 

say_msg_size: the maximum length (in bytes) of a spoken message

Definition at line 246 of file ServerSettings.h.

Referenced by ServerSettings(), and setSayMsgSize().

int ServerSettings::iSendStep [private]
 

send_step: the length of the interval (in ms) between visual messages to a player in the standard view mode

Definition at line 234 of file ServerSettings.h.

Referenced by getSendStep(), ServerSettings(), and setSendStep().

int ServerSettings::iSendViStep [private]
 

send_vi_step: interval of coach's look, i.e. the length of the interval (in ms) between visual messages to the coach

Definition at line 227 of file ServerSettings.h.

Referenced by getSendViStep(), ServerSettings(), and setSendViStep().

int ServerSettings::iSenseBodyStep [private]
 

sense_body_step: length of the interval (ms) between sense_body information messages

Definition at line 133 of file ServerSettings.h.

Referenced by getSenseBodyStep(), ServerSettings(), and setSenseBodyStep().

int ServerSettings::iSimulatorStep [private]
 

simulator_step: the length (in ms) of a simulator cycle

Definition at line 232 of file ServerSettings.h.

Referenced by getSimulatorStep(), ServerSettings(), and setSimulatorStep().

int ServerSettings::iSlowDownFactor [private]
 

slow_down_factor: factor to slow down simulator and send intervals

Definition at line 335 of file ServerSettings.h.

Referenced by ServerSettings(), and setSlowDownFactor().

int ServerSettings::iSubsMax [private]
 

subs_max: the maximum number of substitutions allowed during a game; the value also indicates the maximum number of players allowed for each type

Definition at line 285 of file ServerSettings.h.

Referenced by ServerSettings(), and setSubsMax().

int ServerSettings::iTackleCycles [private]
 

tackle_cycles: cycles immobile after tackle

Definition at line 360 of file ServerSettings.h.

Referenced by getTackleCycles(), ServerSettings(), and setTackleCycles().

char ServerSettings::strLogFile[ 256 ] [private]
 

server log to store all actions received

Definition at line 274 of file ServerSettings.h.

Referenced by ServerSettings(), and setLogFile().


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 11:46:07 2003 for UvA Trilearn 2003 Base Code by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001