00001 /** 00002 * @file DefGlobalAnalyser.cpp 00003 * 00004 * Implementation of class DefGlobalAnalyser 00005 * 00006 */ 00007 00008 #include "DefGlobalAnalyser.h" 00009 #include "Tools/DynamicTeamTactic/RateableOptions.h" 00010 00011 DefGlobalAnalyser::DefGlobalAnalyser(const BehaviorControlInterfaces& interfaces) 00012 : GlobalAnalyser(interfaces) 00013 { 00014 } 00015 00016 void DefGlobalAnalyser::update() 00017 { 00018 calcWeights[RateableOptions::defGA_Neutral - RateableOptions::defGA_Neutral] = 1.0; 00019 } 00020 00021 double DefGlobalAnalyser::getWeight(RateableOptions::TacticEntryTypeID tacticEntryType) 00022 { 00023 return calcWeights[tacticEntryType - RateableOptions::defGA_Neutral]; 00024 } 00025 00026 00027 /* 00028 * Change log : 00029 * $Log: DefGlobalAnalyser.cpp,v $ 00030 * Revision 1.1 2004/07/22 22:38:30 kerdels 00031 * added DTT used by Open Challenge, RIP and Xabsl-Options will follow 00032 * 00033 * 00034 * 00035 * 00036 */