/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.40 07/30/16 */ /* */ /* FACT BUILD HEADER FILE */ /*******************************************************/ /*************************************************************/ /* Purpose: */ /* */ /* Principal Programmer(s): */ /* Gary D. Riley */ /* */ /* Contributing Programmer(s): */ /* */ /* Revision History: */ /* */ /* 6.30: Added support for hashed alpha memories. */ /* */ /* Added support for hashed comparisons to */ /* constants. */ /* */ /* 6.40: Removed LOCALE definition. */ /* */ /* Pragma once and other inclusion changes. */ /* */ /* Removed use of void pointers for specific */ /* data structures. */ /* */ /*************************************************************/ #ifndef _H_factbld #pragma once #define _H_factbld struct factPatternNode; #include "network.h" #include "expressn.h" struct factPatternNode { struct patternNodeHeader header; unsigned long bsaveID; unsigned short whichField; // TBD seems to be 1 based rather than 0 based unsigned short whichSlot; unsigned short leaveFields; struct expr *networkTest; struct factPatternNode *nextLevel; struct factPatternNode *lastLevel; struct factPatternNode *leftNode; struct factPatternNode *rightNode; }; void InitializeFactPatterns(Environment *); void DestroyFactPatternNetwork(Environment *,struct factPatternNode *); #endif /* _H_factbld */