- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
jess7.0languagereference
Jess 7.0 Language Reference
? Ernest Friedman-Hill
Sandia National Laboratories
Table of Contents
Introduction 1
1. Getting Started 3
1.1. Requirements 3
1.2. Getting ready 4
2. The JessDE Developers Environment 7
2.1. Installing the JessDE 7
2.2. Using the JessDE 8
3. Jess Language Basics 11
3.1. Symbols 11
3.2. Numbers 11
3.3. Strings 11
3.4. Lists 12
3.5. Comments 12
3.6. Calling functions 12
3.7. Variables 13
3.8. Control flow 14
4. Defining Functions in Jess 17
4.1. Deffunctions 17
4.2. Defadvice 18
5. Working Memory 19
5.1. Templates 19
5.2. Unordered facts 20
5.3. Shadow facts 22
5.4. Ordered facts 26
5.5. The deffacts construct 27
5.6. How Facts are Implemented 28
6. Making Your Own Rules 29
6.1. Introducing defrules 29
6.2. Simple patterns 31
6.3. Patterns in Depth 32
6.4. Matching in Multislots 34
6.5. Pattern bindings 35
6.6. More about regular expressions 36
6.7. Salience and conflict resolution 36
6.8. The and conditional element. 37
6.9. The or conditional element. 37
6.10. The not conditional element. 38
6.11. The exists conditional element. 38
6.12. The test conditional element. 39
6.13. The logical conditional element. 40
6.14. The forall conditional element. 41
6.15. The accumulate conditional element. 42
6.16. The unique conditional element. 43
6.17. Node index hash value. 43
6.18. The slot-specific declaration for deftemplates 43
6.19. The no-loop declaration for rules 43
6.20. Forward and backward chaining 44
6.21. Defmodules 45
7. Querying Working Memory 51
7.1. Linear search 51
7.2. The defquery construct 51
7.3. A simple example 52
7.4. The variable declaration 54
7.5. The max-background-rules declaration 54
7.6. The count-query-results command 54
8. Using Java from Jess 55
8.1. Java reflection 55
8.2. Transferring values between Jess and Java code 57
8.3. Implementing Java interfaces with Jess 58
8.4. Java Objects in working memory 58
8.5. Setting and Reading Java Bean Properties 59
9. Jess Application Desig
您可能关注的文档
- isolatedfeedbackcouplingbymeansofanacousticchann.doc
- issuedate10aug2005.doc
- issueisitpossibletodetectin'real-time'ifsomeoneis.doc
- issueofhighwaytrucksoverloadinganditssocialimpactsin.doc
- issue-orientedsocialaccountingmatricesfordevelopment.doc
- isolationofeugenolfromclovesbysteamdistillationandits.doc
- issuesintheoriginanddevelopmentofhisabal-khata'ayn.doc
- istheclassactionfairnessactof2005a.doc
- isthereaeuropeanandanasianwayof.doc
- istherethresholdofeconomicbondingthat.doc
- jetsinternational–jets.com.doc
- jewelsinhercrown.doc
- joannawenowska.doc
- jobcategoryelectrician(forspecificsseebelow).doc
- jobcategoryequipmentmechanics(forspecificssee.doc
- jobgc3130january2013.doc
- jobtitlecustomerservicecoordinator.doc
- jobtitlelogisticscoordinator.doc
- jobtitlewarehousesupervisor.doc
- joeandwally'seuropeanvacation.doc
原创力文档


文档评论(0)