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

Modules/BehaviorControl/GT2004BehaviorControl/GT2004DTT/DefaultTacticChooser.h

Go to the documentation of this file.
00001 /**
00002  * @file DefaultTacticChooser.h
00003  * 
00004  * Implementation of class DefaultTacticChooser.
00005  *
00006  * @author <A href=mailto:jochen@kerdels.de>Jochen Kerdels</A>
00007  */
00008 
00009 #ifndef __DefaultTacticChooser_h_
00010 #define __DefaultTacticChooser_h_
00011 
00012 #include "Tools/DynamicTeamTactic/TacticChooser.h"
00013 #include "Tools/DynamicTeamTactic/TacticEntry.h"
00014 #include "Tools/DynamicTeamTactic/ChooserRaterInterfaces.h"
00015 
00016 
00017 
00018 /**
00019 * @class DefaultTacticChooser
00020 *
00021 * A simple implementation of the DefaultTacticChooser class.
00022 *
00023 */
00024 class DefaultTacticChooser : public TacticChooser
00025 {
00026 private:
00027   int facOfNumOfPlayerNumbers;
00028   int* dogPermutation[Player::numOfPlayerNumbers];
00029 public:
00030   /** 
00031    * Constructor.
00032    * @param interfaces The parameters of the TacticChooser class.
00033    * @param collectedBeliefs The collected-Beliefs to work on.
00034    * @param chooserRaterInterfaces We want to talk to the Option-Rating.
00035    */
00036   DefaultTacticChooser(const BehaviorControlInterfaces& interfaces,
00037                        CollectedBeliefs& collectedBeliefs,
00038                        ChooserRaterInterfaces& chooserRaterInterfaces);
00039 
00040   /*
00041    * Destructor.
00042    */
00043   ~DefaultTacticChooser();
00044 
00045   /** the TacticEntryArray to work with... */
00046   TacticEntryArray tacticEntryArray;
00047 
00048   /** if true, the robots should stand still, e.g. using option stand */
00049   int freeze;
00050 
00051   /** choosing one option in here... */
00052   RateableOptions::OptionID chooseOption();
00053 
00054   // open challenge
00055   /** role of team player*/
00056   RateableOptions::OptionID ocplayerrole[Player::numOfPlayerNumbers];
00057 
00058   /** receiving new TacicEntryArrays in here */
00059   virtual bool handleMessage(InMessage& message);
00060 };
00061 
00062 #endif // __DefaultTacticChooser_h_
00063 
00064 /*
00065  * Change log :
00066  * $Log: DefaultTacticChooser.h,v $
00067  * Revision 1.1  2004/07/22 22:38:31  kerdels
00068  * added DTT used by Open Challenge, RIP and Xabsl-Options will follow
00069  *
00070  *
00071  */

Generated on Thu Sep 23 19:57:26 2004 for GT2004 by doxygen 1.3.6