decisiontable


License

License

GroupId

GroupId

com.wenyu7980
ArtifactId

ArtifactId

decisiontable
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

decisiontable
decisiontable
Project URL

Project URL

https://github.com/wenyu7980/decisiontable
Source Code Management

Source Code Management

https://github.com/wenyu7980/decisiontable

Download decisiontable

How to add to project

<!-- https://jarcasting.com/artifacts/com.wenyu7980/decisiontable/ -->
<dependency>
    <groupId>com.wenyu7980</groupId>
    <artifactId>decisiontable</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.wenyu7980/decisiontable/
implementation 'com.wenyu7980:decisiontable:2.0.0'
// https://jarcasting.com/artifacts/com.wenyu7980/decisiontable/
implementation ("com.wenyu7980:decisiontable:2.0.0")
'com.wenyu7980:decisiontable:jar:2.0.0'
<dependency org="com.wenyu7980" name="decisiontable" rev="2.0.0">
  <artifact name="decisiontable" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.wenyu7980', module='decisiontable', version='2.0.0')
)
libraryDependencies += "com.wenyu7980" % "decisiontable" % "2.0.0"
[com.wenyu7980/decisiontable "2.0.0"]

Dependencies

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

判定表

作者:彣彧 [email protected]

判定表(Decision table)是另一种表达逻辑判断的工具。与结构化语言和判断树相比,判断表的优点是能把所有条件组合充分地表达出来;其缺点是判定表的建立过程较烦杂,且表达方式不如前两种简便。判定表在用于知识表达中,有许多其他方式所达不到的作用。

库组成

DecisionMatch

匹配接口

所有的判定项都要实现该接口

public interface DecisionMatch {
    /**
     * 匹配
     * @param object
     * @return
     */
    boolean match(Object object);
}

DecisionTable

判定表

核心类,用于保存判定规则,判定比较,结果返回。

DecisionMatches

预定义的一些判定项

Versions

Version
2.0.0