Package | Description |
---|---|
org.opennars.control | |
org.opennars.control.concept | |
org.opennars.entity |
Data entities that are independently stored
|
org.opennars.inference |
The inference rules and control functions
|
Modifier and Type | Field | Description |
---|---|---|
protected TaskLink |
DerivationContext.currentTaskLink |
Modifier and Type | Method | Description |
---|---|---|
TaskLink |
DerivationContext.getCurrentTaskLink() |
Modifier and Type | Method | Description |
---|---|---|
void |
DerivationContext.setCurrentTaskLink(TaskLink currentTaskLink) |
Modifier and Type | Method | Description |
---|---|---|
static void |
ProcessAnticipation.firePredictions(Task judgementTask,
Concept concept,
DerivationContext nal,
Timable time,
TaskLink tasklink) |
Fire predictictive inference based on beliefs that are known to the concept's neighbours
|
Modifier and Type | Field | Description |
---|---|---|
Bag<TaskLink,Task> |
Concept.taskLinks |
Task links for indirect processing
|
Modifier and Type | Method | Description |
---|---|---|
TaskLink |
Concept.linkToTask(Task task,
DerivationContext content) |
Link to a new task from all relevant concepts for continued processing in
the near future for unspecified time.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
Concept.insertTaskLink(TaskLink taskLink,
DerivationContext nal) |
Insert a TaskLink into the TaskLink bag
|
TermLink |
Concept.selectTermLink(TaskLink taskLink,
long time,
Parameters narParameters) |
Replace default to prevent repeated inference, by checking TaskLink
|
Modifier and Type | Method | Description |
---|---|---|
private static void |
RuleTables.applyRuleTable(TaskLink tLink,
TermLink bLink,
DerivationContext nal,
Task task,
Sentence taskSentence,
Term taskTerm,
Term beliefTerm,
Sentence belief) |
|
static void |
RuleTables.reason(TaskLink tLink,
TermLink bLink,
DerivationContext nal) |
Entry point of the inference engine
|
private static void |
RuleTables.syllogisms(TaskLink tLink,
TermLink bLink,
Term taskTerm,
Term beliefTerm,
DerivationContext nal) |
Meta-table of syllogistic rules, indexed by the content classes of the
taskSentence and the belief
|
static void |
RuleTables.transformTask(TaskLink tLink,
DerivationContext nal) |
The TaskLink is of type TRANSFORM, and the conclusion is an equivalent
transformation
|
Copyright © 2020 OpenNARS. All rights reserved.