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

TacticChooser Class Reference

The Base class for tactic choosing. More...

#include <TacticChooser.h>

Inheritance diagram for TacticChooser:

Inheritance graph
[legend]
Collaboration diagram for TacticChooser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

virtual ~TacticChooser ()
 Destructor.

virtual RateableOptions::OptionID chooseOption ()=0
 This method should be implemented by descendants.

virtual bool handleMessage (InMessage &message)
 Is called for every incoming debug message.


Protected Attributes

CollectedBeliefscollectedBeliefs
GlobalAnalyserglobalAnalyser [RateableOptions::numOfGlobalAnalysers]
ChooserRaterInterfaceschooserRaterInterfaces
 Structure to communicate between TacticChooser und OptionRater.


Detailed Description

The Base class for tactic choosing.

It is the task of tactic choosing to choose one option from all avaible options.

Definition at line 27 of file TacticChooser.h.


Constructor & Destructor Documentation

TacticChooser::TacticChooser const BehaviorControlInterfaces interfaces,
CollectedBeliefs collectedBeliefs,
ChooserRaterInterfaces chooserRaterInterfaces
[inline]
 

Constructor.

Parameters:
interfaces The parameters of the OptionRating module.
collectedBeliefs The collected-Beliefs to work on.
chooserRaterInterfaces We want to talk to the Option-Rating.

Definition at line 50 of file TacticChooser.h.

References globalAnalyser.

virtual TacticChooser::~TacticChooser  )  [inline, virtual]
 

Destructor.

Definition at line 66 of file TacticChooser.h.

References globalAnalyser.


Member Function Documentation

virtual RateableOptions::OptionID TacticChooser::chooseOption  )  [pure virtual]
 

This method should be implemented by descendants.

Implemented in DefaultTacticChooser.

virtual bool TacticChooser::handleMessage InMessage message  )  [inline, virtual]
 

Is called for every incoming debug message.

Parameters:
message An interface to read the message from the queue
Returns:
if the messag was read

Reimplemented in DefaultTacticChooser.

Definition at line 81 of file TacticChooser.h.

Referenced by GT2004BehaviorControl::handleMessage().


Member Data Documentation

CollectedBeliefs& TacticChooser::collectedBeliefs [protected]
 

Definition at line 31 of file TacticChooser.h.

GlobalAnalyser* TacticChooser::globalAnalyser[RateableOptions::numOfGlobalAnalysers] [protected]
 

Definition at line 34 of file TacticChooser.h.

Referenced by TacticChooser(), and ~TacticChooser().

ChooserRaterInterfaces& TacticChooser::chooserRaterInterfaces [protected]
 

Structure to communicate between TacticChooser und OptionRater.

Definition at line 39 of file TacticChooser.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 23 20:11:57 2004 for GT2004 by doxygen 1.3.6