e.java
来自「人工智能中基于产生式规则的经典规则匹配与推理算法-RETE算法实现示例;包括文档」· Java 代码 · 共 40 行
JAVA
40 行
package com.sample.rete;/* * This code and the accompanying presentation is licensed for use in the United States under a * Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License * http://creativecommons.org/licenses/by-nc-sa/3.0/us/ * All other rights reserved, copyright 2008, EBDX.COM, LLC * Author: Lawrence Terrill, Sr. Partner, EBDX.COM, LLC, 5/1/2008 * This code supports the presentation, An Introduction to the Rete Algorithm, by Lawrence Terrill * */public class E { private int e1; private String name; public E(int newE1, String newName) { e1 = newE1; name = newName; } public int getE1() { return e1; } public void setE1(int e1) { this.e1 = e1; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String toString() { return name + "[" + e1 + "]"; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?