1 #include <portability.h>
30 #include "soar_TraceNames.h"
51 wme *w =
make_wme( my_agent,
id, attr, value,
false );
102 for ( symbol_triple_list::iterator a_it=actions->begin(); a_it!=actions->end(); a_it++ )
122 for ( wme_set::iterator c_it=conditions->begin(); c_it!=conditions->end(); c_it++ )
125 allocate_with_pool( my_agent, &( my_agent->
condition_pool ), &cond );
127 cond->
prev = prev_cond;
129 if ( prev_cond != NULL )
131 prev_cond->
next = cond;
145 #ifndef DO_TOP_LEVEL_REF_CTS
152 cond->
bt.
level = (*c_it)->id->id.level;
153 cond->
bt.
trace = (*c_it)->preference;
157 #ifndef DO_TOP_LEVEL_REF_CTS
183 std::map< size_t, memory_pool* >::iterator it = my_agent->
dyn_memory_pools->find( size );
189 my_agent->
dyn_memory_pools->insert( std::make_pair< size_t, memory_pool* >( size, newbie ) );
195 return_val = it->second;