public interface RuleInferenceEngine
| Modifier and Type | Method and Description |
|---|---|
void |
addFact(Clause c) |
void |
addFact(String name,
ConditionType conditionType,
String value) |
void |
addFact(String name,
String value) |
void |
addRule(Rule rule) |
void |
clearFacts() |
void |
clearRules() |
List<Clause> |
getFacts() |
List<Clause> |
getFactsAboutVariable(String variable) |
WorkingMemory |
getKnowledgeBase() |
Rule |
getRule(int index) |
List<Rule> |
getRules() |
void |
infer() |
Clause |
infer(String goalVariable,
List<Clause> unproved_conditions) |
boolean |
isFact(Clause goal,
List<Clause> unproved_conditions) |
List<Rule> |
match() |
RuleBuilder |
newRule() |
RuleBuilder |
newRule(String name) |
void addRule(Rule rule)
void clearRules()
void infer()
RuleBuilder newRule()
RuleBuilder newRule(String name)
void clearFacts()
WorkingMemory getKnowledgeBase()
void addFact(Clause c)
void addFact(String name, ConditionType conditionType, String value)
Rule getRule(int index)
Copyright © 2017. All rights reserved.