#include <RateableOptions.h>
Collaboration diagram for RateableOptions:
Public Types | |
enum | OptionID { noOption = 0, doNothing, stand, keepOption, intro, extro, finished, gotoBitePos1, gotoBitePos2, gotoBitePos3, gotoBitePos4, bitePos1, bitePos2, bitePos3, bitePos4, movePos1, movePos2, movePos3, movePos4, gotoBridge, climbBridge, waitForBiteDogs, moveBridge, numOfOptions } |
Enumerator for available options Add new options here. More... | |
enum | OptionType { special, gotoPos, gotoBallPos, kickAction, goalieAction, notype } |
Enumerator for available options types ... More... | |
enum | OptionClassID { doSomething = numOfOptions, maxOptionClassID, numOfOptionClasses = maxOptionClassID - numOfOptions } |
enum | TacticEntryTypeID { FirstTETID = 0, defGA_Neutral, defGA_Max, numOfTETIDs } |
Enumerator for available TacticEntryTypes used by GlobalAnalysers Add new engines here. More... | |
enum | OptionRatingID { defaultOptionRating = 0, numOfOptionRatings } |
Enumerator for available OptionRating engines Add new engines here. More... | |
enum | TacticChooserID { defaultTacticChooser = 0, numOfTacticChoosers } |
Enumerator for available TacticChooser engines Add new engines here. More... | |
enum | GlobalAnalyserID { defaultGlobalAnalyser = 0, numOfGlobalAnalysers } |
Enumerator for available GlobalAnalyser engines Add new engines here. More... | |
Static Public Member Functions | |
const char * | getOptionName (int id) |
returns names for option and option class ids | |
int | getOptionID (const char *name) |
returns ids for option and option class names | |
OptionType | getOptionType (int id) |
returns types for option ids | |
int | getSlidingAverageRange (int id) |
returns SlidingAverageRange for option and option class names | |
int | getRatingBoost (int id) |
returns RatingBoost for option and option class names | |
int | getNumberOfClassMembers (OptionClassID id) |
The following two functions represent the members of a OptionClass.. | |
int | getOptionClassChangeThreshold (OptionClassID id) |
OptionID | getClassMember (OptionClassID id, int idx) |
bool | isOptionClass (int id) |
returns true, if id is an option class, else false | |
bool | isClassMember (OptionClassID OCid, OptionID Oid) |
returns true, if Oid is a member of the option class OCid, else false | |
const char * | getTETIDName (TacticEntryTypeID id) |
returns names of a TETID Add new IDs here | |
const char * | getGlobalAnalyserName (GlobalAnalyserID id) |
returns names of GlobalAnalysers engines Add new engines here | |
int | getGlobalAnalyserTETBase (GlobalAnalyserID id) |
returns the base index of TETIDs of a GlobalAnalysers engine Add new engines here | |
int | getGlobalAnalyserTETCount (GlobalAnalyserID id) |
returns the TETID Count of a GlobalAnalysers engine Add new engines here | |
TacticEntryTypeID | getGlobalAnalyserNeutralTETID (GlobalAnalyserID id) |
returns the neutral TETID of a GlobalAnalysers engine Add new engines here | |
TacticEntryTypeID | getTETID (GlobalAnalyserID id, const char *name) |
returns ids for TETID names Add new IDs here | |
Static Public Attributes | |
OptionInfo | optionInfos [] |
Definition at line 16 of file RateableOptions.h.
|
Enumerator for available options Add new options here.
Definition at line 24 of file RateableOptions.h. Referenced by getClassMember(). |
|
Enumerator for available options types ... NOT classes This is used for the xabsl-interface Definition at line 56 of file RateableOptions.h. Referenced by getOptionType(). |
|
Definition at line 66 of file RateableOptions.h. Referenced by isOptionClass(). |
|
Enumerator for available TacticEntryTypes used by GlobalAnalysers Add new engines here.
Definition at line 89 of file RateableOptions.h. Referenced by getGlobalAnalyserNeutralTETID(), and getTETID(). |
|
Enumerator for available OptionRating engines Add new engines here.
Definition at line 125 of file RateableOptions.h. |
|
Enumerator for available TacticChooser engines Add new engines here.
Definition at line 135 of file RateableOptions.h. |
|
Enumerator for available GlobalAnalyser engines Add new engines here.
Definition at line 147 of file RateableOptions.h. |
|
returns names for option and option class ids
Definition at line 73 of file RateableOptions.cpp. References RateableOptions::OptionInfo::id, RateableOptions::OptionInfo::name, and optionInfos. Referenced by operator<<(). |
|
returns ids for option and option class names
Definition at line 86 of file RateableOptions.cpp. References RateableOptions::OptionInfo::id, RateableOptions::OptionInfo::name, and optionInfos. Referenced by operator>>(). |
|
returns types for option ids
Definition at line 98 of file RateableOptions.cpp. References RateableOptions::OptionInfo::id, notype, optionInfos, RateableOptions::OptionInfo::optionType, and OptionType. Referenced by GT2004DTTSymbols::update(). |
|
returns SlidingAverageRange for option and option class names
Definition at line 110 of file RateableOptions.cpp. References RateableOptions::OptionInfo::id, optionInfos, and RateableOptions::OptionInfo::slidingAverageRange. |
|
returns RatingBoost for option and option class names
Definition at line 122 of file RateableOptions.cpp. References RateableOptions::OptionInfo::id, optionInfos, and RateableOptions::OptionInfo::ratingBoost. Referenced by DefaultOptionRating::rateOptions(). |
|
The following two functions represent the members of a OptionClass.. kind of a hack, i know.. Definition at line 38 of file RateableOptions.cpp. References RateableOptions::OptionInfo::id, RateableOptions::OptionInfo::numOfSubOptions, and optionInfos. Referenced by SingleBeliefs::getBestOptionInOptionClass(), and isOptionClass(). |
|
Definition at line 47 of file RateableOptions.cpp. References RateableOptions::OptionInfo::changeThreshold, RateableOptions::OptionInfo::id, and optionInfos. Referenced by SingleBeliefs::getBestOptionInOptionClass(). |
|
Definition at line 56 of file RateableOptions.cpp. References doSomething, noOption, OptionID, and stand. Referenced by SingleBeliefs::getBestOptionInOptionClass(), and SingleBeliefs::SingleBeliefs(). |
|
returns true, if id is an option class, else false
Definition at line 135 of file RateableOptions.cpp. References getNumberOfClassMembers(), noOption, and OptionClassID. Referenced by operator>>(). |
Here is the call graph for this function:
|
returns true, if Oid is a member of the option class OCid, else false
Definition at line 144 of file RateableOptions.cpp. References doSomething, and stand. |
|
returns names of a TETID Add new IDs here
Definition at line 157 of file RateableOptions.h. References defGA_Neutral. |
|
returns names of GlobalAnalysers engines Add new engines here
Definition at line 169 of file RateableOptions.h. References defaultGlobalAnalyser. |
|
returns the base index of TETIDs of a GlobalAnalysers engine Add new engines here
Definition at line 181 of file RateableOptions.h. References defaultGlobalAnalyser, and defGA_Neutral. |
|
returns the TETID Count of a GlobalAnalysers engine Add new engines here
Definition at line 192 of file RateableOptions.h. References defaultGlobalAnalyser, defGA_Max, and defGA_Neutral. |
|
returns the neutral TETID of a GlobalAnalysers engine Add new engines here
Definition at line 203 of file RateableOptions.h. References defaultGlobalAnalyser, defGA_Neutral, FirstTETID, and TacticEntryTypeID. Referenced by operator>>(). |
|
returns ids for TETID names Add new IDs here
Definition at line 215 of file RateableOptions.h. References defaultGlobalAnalyser, defGA_Neutral, FirstTETID, and TacticEntryTypeID. |
|
Definition at line 3 of file RateableOptions.cpp. Referenced by getNumberOfClassMembers(), getOptionClassChangeThreshold(), getOptionID(), getOptionName(), getOptionType(), getRatingBoost(), and getSlidingAverageRange(). |