public class ProcessAnticipation extends Object
| Constructor | Description |
|---|---|
ProcessAnticipation() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
anticipate(DerivationContext nal,
Sentence mainSentence,
BudgetValue budget,
long mintime,
long maxtime,
float urgency,
Map<Term,Term> substitution) |
|
static void |
confirmAnticipation(Task task,
Concept concept,
DerivationContext nal) |
Whether a processed judgement task satisfies the anticipations within concept
|
static void |
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
|
static void |
maintainDisappointedAnticipations(Parameters narParameters,
Concept concept,
Nar nar) |
Process outdated anticipations within the concept,
these which are outdated generate negative feedback
|
public static void anticipate(DerivationContext nal, Sentence mainSentence, BudgetValue budget, long mintime, long maxtime, float urgency, Map<Term,Term> substitution)
public static void maintainDisappointedAnticipations(Parameters narParameters, Concept concept, Nar nar)
narParameters - The reasoner parametersconcept - The concept which potentially outdated anticipations should be processednar - the reasonerpublic static void confirmAnticipation(Task task, Concept concept, DerivationContext nal)
task - The judgement task be checkedconcept - The concept that is processednal - The derivation contextpublic static void firePredictions(Task judgementTask, Concept concept, DerivationContext nal, Timable time, TaskLink tasklink)
judgementTask - judgement taskconcept - concept that is processednal - derivation contexttime - used to retrieve current timetasklink - coresponding tasklinkCopyright © 2020 OpenNARS. All rights reserved.