#include <DefaultOptionRating.h>
Inheritance diagram for DefaultOptionRating:
Public Member Functions | |
DefaultOptionRating (const BehaviorControlInterfaces &interfaces, CollectedBeliefs &collectedBeliefs, ChooserRaterInterfaces &chooserRaterInterfaces) | |
virtual void | rateOptions () |
Private Member Functions | |
void | doPreCals () |
Private Attributes | |
int | ocrating [5] |
Definition at line 22 of file DefaultOptionRating.h.
DefaultOptionRating::DefaultOptionRating | ( | const BehaviorControlInterfaces & | interfaces, | |
CollectedBeliefs & | collectedBeliefs, | |||
ChooserRaterInterfaces & | chooserRaterInterfaces | |||
) |
Constructor.
interfaces | The parameters of the OptionRating class. | |
collectedBeliefs | The collected-Beliefs to work on. | |
chooserRaterInterfaces | We want to talk to the tactic-Chooser. |
Definition at line 15 of file DefaultOptionRating.cpp.
References ocrating.
void DefaultOptionRating::doPreCals | ( | ) | [private] |
Definition at line 25 of file DefaultOptionRating.cpp.
References dtt_initial, getPlayer(), Player::getPlayerNumber(), ocrating, and ocstate.
Referenced by rateOptions().
void DefaultOptionRating::rateOptions | ( | ) | [virtual] |
rating the Options in here...
Implements OptionRating.
Definition at line 38 of file DefaultOptionRating.cpp.
References RateableOptions::bitePos1, RateableOptions::bitePos2, RateableOptions::bitePos3, RateableOptions::bitePos4, OptionRating::chooserRaterInterfaces, RateableOptions::climbBridge, OptionRating::collectedBeliefs, GameControlData::data, RateableOptions::doNothing, doPreCals(), dtt_finished, dtt_finishedBite, dtt_finishedClimbBridge, dtt_finishedExtro, dtt_finishedGoToBitePoint, dtt_finishedGoToBridge, dtt_finishedIntro, dtt_finishedWalkWithBridge, dtt_initial, dtt_loseBitePoints, RateableOptions::extro, LEDRequest::faceLED, RateableOptions::finished, BehaviorControlInterfaces::gameControlData, SystemCall::getCurrentSystemTime(), getPlayer(), RateableOptions::getRatingBoost(), RateableOptions::gotoBitePos1, RateableOptions::gotoBitePos2, RateableOptions::gotoBitePos3, RateableOptions::gotoBitePos4, RateableOptions::gotoBridge, int(), RateableOptions::intro, RateableOptions::keepOption, ChooserRaterInterfaces::lastChoosenOption, BehaviorControlInterfaces::ledRequest, LEDRequest::lllo, LEDRequest::lloo, LEDRequest::looo, RateableOptions::moveBridge, RateableOptions::movePos1, RateableOptions::movePos2, RateableOptions::movePos3, RateableOptions::movePos4, RateableOptions::numOfOptions, ocrating, ocstate, LEDRequest::oooo, SingleBeliefs::ratedOptions, ROBOCUP_STATE_PENALIZED, CollectedBeliefs::singleBeliefs, RateableOptions::stand, RoboCupGameControlData::state, SingleBeliefs::timeStamp, Player::undefinedPlayerNumber, and RateableOptions::waitForBiteDogs.
int DefaultOptionRating::ocrating[5] [private] |
Definition at line 43 of file DefaultOptionRating.h.
Referenced by DefaultOptionRating(), doPreCals(), and rateOptions().