root/vtcross/trunk/src/cognitive_engine.h @ 77

Revision 33, 0.6 KB (checked in by ahe, 16 years ago)

cactus: adding cognitive engine base functions

Line 
1//
2// Cognitive engine descriptor
3//
4
5#ifndef __COGNITIVE_ENGINE_H__
6#define __COGNITIVE_ENGINE_H__
7
8typedef struct {
9    float value;
10    char name[64];
11} object;
12
13typedef struct ce_s * ce;
14struct ce_s {
15    // utilities
16    object * u;
17    unsigned int num_utilities;
18   
19    // parameters
20    object * p;
21    unsigned int num_parameters;
22
23    // observables
24    object * o;
25    unsigned int num_observables;
26
27    char name[64];
28};
29
30ce ce_create(char * _xmlfilename /*, engine_type (e.g. CBR) */);
31void ce_destroy(ce _engine);
32void ce_print(ce _engine);
33
34// TODO add specific commands to take action, store experience
35
36#endif // __COGNITIVE_ENGINE_H__
Note: See TracBrowser for help on using the browser.