1 #include <portability.h>
114 #ifdef REAL_TIME_BEHAVIOR
116 init_real_time(thisAgent);
122 "%id %ifdef[(%v[name])]");
124 "%id %ifdef[(%v[attribute] %v[impasse])]");
125 {
Symbol *evaluate_object_sym;
128 "%id (evaluate-object %o[object])");
133 "%right[6,%dc]: %rsd[ ]==>S: %cs");
135 "%right[6,%dc]: %rsd[ ] O: %co");
146 char cur_path[MAXPATHLEN];
255 for (
int i=0; i < 256; i++) {
275 if(!getcwd(cur_path, MAXPATHLEN))
276 print(newAgent,
"Unable to set current directory while initializing agent.\n");
284 for (
int productionTypeCounter=0; productionTypeCounter<
NUM_PRODUCTION_TYPES; productionTypeCounter++) {
311 #ifndef NO_TIMING_STUFF
315 #ifdef DETAILED_TIMING_STATS
325 newAgent->
dyn_counters =
new std::map< std::string, uint64_t >();
353 #ifdef USE_MEM_POOL_ALLOCATORS
384 #ifdef USE_MEM_POOL_ALLOCATORS
415 #ifdef USE_MEM_POOL_ALLOCATORS
463 delete delete_agent->
select;
520 free(delete_agent->
name);
528 curmattr = curmattr->
next ) {
533 lastmattr = curmattr;
571 for (
int i=0; i<3; i++) {
577 for (
int i=0; i<16; i++) {
591 while(cur_pool !=
NIL) {
592 next_pool = cur_pool->
next;
594 cur_pool = next_pool;