📄 reteutil.h
字号:
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.05 04/09/97 */ /* */ /* RETE UTILITY HEADER FILE */ /*******************************************************//*************************************************************//* Purpose: Provides a set of utility functions useful to *//* other modules. *//* *//* Principal Programmer(s): *//* Gary D. Riley *//* *//* Contributing Programmer(s): *//* *//* Revision History: *//* *//*************************************************************/#ifndef _H_reteutil#define _H_reteutil#ifndef _H_evaluatn#include "evaluatn.h"#endif#ifndef _H_match#include "match.h"#endif#ifndef _H_network#include "network.h"#endif#ifdef LOCALE#undef LOCALE#endif#ifdef _RETEUTIL_SOURCE_#define LOCALE#else#define LOCALE extern#endif#if ANSI_COMPILER LOCALE VOID PrintPartialMatch(char *,struct partialMatch *); LOCALE struct partialMatch *CopyPartialMatch(struct partialMatch *,int,int); LOCALE struct partialMatch *MergePartialMatches(struct partialMatch *,struct partialMatch *,int,int); LOCALE struct partialMatch *AddSingleMatch(struct partialMatch *,struct alphaMatch *,int,int); LOCALE struct partialMatch *NewPseudoFactPartialMatch(void); LOCALE long int IncrementPseudoFactIndex(void); LOCALE VOID FlushAlphaBetaMemory(struct partialMatch *); LOCALE int GetPatternNumberFromJoin(struct joinNode *); LOCALE VOID PrimeJoin(struct joinNode *); LOCALE struct multifieldMarker *CopyMultifieldMarkers(struct multifieldMarker *); LOCALE struct partialMatch *CreateAlphaMatch(VOID *,struct multifieldMarker *, struct patternNodeHeader *); LOCALE VOID TraceErrorToRule(struct joinNode *,char *); LOCALE VOID InitializePatternHeader(struct patternNodeHeader *); LOCALE VOID MarkRuleNetwork(int); LOCALE VOID TagRuleNetwork(long *,long *,long *);#else LOCALE VOID PrintPartialMatch(); LOCALE struct partialMatch *CopyPartialMatch(); LOCALE struct partialMatch *MergePartialMatches(); LOCALE struct partialMatch *AddSingleMatch(); LOCALE struct partialMatch *NewPseudoFactPartialMatch(); LOCALE long int IncrementPseudoFactIndex(); LOCALE VOID FlushAlphaBetaMemory(); LOCALE int GetPatternNumberFromJoin(); LOCALE VOID PrimeJoin(); LOCALE struct multifieldMarker *CopyMultifieldMarkers(); LOCALE struct partialMatch *CreateAlphaMatch(); LOCALE VOID TraceErrorToRule(); LOCALE VOID InitializePatternHeader(); LOCALE VOID MarkRuleNetwork(); LOCALE VOID TagRuleNetwork();#endif #ifndef _RETEUTIL_SOURCE_ extern struct partialMatch *GlobalLHSBinds; extern struct partialMatch *GlobalRHSBinds; extern struct joinNode *GlobalJoin;#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -