没有合适的资源?快使用搜索试试~ 我知道了~
首页clips高级编程指南.pdf
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/12806999/bg1.jpg)
Reference Manual
Volume II
Advanced Programming Guide
Version 6.31
June 12th 2019
![](https://csdnimg.cn/release/download_crawler_static/12806999/bg2.jpg)
![](https://csdnimg.cn/release/download_crawler_static/12806999/bg3.jpg)
CLIPS Reference Manual
CLIPS Basic Programming Guide i
CLIPS Advanced Programming Guide
Version 6.31 June 12th 2019
CONTENTS
License Information ....................................................................................................................... i
Preface ........................................................................................................................................... iii
Acknowledgements ..................................................................................................................... vii
Section 1: Introduction ..................................................................................................................1
1.1 Warning About Interfacing With CLIPS .............................................................................1
1.2 C++ Compatibility ...............................................................................................................2
1.3 Threads and Concurrency ....................................................................................................2
1.4 Garbage Collection ..............................................................................................................3
Section 2: Installing and Tailoring CLIPS ..................................................................................9
2.1 Installing CLIPS...................................................................................................................9
2.1.1 Makefiles...................................................................................................................12
2.2 Tailoring CLIPS .................................................................................................................14
Section 3: Integrating CLIPS with External Functions ..........................................................19
3.1 Declaring User-Defined External Functions ......................................................................19
3.2 Passing Arguments from CLIPS to External Functions ....................................................23
3.2.1 Determining the Number of Passed Arguments .......................................................23
3.2.2 Passing Symbols, Strings, Instance Names, Floats, and Integers .............................24
3.2.3 Passing Unknown Data Types ..................................................................................25
3.2.4 Passing Multifield Values .........................................................................................28
3.3 Returning Values To CLIPS From External Functions .....................................................30
3.3.1 Returning Symbols, Strings, and Instance Names ....................................................31
3.3.2 Returning Boolean Values ........................................................................................32
3.3.3 Returning Fact and Instance Addresses ....................................................................34
3.3.4 Returning External Addresses...................................................................................34
3.3.5 Returning Unknown Data Types ..............................................................................35
3.3.6 Returning Multifield Values .....................................................................................37
3.4 User-Defined Function Example .......................................................................................41
Section 4: Embedding CLIPS .....................................................................................................45
4.1 Environment Functions ......................................................................................................45
4.1.1 EnvAddClearFunction ..............................................................................................45
4.1.2 EnvAddPeriodicFunction ..........................................................................................46
4.1.3 EnvAddResetFunction ..............................................................................................47
4.1.4 EnvBatchStar ............................................................................................................47
![](https://csdnimg.cn/release/download_crawler_static/12806999/bg4.jpg)
CLIPS Reference Manual
ii Table of Contents
4.1.5 EnvBload...................................................................................................................48
4.1.6 EnvBsave ..................................................................................................................48
4.1.7 EnvBuild ...................................................................................................................48
4.1.8 EnvClear ...................................................................................................................49
4.1.9 EnvEval .....................................................................................................................49
4.1.10 EnvFunctionCall .....................................................................................................50
4.1.11 EnvGetAutoFloatDividend .....................................................................................50
4.1.12 EnvGetDynamicConstraintChecking ......................................................................51
4.1.13 EnvGetSequenceOperatorRecognition ...................................................................51
4.1.14 EnvGetStaticConstraintChecking ...........................................................................51
4.1.15 InitializeEnvironment .............................................................................................52
4.1.16 EnvLoad ..................................................................................................................52
4.1.17 EnvRemoveClearFunction ......................................................................................53
4.1.18 EnvRemovePeriodicFunction .................................................................................53
4.1.19 EnvRemoveResetFunction ......................................................................................53
4.1.20 EnvReset .................................................................................................................54
4.1.21 EnvSave ..................................................................................................................54
4.1.22 EnvSetAutoFloatDividend ......................................................................................54
4.1.23 EnvSetDynamicConstraintChecking ......................................................................55
4.1.24 EnvSetSequenceOperator Recognition ...................................................................55
4.1.25 EnvSetStaticConstraintChecking ............................................................................56
4.2 Debugging Functions .........................................................................................................56
4.2.1 EnvDribbleActive .....................................................................................................56
4.2.2 EnvDribbleOff ..........................................................................................................57
4.2.3 EnvDribbleOn ...........................................................................................................57
4.2.4 EnvGetWatchItem.....................................................................................................57
4.2.5 EnvUnwatch ..............................................................................................................58
4.2.6 EnvWatch ..................................................................................................................58
4.3 Deftemplate Functions .......................................................................................................59
4.3.1 EnvDeftemplateModule ............................................................................................59
4.3.2 EnvDeftemplateSlotAllowedValues .........................................................................59
4.3.3 EnvDeftemplateSlotCardinality ................................................................................60
4.3.4 EnvDeftemplateSlotDefaultP ....................................................................................60
4.3.5 EnvDeftemplateSlotDefaultValue ............................................................................61
4.3.6 EnvDeftemplateSlotExistP .......................................................................................61
4.3.7 EnvDeftemplateSlotMultiP .......................................................................................61
4.3.8 EnvDeftemplateSlotNames .......................................................................................62
4.3.9 EnvDeftemplateSlotRange ........................................................................................62
4.3.10 EnvDeftemplateSlotSingleP ...................................................................................63
4.3.11 EnvDeftemplateSlotTypes ......................................................................................63
4.3.12 EnvFindDeftemplate ...............................................................................................64
4.3.13 EnvGetDeftemplateList ..........................................................................................64
4.3.14 EnvGetDeftemplateName .......................................................................................64
![](https://csdnimg.cn/release/download_crawler_static/12806999/bg5.jpg)
CLIPS Reference Manual
CLIPS Basic Programming Guide iii
4.3.15 EnvGetDeftemplatePPForm ...................................................................................65
4.3.16 EnvGetDeftemplateWatch ......................................................................................65
4.3.17 EnvGetNextDeftemplate .........................................................................................65
4.3.18 EnvIsDeftemplateDeletable ....................................................................................66
4.3.19 EnvListDeftemplates...............................................................................................66
4.3.20 EnvSetDeftemplateWatch .......................................................................................67
4.3.21 EnvUndeftemplate ..................................................................................................67
4.4 Fact Functions ....................................................................................................................67
4.4.1 EnvAssert ..................................................................................................................67
4.4.2 EnvAssertString ........................................................................................................68
4.4.3 EnvAssignFactSlotDefaults ......................................................................................69
4.4.4 EnvCreateFact ...........................................................................................................70
4.4.5 EnvDecrementFactCount ..........................................................................................73
4.4.6 EnvFactDeftemplate .................................................................................................73
4.4.7 EnvFactExistp ...........................................................................................................73
4.4.8 EnvFactIndex ............................................................................................................74
4.4.9 EnvFacts ....................................................................................................................74
4.4.10 EnvFactSlotNames ..................................................................................................75
4.4.11 EnvGetFactDuplication ...........................................................................................75
4.4.12 EnvGetFactList .......................................................................................................76
4.4.13 EnvGetFactListChanged .........................................................................................76
4.4.14 EnvGetFactPPForm ................................................................................................77
4.4.15 EnvGetFactSlot .......................................................................................................77
4.4.16 EnvGetNextFact ......................................................................................................78
4.4.17 EnvGetNextFactInTemplate ...................................................................................78
4.4.18 EnvIncrementFactCount .........................................................................................79
4.4.19 EnvLoadFacts .........................................................................................................80
4.4.20 EnvLoadFactsFromString .......................................................................................80
4.4.21 EnvPPFact ...............................................................................................................80
4.4.22 EnvPutFactSlot .......................................................................................................81
4.4.23 EnvRetract...............................................................................................................81
4.4.24 EnvSaveFacts ..........................................................................................................82
4.4.25 EnvSetFactDuplication ...........................................................................................82
4.4.26 EnvSetFactListChanged ..........................................................................................83
4.5 Deffacts Functions .............................................................................................................83
4.5.1 EnvDeffactsModule ..................................................................................................83
4.5.2 EnvFindDeffacts .......................................................................................................84
4.5.3 EnvGetDeffactsList...................................................................................................84
4.5.4 EnvGetDeffactsName ...............................................................................................84
4.5.5 EnvGetDeffactsPPForm ............................................................................................85
4.5.6 EnvGetNextDeffacts .................................................................................................85
4.5.7 EnvIsDeffactsDeletable ............................................................................................85
4.5.8 EnvListDeffacts ........................................................................................................86
剩余260页未读,继续阅读
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/dfa7ca05d6584cb5b2e52c27f32efe54_u010657941.jpg!1)
无谓的守护
- 粉丝: 7
- 资源: 14
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
会员权益专享
最新资源
- BSC绩效考核指标汇总 (2).docx
- BSC资料.pdf
- BSC绩效考核指标汇总 (3).pdf
- C5000W常见问题解决方案.docx
- BSC概念 (2).pdf
- ESP8266智能家居.docx
- ESP8266智能家居.pdf
- BSC概念 HR猫猫.docx
- C5000W常见问题解决方案.pdf
- BSC模板:关键绩效指标示例(财务、客户、内部运营、学习成长四个方面).docx
- BSC概念.docx
- BSC模板:关键绩效指标示例(财务、客户、内部运营、学习成长四个方面).pdf
- BSC概念.pdf
- 各种智能算法的总结汇总.docx
- BSC概念 HR猫猫.pdf
- bsc概念hr猫猫.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)