00001 /** 00002 * @file OptionRating.h 00003 * 00004 * This file contains a generic class for Option Rating. 00005 * @author <A href=mailto:jochen@kerdels.de>Jochen Kerdels</A> 00006 */ 00007 00008 #ifndef __OptionRating_h_ 00009 #define __OptionRating_h_ 00010 00011 #include "Modules/BehaviorControl/BehaviorControl.h" 00012 #include "CollectedBeliefs.h" 00013 #include "ChooserRaterInterfaces.h" 00014 00015 /** 00016 * @class OptionRating 00017 * 00018 * The Base class for option rating 00019 * 00020 * It is the task of option rating to rate all avaible options. 00021 */ 00022 class OptionRating : public BehaviorControlInterfaces 00023 { 00024 protected: 00025 00026 CollectedBeliefs& collectedBeliefs; 00027 00028 ChooserRaterInterfaces& chooserRaterInterfaces; 00029 00030 public: 00031 00032 /** 00033 * Constructor. 00034 * @param interfaces The parameters of the OptionRating module. 00035 * @param collectedBeliefs The collected-Beliefs to work on. 00036 * @param chooserRaterInterfaces We want to talk to the Tactic-Chooser. 00037 */ 00038 OptionRating(const BehaviorControlInterfaces& interfaces, 00039 CollectedBeliefs& collectedBeliefs, 00040 ChooserRaterInterfaces& chooserRaterInterfaces 00041 ) 00042 : BehaviorControlInterfaces(interfaces), 00043 collectedBeliefs(collectedBeliefs), 00044 chooserRaterInterfaces(chooserRaterInterfaces) 00045 {} 00046 00047 /** Destructor */ 00048 virtual ~OptionRating() {} 00049 00050 00051 /** This method should be implemented by descendants */ 00052 virtual void rateOptions() = 0; 00053 00054 }; 00055 00056 #endif // __OptionRating_h_ 00057 00058 /* 00059 * Change log : 00060 * $Log: OptionRating.h,v $ 00061 * Revision 1.3 2004/07/22 22:38:34 kerdels 00062 * added DTT used by Open Challenge, RIP and Xabsl-Options will follow 00063 * 00064 * 00065 */