public class ProcessQuestion extends Object
Constructor | Description |
---|---|
ProcessQuestion() |
Modifier and Type | Method | Description |
---|---|---|
protected static void |
processQuestion(Concept concept,
DerivationContext nal,
Task task) |
To answer a question by existing beliefs
|
static void |
ProcessWhatQuestion(Concept concept,
Task ques,
DerivationContext nal) |
Recognize an existing belief task as solution to the what question task, which contains a query variable
|
static void |
ProcessWhatQuestionAnswer(Concept concept,
Task t,
DerivationContext nal) |
Recognize an added belief task as solution to what questions, those that contain query variable
|
protected static void processQuestion(Concept concept, DerivationContext nal, Task task)
concept
- The concept of the questionnal
- The derivation contexttask
- The task to be processedpublic static void ProcessWhatQuestion(Concept concept, Task ques, DerivationContext nal)
concept
- The concept which potentially outdated anticipations should be processedques
- The belief tasknal
- The derivation contextpublic static void ProcessWhatQuestionAnswer(Concept concept, Task t, DerivationContext nal)
concept
- The concept which potentially outdated anticipations should be processedt
- The belief tasknal
- The derivation contextCopyright © 2020 OpenNARS. All rights reserved.