Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

DefaultOptionRating Class Reference

A simple implementation of the DefaultOptionRating class. More...

#include <DefaultOptionRating.h>

Inheritance diagram for DefaultOptionRating:

Inheritance graph
[legend]
Collaboration diagram for DefaultOptionRating:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DefaultOptionRating (const BehaviorControlInterfaces &interfaces, CollectedBeliefs &collectedBeliefs, ChooserRaterInterfaces &chooserRaterInterfaces)
 Constructor.

virtual void rateOptions ()
 rating the Options in here...


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::rateOptions  )  [virtual]
 

rating the Options in here...

Implements OptionRating.

Definition at line 38 of file DefaultOptionRating.cpp.

References GameControlData::data, doPreCals(), dtt_finished, dtt_finishedBite, dtt_finishedClimbBridge, dtt_finishedExtro, dtt_finishedGoToBitePoint, dtt_finishedGoToBridge, dtt_finishedIntro, dtt_finishedWalkWithBridge, dtt_initial, dtt_loseBitePoints, LEDRequest::faceLED, SystemCall::getCurrentSystemTime(), getPlayer(), Player::getPlayerNumber(), RateableOptions::getRatingBoost(), ChooserRaterInterfaces::lastChoosenOption, ocrating, ocstate, SingleBeliefs::ratedOptions, CollectedBeliefs::singleBeliefs, and SingleBeliefs::timeStamp.

Here is the call graph for this function:

void DefaultOptionRating::doPreCals  )  [private]
 

Definition at line 25 of file DefaultOptionRating.cpp.

References dtt_initial, getPlayer(), Player::getPlayerNumber(), ocrating, and ocstate.

Referenced by rateOptions().

Here is the call graph for this function:


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 Sep 23 20:05:45 2004 for GT2004 by doxygen 1.3.6