Soar Kernel
9.3.2 08-06-12
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
src
osupport.h
Go to the documentation of this file.
1
/*************************************************************************
2
* PLEASE SEE THE FILE "license.txt" (INCLUDED WITH THIS SOFTWARE PACKAGE)
3
* FOR LICENSE AND COPYRIGHT INFORMATION.
4
*************************************************************************/
5
6
/* =======================================================================
7
osupport.c
8
9
Calculate_support_for_instantiation_preferences() does run-time o-support
10
calculations -- it fills in pref->o_supported in each pref. on the
11
instantiation. Calculate_compile_time_o_support() does the compile-time
12
version: it takes the LHS and RHS, and fills in the a->support field in
13
each RHS action with either UNKNOWN_SUPPORT, O_SUPPORT, or I_SUPPORT.
14
======================================================================= */
15
16
#ifndef OSUPPORT_H
17
#define OSUPPORT_H
18
19
#ifdef __cplusplus
20
//extern "C"
21
//{
22
#endif
23
24
typedef
char
Bool
;
25
typedef
struct
instantiation_struct
instantiation
;
26
typedef
struct
condition_struct
condition
;
27
typedef
struct
action_struct
action
;
28
typedef
struct
agent_struct
agent
;
29
30
extern
void
calculate_support_for_instantiation_preferences
(
agent
* thisAgent,
instantiation
*inst);
31
extern
void
calculate_compile_time_o_support
(
condition
*lhs,
action
*rhs);
32
33
extern
void
dougs_calculate_support_for_instantiation_preferences
(
agent
* thisAgent,
instantiation
*inst);
34
35
#ifdef __cplusplus
36
//}
37
#endif
38
39
#endif
40
Generated on Mon Aug 6 2012 17:21:02 for Soar Kernel by
1.8.1.2