|
|
Definition at line 65 of file classifier.h. Referenced by NLAINIMAT::CClassifierPriority::getClassifierTimer(), NLAINIMAT::CClassifierPriority::getPriority(), and NLAINIMAT::CClassifierPriority::getPriorityTimer(). |
|
Definition at line 32 of file black_box.h. |
|
Definition at line 33 of file black_box.h. |
|
Definition at line 63 of file classifier.h. |
|
|
Definition at line 31 of file black_box.h. |
|
|
This type give all the actions and virtual actions (high level action) of an Agent.
Definition at line 185 of file sensors_motivations_actions_def.h. Referenced by NLAINIMAT::CMHiCSbase::addVirtualActionCS(), NLAINIMAT::CActionResources::filterMyActions(), NLAINIMAT::CMHiCSbase::getActionPart(), NLAINIMAT::CClassifierSystem::getActionPart(), NLAINIMAT::CActionClassifiers::getName(), NLAINIMAT::CMHiCSbase::loadClassifierFromFile(), NLAINIMAT::CMHiCSagent::motivationCompute(), and NLAINIMAT::CMHiCSagent::selectBehavior().
00186 { 00188 // First we have all the actions that may be executed 00189 Action_DoNothing = 0, // This action must always be in 0. It's used this way in classifier.cpp 00190 00191 // Action_Idle, 00192 Action_Target_MoveAway, 00193 Action_Target_ShootTo, 00194 Action_Target_Approach, 00195 // Action_Item_Approach, 00196 // Action_Waypoint_MoveTo, 00197 Action_MoveToTargetFlag, 00198 Action_MoveToTargetFlagStart, // The one I must catch 00199 Action_MoveToTargetFlagGoal, 00200 Action_MoveToMyFlagStart, // The one my enemy must catch 00201 Action_MoveToMyFlagGoal, 00202 Action_LookAround, 00203 00204 Action_SelectClassScout, 00205 Action_SelectClassSniper, 00206 Action_SelectClassSoldier, 00207 Action_SelectClassDemoman, 00208 Action_SelectClassMedic, 00209 Action_SelectClassHwguy, 00210 Action_SelectClassPyro, 00211 Action_SelectClassSpy, 00212 Action_SelectClassEngineer, 00213 00215 // Then we have all the virtual action that are high level action 00216 // They must all be after Action_VIRTUAL_ACTIONS and they must start with "V_" 00217 Action_VIRTUAL_ACTIONS, 00218 00219 Action_Unknown 00220 }; |
|
This type give all the action resources of an Agent.
Definition at line 257 of file sensors_motivations_actions_def.h. Referenced by NLAINIMAT::CActionResources::filterMyActions().
00258 { 00259 ActionResources_pitch = 0, 00260 ActionResources_yaw, 00261 ActionResources_forwardMove, 00262 ActionResources_sideMove, 00263 ActionResources_button_attack, 00264 ActionResources_button_attack2, 00265 ActionResources_button_jump, 00266 ActionResources_button_duck, 00267 ActionResources_button_forward, // Used for ladders 00268 ActionResources_button_use, 00269 ActionResources_button_reload, 00270 ActionResources_currentWeapon, 00271 ActionResources_callForHealth, 00272 ActionResources_grenade1, 00273 ActionResources_grenade2, 00274 ActionResources_selectClass, 00275 00276 ActionResources_Unknown 00277 }; |
|
Used to know how a behaviour terminate.
Definition at line 41 of file classifier.h.
00042 { 00043 BehaviorTerminate_Success, 00044 BehaviorTerminate_Failure, 00045 BehaviorTerminate_Interupt, //***G*** Heu... pour le moment une action n'est pas prévenue 00046 //quand elle est intérompue et à priori ne s'intérompt pas elle même 00047 BehaviorTerminate_Unknown 00048 }; |
|
This type give all the motivations of an Agent.
Definition at line 45 of file sensors_motivations_actions_def.h. Referenced by NLAINIMAT::CMHiCSbase::addVirtualActionCS(), NLAINIMAT::CMotivationEnergy::computeMotivationValue(), NLAINIMAT::CMHiCSbase::dbgPrintClassifierPriorityInFile(), NLAINIMAT::CMHiCSagent::learningComputation(), NLAINIMAT::CMHiCSbase::loadClassifierFromFile(), and NLAINIMAT::CMHiCSagent::motivationCompute().
00046 { 00047 Motivation_Aggro = 0, 00048 Motivation_Fear, 00049 Motivation_GroupScore, 00050 Motivation_IndividualScore, 00051 00052 Motivation_Unknown 00053 }; |
|
This type give all the sensors of an Agent.
Definition at line 71 of file sensors_motivations_actions_def.h. Referenced by NLAINIMAT::CClassifierSystem::addClassifier(), NLAINIMAT::CClassifierSystem::CClassifierConditionCell::getSensorName(), NLAINIMAT::CMHiCSbase::loadClassifierFromFile(), NLAINIMAT::CClassifierSystem::updateNoTargetSensors(), and NLAINIMAT::CClassifierSystem::updateTargetSensors().
00072 { 00074 // First we have the locals sensors that don't depend of a target 00075 Sensor_BotLife = 0, //(H)igh (M)edium (L)ow (D)ead 00076 Sensor_BotHasFlag, //(T)rue (F)alse 00077 Sensor_BotHasTarget, //(T)rue (F)alse 00078 Sensor_GroupHasFlag, //(T)rue (F)alse 00079 Sensor_EnnemyGroupHasFlag, //(T)rue (F)alse 00080 Sensor_DamageTaken, //(T)rue (F)alse 00081 Sensor_BotClass, // s(C)out s(N)iper (S)oldier (D)emoman (M)edic (H)eavy_weapon_guy (P)yro sp(Y) (E)ngineer (O)ther 00082 00083 Sensor_ScoutInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00084 Sensor_SniperInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00085 Sensor_SoldierInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00086 Sensor_DemomanInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00087 Sensor_MedicInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00088 Sensor_HWGuyInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00089 Sensor_PyroInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00090 Sensor_SpyInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00091 Sensor_EngineerInMyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00092 00093 Sensor_ScoutInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00094 Sensor_SniperInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00095 Sensor_SoldierInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00096 Sensor_DemomanInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00097 Sensor_MedicInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00098 Sensor_HWGuyInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00099 Sensor_PyroInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00100 Sensor_SpyInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00101 Sensor_EngineerInEnemyTeam, // (T)true (F)alse. True if I had seen one seen my last respawn. 00102 00104 // Then we have all sensors that need a target to compute 00105 // They must all be after Sensors_WITHTARGET 00106 Sensors_WITHTARGET, // *** This enum is used as a delimiter between sensor with no target and sensors with target *** 00107 00108 Sensor_TARGET_SENSORS, 00109 Sensor_TargetLife, //(H)igh (M)edium (L)ow (D)ead (U)nknown 00110 Sensor_TargetHasFlag, //(T)rue (F)alse 00111 Sensor_TargetIsMyFriend, //(T)rue (F)alse 00112 Sensor_TargetDistance, //(C)ontact (L)ong (F)ar 00113 Sensor_TargetIsMyCurrentTarget, //(T)rue (F)alse 00114 Sensor_TargetClass, // s(C)out s(N)iper (S)oldier (D)emoman (M)edic (H)eavy_weapon_guy (P)yro sp(Y) (E)ngineer (O)ther 00115 00116 // Sensor_ITEM_SENSORS, 00117 // Sensor_ItemDistance, //(C)ontact (L)ong (F)ar 00118 // Sensor_ItemType, 00119 // Sensor_ItemIsBotFlag, //(T)rue (F)alse 00120 // Sensor_ItemIsEnnemyFlag, //(T)rue (F)alse 00121 // Sensor_WAYPOINT_SENSORS, 00122 // Sensor_wpFlag, //(T)rue (F)alse 00123 // Sensor_wpFlagGoal, //(T)rue (F)alse 00124 00125 Sensor_Unknown 00126 }; |
|
|
|
|
|
|
|
|
|
|
|
Initial value: { { "DoNothing", Action_DoNothing }, { "Target_MoveAway", Action_Target_MoveAway }, { "Target_ShootTo", Action_Target_ShootTo }, { "Target_Approach", Action_Target_Approach }, { "MoveToTargetFlag", Action_MoveToTargetFlag }, { "MoveToTargetFlagStart", Action_MoveToTargetFlagStart }, { "MoveToTargetFlagGoal", Action_MoveToTargetFlagGoal }, { "MoveToMyFlagStart", Action_MoveToMyFlagStart }, { "MoveToMyFlagGoal", Action_MoveToMyFlagGoal }, { "LookAround", Action_LookAround }, { "SelectClassScout", Action_SelectClassScout }, { "SelectClassSniper", Action_SelectClassSniper }, { "SelectClassSoldier", Action_SelectClassSoldier }, { "SelectClassDemoman", Action_SelectClassDemoman }, { "SelectClassMedic", Action_SelectClassMedic }, { "SelectClassHwguy", Action_SelectClassHwguy }, { "SelectClassPyro", Action_SelectClassPyro }, { "SelectClassSpy", Action_SelectClassSpy }, { "SelectClassEngineer", Action_SelectClassEngineer }, } Definition at line 222 of file sensors_motivations_actions_def.h. |
|
Initial value: { { "Success", BehaviorTerminate_Success }, { "Failure", BehaviorTerminate_Failure }, { "Interupt", BehaviorTerminate_Interupt }, } Definition at line 49 of file classifier.h. |
|
Initial value: { { "Aggro", Motivation_Aggro }, { "Fear", Motivation_Fear }, { "GroupScore", Motivation_GroupScore }, { "IndividualScore", Motivation_IndividualScore } } Definition at line 55 of file sensors_motivations_actions_def.h. |
|
Initial value: { {"BotLife", Sensor_BotLife }, {"BotHasFlag", Sensor_BotHasFlag }, {"BotHasTarget", Sensor_BotHasTarget }, {"GroupHasFlag", Sensor_GroupHasFlag }, {"EnnemyGroupHasFlag", Sensor_EnnemyGroupHasFlag }, {"DamageTaken", Sensor_DamageTaken }, {"BotClass", Sensor_BotClass }, {"ScoutInMyTeam", Sensor_ScoutInMyTeam }, {"SniperInMyTeam", Sensor_SniperInMyTeam }, {"SoldierInMyTeam", Sensor_SoldierInMyTeam }, {"DemomanInMyTeam", Sensor_DemomanInMyTeam }, {"MedicInMyTeam", Sensor_MedicInMyTeam }, {"HWGuyInMyTeam", Sensor_HWGuyInMyTeam }, {"PyroInMyTeam", Sensor_PyroInMyTeam }, {"SpyInMyTeam", Sensor_SpyInMyTeam }, {"EngineerInMyTeam", Sensor_EngineerInMyTeam }, {"ScoutInEnemyTeam", Sensor_ScoutInEnemyTeam }, {"SniperInEnemyTeam", Sensor_SniperInEnemyTeam }, {"SoldierInEnemyTeam", Sensor_SoldierInEnemyTeam }, {"DemomanInEnemyTeam", Sensor_DemomanInEnemyTeam }, {"MedicInEnemyTeam", Sensor_MedicInEnemyTeam }, {"HWGuyInEnemyTeam", Sensor_HWGuyInEnemyTeam }, {"PyroInEnemyTeam", Sensor_PyroInEnemyTeam }, {"SpyInEnemyTeam", Sensor_SpyInEnemyTeam }, {"EngineerInEnemyTeam", Sensor_EngineerInEnemyTeam } , {"TARGET_SENSORS", Sensor_TARGET_SENSORS }, {"TargetLife", Sensor_TargetLife }, {"TargetHasFlag", Sensor_TargetHasFlag }, {"TargetIsMyFriend", Sensor_TargetIsMyFriend }, {"TargetDistance", Sensor_TargetDistance }, {"TargetIsMyCurrentTarget", Sensor_TargetIsMyCurrentTarget }, {"TargetClass", Sensor_TargetClass } } Definition at line 129 of file sensors_motivations_actions_def.h. |