Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

agent.c File Reference

Go to the source code of this file.

Functions

int next_available_agent_id ()
long init_lapse_duration (TIMER_VALUE *tv)
void init_soar_agent (void)

Variables

agentsoar_agent
listall_soar_agents = NIL
int agent_counter = -1
int agent_count = -1
char * soar_version_string
int soar_agent_ids []


Function Documentation

long init_lapse_duration TIMER_VALUE *  tv  ) 
 

Definition at line 102 of file agent.c.

References current_real_time, INIT_LAPSE_DURATION_CALLBACK, soar_agent, soar_exists_callback(), start_timer(), and timer_value().

Referenced by do_one_top_level_phase().

void init_soar_agent void   ) 
 

Definition at line 137 of file agent.c.

References add_bot_rhs_functions(), add_trace_format(), create_predefined_symbols(), init_attention_lapse(), init_built_in_rhs_functions(), init_chunker(), init_decider(), init_explain(), init_firer(), init_lexer(), init_memory_utilities(), init_production_utilities(), init_real_time(), init_rete(), init_soar_io(), init_symbol_tables(), init_sysparams(), init_tracing(), make_sym_constant(), reset_statistics(), and Symbol.

Referenced by soar_default_create_agent_procedure().

int next_available_agent_id  ) 
 

Definition at line 69 of file agent.c.

References abort_with_fatal_error(), ALLOCATED, soar_agent_ids, TOUCHED, and UNTOUCHED.

Referenced by soar_default_create_agent_procedure().


Variable Documentation

int agent_count = -1
 

Definition at line 59 of file agent.c.

Referenced by soar_cInitAgentIterator(), soar_default_create_agent_procedure(), and soar_default_destroy_agent_procedure().

int agent_counter = -1
 

Definition at line 58 of file agent.c.

Referenced by soar_default_create_agent_procedure().

list* all_soar_agents = NIL
 

Definition at line 56 of file agent.c.

Referenced by control_c_handler(), interrupt_rhs_function_code(), just_before_exit_soar(), run_all_agents(), soar_agent_already_defined(), soar_cDestroyAgentById(), soar_cDestroyAgentByName(), soar_cDestroyAllAgentsWithName(), soar_cGetAgentByName(), soar_cInitAgentIterator(), soar_cRun(), soar_cStepAgentIterator(), soar_default_create_agent_procedure(), soar_default_destroy_agent_procedure(), and soar_Run().

agent* soar_agent
 

Definition at line 54 of file agent.c.

Referenced by abort_with_fatal_error(), add_production_to_rete(), create_instantiation(), do_buffered_wm_changes(), do_input_cycle(), do_one_top_level_phase(), do_output_cycle(), excise_production_from_rete(), init_lapse_duration(), print_string(), reteload_node_and_children(), retract_instantiation(), run_all_agents(), run_current_agent(), run_preference_semantics(), set_sysparam(), soar_cGetCurrentAgent(), soar_cInitAgentIterator(), soar_cQuit(), soar_cReInitSoar(), soar_cRun(), soar_cSetCurrentAgent(), soar_cSetCurrentAgentByName(), soar_cStepAgentIterator(), soar_default_create_agent_procedure(), soar_default_destroy_agent_procedure(), soar_ecCloseLog(), soar_ecOpenLog(), soar_ecReplayInput(), soar_ecSp(), soar_Log(), soar_Print(), soar_Run(), terminate_soar(), and update_for_top_state_wme_addition().

int soar_agent_ids[]
 

Definition at line 63 of file agent.c.

Referenced by next_available_agent_id(), soar_cInitializeSoar(), and soar_default_destroy_agent_procedure().

char* soar_version_string
 

Definition at line 61 of file agent.c.

Referenced by print_startup_banner(), soar_BuildInfo(), soar_cInitializeSoar(), soar_ecBuildInfo(), soar_ecExcludedBuildInfo(), soar_ecPrintSystemStatistics(), and soar_ExcludedBuildInfo().


Generated on Thu Dec 11 13:00:24 2003 for Soar Kernel by doxygen 1.3.5