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

📄 a.java

📁 人工智能中基于产生式规则的经典规则匹配与推理算法-RETE算法实现示例;包括文档说明
💻 JAVA
字号:
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 A {	private int a1;	private int a2;	private String name;		public A(int newA1, int newA2, String newName) {		a1 = newA1;		a2 = newA2;		name = newName;	}			public int getA1() {		return a1;	}	public void setA1(int a1) {		this.a1 = a1;	}	public int getA2() {		return a2;	}	public void setA2(int a2) {		this.a2 = a2;	}	public String getName() {		return name;	}	public void setName(String name) {		this.name = name;	}		public String toString() {		return name + "[" + a1 + "," + a2 + "]";	}}

⌨️ 快捷键说明

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