00001 /*******************************************************/ 00002 /* "C" Language Integrated Production System */ 00003 /* */ 00004 /* CLIPS Version 6.20 01/31/02 */ 00005 /* */ 00006 /* CONSTRAINT OPERATIONS HEADER FILE */ 00007 /*******************************************************/ 00008 00009 /*************************************************************/ 00010 /* Purpose: Provides functions for performing operations on */ 00011 /* constraint records including computing the intersection */ 00012 /* and union of constraint records. */ 00013 /* */ 00014 /* Principal Programmer(s): */ 00015 /* Gary D. Riley */ 00016 /* */ 00017 /* Contributing Programmer(s): */ 00018 /* */ 00019 /* Revision History: */ 00020 /* */ 00021 /*************************************************************/ 00022 00023 #ifndef _H_cstrnops 00024 #define _H_cstrnops 00025 00026 #if (! RUN_TIME) 00027 00028 #ifndef _H_evaluatn 00029 #include "evaluatn.h" 00030 #endif 00031 #ifndef _H_constrnt 00032 #include "constrnt.h" 00033 #endif 00034 00035 #ifdef LOCALE 00036 #undef LOCALE 00037 #endif 00038 00039 #ifdef _CSTRNOPS_SOURCE_ 00040 #define LOCALE 00041 #else 00042 #define LOCALE extern 00043 #endif 00044 00045 LOCALE struct constraintRecord *IntersectConstraints(void *,struct constraintRecord *,struct constraintRecord *); 00046 #if (! BLOAD_ONLY) 00047 LOCALE struct constraintRecord *UnionConstraints(void *,struct constraintRecord *,struct constraintRecord *); 00048 LOCALE void RemoveConstantFromConstraint(void *,int,void *,CONSTRAINT_RECORD *); 00049 #endif 00050 00051 #endif 00052 00053 #endif
1.5.6