Soar Kernel
9.3.2 08-06-12
|
Go to the source code of this file.
Data Structures | |
struct | select_info_struct |
Typedefs | |
typedef struct agent_struct | agent |
typedef struct select_info_struct | select_info |
Functions | |
const char * | predict_get (agent *my_agent) |
void | predict_init (agent *my_agent) |
void | predict_set (agent *my_agent, const char *prediction) |
void | predict_srand_restore_snapshot (agent *my_agent, bool clear_snapshot=true) |
void | predict_srand_store_snapshot (agent *my_agent) |
preference * | select_force (agent *my_agent, preference *candidates, bool reinit=true) |
const char * | select_get_operator (agent *my_agent) |
void | select_init (agent *my_agent) |
void | select_next_operator (agent *my_agent, const char *operator_id) |
typedef struct agent_struct agent |
Definition at line 20 of file decision_manipulation.h.
typedef struct select_info_struct select_info |
const char* predict_get | ( | agent * | my_agent | ) |
Definition at line 149 of file decision_manipulation.cpp.
References do_decision_phase(), predict_srand_store_snapshot(), and agent_struct::prediction.
void predict_init | ( | agent * | my_agent | ) |
Definition at line 107 of file decision_manipulation.cpp.
References agent_struct::predict_seed, and agent_struct::prediction.
Referenced by create_soar_agent(), init_soar_agent(), and predict_srand_restore_snapshot().
void predict_set | ( | agent * | my_agent, |
const char * | prediction | ||
) |
Definition at line 141 of file decision_manipulation.cpp.
References agent_struct::prediction.
Referenced by decide_context_slot().
void predict_srand_restore_snapshot | ( | agent * | my_agent, |
bool | clear_snapshot = true |
||
) |
Definition at line 129 of file decision_manipulation.cpp.
References predict_init(), agent_struct::predict_seed, and SoarSeedRNG().
Referenced by do_decision_phase().
void predict_srand_store_snapshot | ( | agent * | my_agent | ) |
Definition at line 116 of file decision_manipulation.cpp.
References agent_struct::predict_seed, SoarRandInt(), and uint32_t().
Referenced by predict_get().
preference* select_force | ( | agent * | my_agent, |
preference * | candidates, | ||
bool | reinit = true |
||
) |
Definition at line 66 of file decision_manipulation.cpp.
References symbol_union::id, IDENTIFIER_SYMBOL_TYPE, identifier_struct::name_letter, identifier_struct::name_number, preference_struct::next, agent_struct::select, select_info_struct::select_enabled, select_init(), select_info_struct::select_operator, and preference_struct::value.
Referenced by run_preference_semantics().
const char* select_get_operator | ( | agent * | my_agent | ) |
Definition at line 55 of file decision_manipulation.cpp.
References agent_struct::select, select_info_struct::select_enabled, and select_info_struct::select_operator.
Referenced by run_preference_semantics().
void select_init | ( | agent * | my_agent | ) |
Definition at line 28 of file decision_manipulation.cpp.
References agent_struct::select, select_info_struct::select_enabled, and select_info_struct::select_operator.
Referenced by create_soar_agent(), destroy_soar_agent(), init_soar_agent(), select_force(), and select_next_operator().
void select_next_operator | ( | agent * | my_agent, |
const char * | operator_id | ||
) |
Definition at line 37 of file decision_manipulation.cpp.
References agent_struct::select, select_info_struct::select_enabled, select_init(), and select_info_struct::select_operator.