00001 /** 00002 * @file GlobalAnalyser.h 00003 * 00004 * This file contains a generic class for global analysing. 00005 * @author <A href=mailto:jochen@kerdels.de>Jochen Kerdels</A> 00006 */ 00007 00008 #ifndef __GlobalAnalyser_h_ 00009 #define __GlobalAnalyser_h_ 00010 00011 #include "Modules/BehaviorControl/BehaviorControl.h" 00012 #include "RateableOptions.h" 00013 00014 /** 00015 * @class GlobalAnalyser 00016 * 00017 * The Base class for global analysis 00018 * 00019 * It is the task of global analysis to weight TacticEntries in a 00020 * situation-dependend manner. 00021 */ 00022 class GlobalAnalyser : public BehaviorControlInterfaces 00023 { 00024 protected: 00025 00026 public: 00027 00028 /** 00029 * Constructor. 00030 * @param interfaces The parameters of the GlobalAnalyser module. 00031 */ 00032 GlobalAnalyser(const BehaviorControlInterfaces& interfaces) 00033 : BehaviorControlInterfaces(interfaces) 00034 {} 00035 00036 /** Destructor */ 00037 virtual ~GlobalAnalyser() {} 00038 00039 00040 /** This method should be implemented by descendants */ 00041 virtual void update() = 0; 00042 00043 /** This method should be implemented by descendants */ 00044 virtual double getWeight(RateableOptions::TacticEntryTypeID tacticEntryType) = 0; 00045 00046 }; 00047 00048 #endif // __GlobalAnalyser_h_ 00049 00050 /* 00051 * Change log : 00052 * $Log: GlobalAnalyser.h,v $ 00053 * Revision 1.3 2004/07/22 22:38:34 kerdels 00054 * added DTT used by Open Challenge, RIP and Xabsl-Options will follow 00055 * 00056 * 00057 * 00058 */