00001 /** 00002 * @file DefGlobalAnalyser.h 00003 * 00004 * Implementation of class DefGlobalAnalyser. 00005 * 00006 * @author <A href=mailto:jochen@kerdels.de>Jochen Kerdels</A> 00007 */ 00008 00009 #ifndef __DefGlobalAnalyser_h_ 00010 #define __DefGlobalAnalyser_h_ 00011 00012 #include "Tools/DynamicTeamTactic/GlobalAnalyser.h" 00013 #include "Tools/DynamicTeamTactic/RateableOptions.h" 00014 00015 00016 /** 00017 * @class DefGlobalAnalyser 00018 * 00019 * A simple implementation of the DefGlobalAnalyser class. 00020 * 00021 */ 00022 class DefGlobalAnalyser : public GlobalAnalyser 00023 { 00024 private: 00025 00026 double calcWeights[RateableOptions::defGA_Max - RateableOptions::defGA_Neutral]; 00027 00028 public: 00029 00030 /** 00031 * Constructor. 00032 * @param interfaces The parameters of the DefGlobalAnalyser class. 00033 */ 00034 DefGlobalAnalyser(const BehaviorControlInterfaces& interfaces); 00035 00036 virtual void update(); 00037 00038 virtual double getWeight(RateableOptions::TacticEntryTypeID tacticEntryType); 00039 00040 }; 00041 00042 #endif // __DefGlobalAnalyser_h_ 00043 00044 /* 00045 * Change log : 00046 * $Log: DefGlobalAnalyser.h,v $ 00047 * Revision 1.1 2004/07/22 22:38:30 kerdels 00048 * added DTT used by Open Challenge, RIP and Xabsl-Options will follow 00049 * 00050 * 00051 * 00052 */