DefaultOptionRating Class Reference

#include <DefaultOptionRating.h>

Inheritance diagram for DefaultOptionRating:

OptionRating BehaviorControlInterfaces List of all members.

Public Member Functions

 DefaultOptionRating (const BehaviorControlInterfaces &interfaces, CollectedBeliefs &collectedBeliefs, ChooserRaterInterfaces &chooserRaterInterfaces)
virtual void rateOptions ()

Private Member Functions

void doPreCals ()

Private Attributes

int ocrating [5]

Detailed Description

A simple implementation of the DefaultOptionRating class.

Definition at line 22 of file DefaultOptionRating.h.


Constructor & Destructor Documentation

DefaultOptionRating::DefaultOptionRating ( const BehaviorControlInterfaces interfaces,
CollectedBeliefs collectedBeliefs,
ChooserRaterInterfaces chooserRaterInterfaces 
)

Constructor.

Parameters:
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.


Member Function Documentation

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.


Member Data Documentation

int DefaultOptionRating::ocrating[5] [private]

Definition at line 43 of file DefaultOptionRating.h.

Referenced by DefaultOptionRating(), doPreCals(), and rateOptions().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:28:16 2006 for DT2005.panorama by  doxygen 1.4.7