00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef _H_crstrtgy
00035
00036 #define _H_crstrtgy
00037
00038 #include "agenda.h"
00039 #include "symbol.h"
00040
00041 #define DEPTH_STRATEGY 0
00042 #define BREADTH_STRATEGY 1
00043 #define LEX_STRATEGY 2
00044 #define MEA_STRATEGY 3
00045 #define COMPLEXITY_STRATEGY 4
00046 #define SIMPLICITY_STRATEGY 5
00047 #define RANDOM_STRATEGY 6
00048
00049 #define DEFAULT_STRATEGY DEPTH_STRATEGY
00050
00051 #ifdef LOCALE
00052 #undef LOCALE
00053 #endif
00054
00055 #ifdef _CRSTRTGY_SOURCE_
00056 #define LOCALE
00057 #else
00058 #define LOCALE extern
00059 #endif
00060
00061 #define GetStrategy() EnvGetStrategy(GetCurrentEnvironment())
00062 #define SetStrategy(a) EnvSetStrategy(GetCurrentEnvironment(),a)
00063
00064 LOCALE void PlaceActivation(void *,ACTIVATION **,ACTIVATION *,struct salienceGroup *);
00065 LOCALE int EnvSetStrategy(void *,int);
00066 LOCALE int EnvGetStrategy(void *);
00067 LOCALE void *SetStrategyCommand(void *);
00068 LOCALE void *GetStrategyCommand(void *);
00069
00070 #endif
00071
00072
00073