|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Task | |
|---|---|
| nars.entity | Data entities that are independently stored |
| nars.inference | The inference rules and control functions |
| nars.main | Top-level classes of the system |
| nars.operation | Built-in operators |
| Uses of Task in nars.entity |
|---|
| Fields in nars.entity declared as Task | |
|---|---|
private Task |
TaskLink.targetTask
The Task linked. |
| Methods in nars.entity that return Task | |
|---|---|
Task |
TaskLink.getTargetTask()
Get the target Task |
| Methods in nars.entity with parameters of type Task | |
|---|---|
void |
Concept.directProcess(Task task)
Directly process a new task. |
Judgment |
Concept.getBelief(Task task)
Select a belief to interact with the given task in inference |
private void |
Concept.processGoal(Goal goal,
Task task)
Direct processing a new goal |
private void |
Concept.processJudgment(Judgment judg,
Task task)
To accept a new judgment as belief, and check for revisions and solutions |
private void |
Concept.processQuestion(Question ques,
Task task)
To answer a question by existing beliefs |
private boolean |
Concept.reviseTable(Judgment newSentence,
Task task,
java.util.ArrayList table)
Revise existing beliefs or goals |
| Constructors in nars.entity with parameters of type Task | |
|---|---|
TaskLink(Task t,
TermLink template,
BudgetValue v)
Constructor |
|
| Uses of Task in nars.inference |
|---|
| Methods in nars.inference with parameters of type Task | |
|---|---|
static void |
MatchingRules.match(Task task,
Judgment belief)
The task and belief have the same content |
(package private) static BudgetValue |
BudgetFunctions.revise(TruthValue tTruth,
TruthValue bTruth,
TruthValue truth,
Task task,
boolean feedbackToLinks)
Evaluate the quality of a revision, then de-prioritize the premises |
static boolean |
MatchingRules.revision(Task task,
Judgment oldBelief,
boolean feedbackToLinks)
Belief revision |
(package private) static BudgetValue |
BudgetFunctions.solutionEval(Sentence problem,
Judgment solution,
Task task)
Evaluate the quality of a belief as a solution to a problem, then reward the belief and de-prioritize the problem |
static void |
SyllogisticRules.temporalIndCom(Task task1,
Task task2,
TemporalValue order)
{ S>, |
(package private) static void |
StructuralRules.transformProductImage(Inheritance inh,
CompoundTerm oldContent,
short[] indices,
Task task)
Equivalent transformation between products and images {<(*, S, M) --> P>, S@(*, S, M)} |- |
static void |
RuleTables.transformTask(Task task,
TaskLink tLink)
The TaskLink is of type TRANSFORM, and the conclusion is an equivalent transformation |
static void |
MatchingRules.trySolution(Sentence problem,
Judgment belief,
Task task)
Check if a Judgment provide a better answer to a Question |
(package private) static BudgetValue |
BudgetFunctions.update(Task task,
TruthValue bTruth)
Update a belief |
| Uses of Task in nars.main |
|---|
| Fields in nars.main declared as Task | |
|---|---|
static Task |
Memory.currentTask
Shortcut to the selected Task |
| Fields in nars.main with type parameters of type Task | |
|---|---|
private static java.util.ArrayList<Task> |
Memory.newTasks
List of inference newTasks, to be processed in the next working cycle |
| Methods in nars.main with parameters of type Task | |
|---|---|
private static void |
Memory.continuedProcess(Task task,
Term content)
Link to a new task from all relevant concepts for continued processing in the near future for unspecified time. |
private static void |
Memory.derivedTask(Task task)
Derived task comes from the inference rules. |
private static void |
Memory.eventProcessing(Task event1)
Simple temporal regularity discovery [To be refined] |
static void |
Memory.executedTask(Task task)
Reporting executed task, and remember the event |
private static void |
Memory.immediateProcess(Task task)
Imediate processing of a new task, in constant time Local processing, in one concept only |
static void |
Memory.inputTask(Task task)
Input task processing. |
| Uses of Task in nars.operation |
|---|
| Methods in nars.operation that return types with arguments of type Task | |
|---|---|
java.util.ArrayList<Task> |
Break.execute(Task task)
|
java.util.ArrayList<Task> |
GoTo.execute(Task task)
|
java.util.ArrayList<Task> |
Open.execute(Task task)
|
abstract java.util.ArrayList<Task> |
Operator.execute(Task task)
Required method for every operation, specifying the operation |
java.util.ArrayList<Task> |
Pick.execute(Task task)
|
| Methods in nars.operation with parameters of type Task | |
|---|---|
void |
Operator.call(Task task)
Execute an operation, then handle feedback |
java.util.ArrayList<Task> |
Break.execute(Task task)
|
java.util.ArrayList<Task> |
GoTo.execute(Task task)
|
java.util.ArrayList<Task> |
Open.execute(Task task)
|
abstract java.util.ArrayList<Task> |
Operator.execute(Task task)
Required method for every operation, specifying the operation |
java.util.ArrayList<Task> |
Pick.execute(Task task)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||