没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Reference Manual
Volume II
Advanced Programming Guide
Version 6.31
June 12th 2019
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
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
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页未读,继续阅读
资源评论
无谓的守护
- 粉丝: 7
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Vulkan、DirectX 12 和 Metal 的 GPU 内存分配器 用纯 Rust 编写.zip
- Android Studio实现的校园二手交易系统毕业设计校园二手交易App项目源码
- Java学习资源综合指南
- 数字化转型:无形资产占比测算(2007-2022年).zip
- Vulkan 和 DirectX 12 挂钩可让您为 Red Dead Redemption 2 创建 ImGui 菜单.zip
- 汇编语言学习资源汇总-x86架构与实践指南
- 源于高考题的中文微调数据集
- VSCode + CMake + nmake(MSVC) + DirectX 示例.zip
- Voodoo Shader 改进并扩展了新旧游戏中的图形 它速度快、稳定、开源,可在 ATi,AMD 和 nVidia 上使用 DirectX 或 OpenGL 运行 .zip
- 机器人开发综合指南-涵盖编程、操作系统及硬件资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功