⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rulecom.h

📁 clips源代码
💻 H
字号:
   /*******************************************************/   /*      "C" Language Integrated Production System      */   /*                                                     */   /*             CLIPS Version 6.30  10/19/06            */   /*                                                     */   /*             DEFRULE COMMANDS HEADER FILE            */   /*******************************************************//*************************************************************//* Purpose: Provides the matches command. Also provides the  *//*   the developer commands show-joins and rule-complexity.  *//*   Also provides the initialization routine which          *//*   registers rule commands found in other modules.         *//*                                                           *//* Principal Programmer(s):                                  *//*      Gary D. Riley                                        *//*                                                           *//* Contributing Programmer(s):                               *//*      Brian L. Donnell                                     *//*                                                           *//* Revision History:                                         *//*                                                           *//*      6.24: Renamed BOOLEAN macro type to intBool.         *//*                                                           *//*      6.30: Added support for hashed alpha memories.       *//*                                                           *//*            Added matches-count function.                  *//*                                                           *//*            Added get-join-hashing and set-join-hashing    *//*            functions.                                     *//*                                                           *//*************************************************************/#ifndef _H_rulecom#define _H_rulecom#ifndef _H_evaluatn#include "evaluatn.h"#endif#ifdef LOCALE#undef LOCALE#endif#ifdef _RULECOM_SOURCE_#define LOCALE#else#define LOCALE extern#endif#if ENVIRONMENT_API_ONLY#define Matches(theEnv,a) EnvMatches(theEnv,a)#define JoinActivity(theEnv,a,b) EnvJoinActivity(theEnv,a,b)#define MatchesCount(theEnv,a) EnvMatchesCount(theEnv,a)#define GetBetaMemoryResizing(theEnv) EnvGetBetaMemoryResizing(theEnv)#define SetBetaMemoryResizing(theEnv,a) EnvSetBetaMemoryResizing(theEnv,a)#else#define Matches(a) EnvMatches(GetCurrentEnvironment(),a)#define JoinActivity(a,b) EnvJoinActivity(GetCurrentEnvironment(),a,b)#define MatchesCount(a) EnvMatchesCount(GetCurrentEnvironment(),a)#define GetBetaMemoryResizing() EnvGetBetaMemoryResizing(GetCurrentEnvironment())#define SetBetaMemoryResizing(a) EnvSetBetaMemoryResizing(GetCurrentEnvironment(),a)#endif   LOCALE intBool                        EnvGetBetaMemoryResizing(void *);   LOCALE intBool                        EnvSetBetaMemoryResizing(void *,intBool);   LOCALE int                            GetBetaMemoryResizingCommand(void *);   LOCALE int                            SetBetaMemoryResizingCommand(void *);   LOCALE intBool                        EnvMatches(void *,void *);   LOCALE long long                      EnvJoinActivity(void *,void *,int);   LOCALE intBool                        EnvMatchesCount(void *,void *);   LOCALE void                           DefruleCommands(void *);   LOCALE void                           MatchesCommand(void *);   LOCALE long long                      JoinActivityCommand(void *);   LOCALE void                           MatchesCountCommand(void *);   LOCALE long long                      TimetagFunction(void *);#if DEVELOPER   LOCALE void                           ShowJoinsCommand(void *);   LOCALE long                           RuleComplexityCommand(void *);   LOCALE void                           ShowAlphaHashTable(void *);#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -