tmpltutl.h
来自「NASA 开发使用的一个专家系统」· C头文件 代码 · 共 83 行
H
83 行
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.05 04/09/97 */ /* */ /* DEFTEMPLATE UTILITIES HEADER FILE */ /*******************************************************//*************************************************************//* Purpose: *//* *//* Principal Programmer(s): *//* Gary D. Riley *//* *//* Contributing Programmer(s): *//* *//* Revision History: *//* *//*************************************************************/#ifndef _H_tmpltutl#define _H_tmpltutl#ifndef _H_expressn#include "expressn.h"#endif#ifndef _H_evaluatn#include "evaluatn.h"#endif#ifndef _H_factmngr#include "factmngr.h"#endif#ifndef _H_constrnt#include "constrnt.h"#endif#ifndef _H_symbol#include "symbol.h"#endif#ifdef LOCALE#undef LOCALE#endif#ifdef _TMPLTUTL_SOURCE_#define LOCALE#else#define LOCALE extern#endif#if ANSI_COMPILER LOCALE VOID InvalidDeftemplateSlotMessage(char *,char *); LOCALE VOID SingleFieldSlotCardinalityError(char *); LOCALE VOID MultiIntoSingleFieldSlotError(struct templateSlot *,struct deftemplate *); LOCALE VOID CheckTemplateFact(struct fact *); LOCALE BOOLEAN CheckRHSSlotTypes(struct expr *,struct templateSlot *,char *); LOCALE struct templateSlot *GetNthSlot(struct deftemplate *,int); LOCALE int FindSlotPosition(struct deftemplate *,struct symbolHashNode *); LOCALE VOID PrintTemplateFact(char *,struct fact *); LOCALE VOID UpdateDeftemplateScope(void); LOCALE struct templateSlot *FindSlot(struct deftemplate *,struct symbolHashNode *,int *); LOCALE struct deftemplate *CreateImpliedDeftemplate(SYMBOL_HN *,int);#else LOCALE VOID InvalidDeftemplateSlotMessage(); LOCALE VOID SingleFieldSlotCardinalityError(); LOCALE VOID MultiIntoSingleFieldSlotError(); LOCALE VOID CheckTemplateFact(); LOCALE BOOLEAN CheckRHSSlotTypes(); LOCALE struct templateSlot *GetNthSlot(); LOCALE int FindSlotPosition(); LOCALE VOID PrintTemplateFact(); LOCALE VOID UpdateDeftemplateScope(); LOCALE struct templateSlot *FindSlot(); LOCALE struct deftemplate *CreateImpliedDeftemplate();#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?