Package | Description |
---|---|
org.opennars.control | |
org.opennars.entity |
Data entities that are independently stored
|
org.opennars.inference |
The inference rules and control functions
|
org.opennars.io |
Input/output management
|
org.opennars.io.events | |
org.opennars.language |
Term hierarchy in Narsese
Open-NARS implements the following formal language, Narsese.
|
org.opennars.main | |
org.opennars.operator | |
org.opennars.operator.mental | |
org.opennars.operator.misc | |
org.opennars.plugin.mental | |
org.opennars.storage |
Storage management
|
Modifier and Type | Field | Description |
---|---|---|
Memory |
DerivationContext.memory |
Modifier and Type | Method | Description |
---|---|---|
Memory |
DerivationContext.mem() |
Modifier and Type | Method | Description |
---|---|---|
static void |
TemporalInferenceControl.NewOperationFrame(Memory mem,
Task task) |
|
static void |
GeneralInferenceControl.selectConceptForInference(Memory mem,
Parameters narParameters,
Nar nar) |
Constructor | Description |
---|---|
DerivationContext(Memory mem,
Parameters narParameters,
Timable time) |
Modifier and Type | Field | Description |
---|---|---|
Memory |
Concept.memory |
Reference to the memory to which the Concept belongs
|
Modifier and Type | Method | Description |
---|---|---|
Sentence |
Sentence.projection(long targetTime,
long currentTime,
Memory mem) |
project a judgment to a difference occurrence time
|
TruthValue |
Sentence.projectionTruth(long targetTime,
long currentTime,
Memory mem) |
|
void |
Task.setBestSolution(Memory memory,
Sentence judg,
Timable time) |
Set the best-so-far solution for a Question or Goal, and report answer
for input question
|
Constructor | Description |
---|---|
Concept(BudgetValue b,
Term tm,
Memory memory) |
Constructor, called in Memory.getConcept only
|
Stamp(Timable time,
Memory memory) |
creates a stamp with default Present tense
|
Stamp(Timable time,
Memory memory,
Tense tense) |
Modifier and Type | Method | Description |
---|---|---|
static float |
BudgetFunctions.conceptActivation(Memory mem,
Term t) |
Get the current activation level of a concept.
|
(package private) static BudgetValue |
BudgetFunctions.solutionEval(Sentence problem,
Sentence solution,
Task task,
Memory memory) |
Deprecated.
|
static float |
LocalRules.solutionQuality(boolean rateByConfidence,
Task probT,
Sentence solution,
Memory memory,
Timable time) |
Evaluate the quality of the judgment as a solution to a problem
|
Modifier and Type | Field | Description |
---|---|---|
Memory |
Narsese.memory |
Constructor | Description |
---|---|
Narsese(Memory memory) |
Constructor | Description |
---|---|
OutputHandler(Memory m,
boolean active) |
Modifier and Type | Method | Description |
---|---|---|
static List<Long> |
CompoundTerm.extractIntervals(Memory mem,
Term T) |
|
private static void |
CompoundTerm.ExtractIntervals(Memory mem,
List<Long> ivals,
CompoundTerm comp) |
|
boolean |
Term.isExecutable(Memory mem) |
|
static Term |
Terms.reduceComponentOneLayer(CompoundTerm compound,
Term component,
Memory memory) |
|
static Term |
Terms.reduceComponents(CompoundTerm compound,
Term component,
Memory memory) |
Try to remove a component from a compound
|
static Term |
Terms.reduceUntilLayer2(CompoundTerm _itself,
Term replacement,
Memory memory) |
|
Term |
CompoundTerm.setComponent(int index,
Term t,
Memory memory) |
Try to replace a component in a compound at a given index by another one
|
Modifier and Type | Field | Description |
---|---|---|
Memory |
Nar.memory |
The memory of the reasoner
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
Operator.call(Operation operation,
Term[] args,
Memory memory,
Timable time) |
The standard way to carry out an operation, which invokes the execute
method defined for the operator, and handles feedback tasks as input
|
boolean |
Operator.call(Operation op,
Memory memory,
Timable time) |
|
protected List<Task> |
FunctionOperator.execute(Operation operation,
Term[] args,
Memory m,
Timable time) |
|
protected List<Task> |
NullOperator.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
called from Operator
|
protected abstract List<Task> |
Operator.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
Required method for every operator, specifying the corresponding
operation
|
protected abstract Term |
FunctionOperator.function(Memory memory,
Term[] x) |
y = function(x)
|
static void |
Operator.reportExecution(Operation operation,
Term[] args,
Object feedback,
Memory memory) |
Modifier and Type | Method | Description |
---|---|---|
void |
Remind.activate(Memory memory,
Concept c,
BudgetValue b,
BudgetFunctions.Activating mode) |
|
void |
Anticipate.anticipate(Term content,
Memory memory,
long occurenceTime,
Task t,
Timable time) |
|
void |
Anticipate.anticipationFeedback(Term content,
Task t,
Memory memory,
Timable time) |
|
protected List<Task> |
Anticipate.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
|
protected List<Task> |
Believe.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To create a judgment with a given statement
|
protected List<Task> |
Consider.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To activate a concept as if a question has been asked about it
|
protected List<Task> |
Doubt.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To activate a concept as if a question has been asked about it
|
protected List<Task> |
Evaluate.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To create a quest with a given statement
|
protected List<Task> |
FeelBusy.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To get the current value of an internal sensor
|
protected List<Task> |
FeelSatisfied.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To get the current value of an internal sensor
|
protected List<Task> |
Hesitate.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To activate a concept as if a question has been asked about it
|
protected List<Task> |
Name.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To create a judgment with a given statement
|
protected List<Task> |
Register.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To register a new operator
|
protected List<Task> |
Remind.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To activate a concept as if a question has been asked about it
|
protected List<Task> |
Want.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To create a goal with a given statement
|
protected List<Task> |
Wonder.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To create a question with a given statement
|
protected List<Task> |
Feel.feeling(float value,
Memory memory,
Timable time) |
To get the current value of an internal sensor
|
Modifier and Type | Method | Description |
---|---|---|
protected Term |
Add.function(Memory memory,
Term[] x) |
|
protected Term |
Count.function(Memory memory,
Term[] x) |
|
protected Term |
Reflect.function(Memory memory,
Term[] x) |
|
protected Term |
System.function(Memory memory,
Term[] x) |
Modifier and Type | Field | Description |
---|---|---|
private Memory |
InternalExperience.memory |
Modifier and Type | Method | Description |
---|---|---|
protected List<Task> |
Abbreviation.Abbreviate.execute(Operation operation,
Term[] args,
Memory memory,
Timable time) |
To create a judgment with a given statement
|
static void |
InternalExperience.InternalExperienceFromBelief(Memory memory,
Task task,
Sentence belief,
Timable time) |
|
static void |
InternalExperience.InternalExperienceFromTask(Memory memory,
Task task,
boolean full,
Timable time) |
|
static boolean |
InternalExperience.InternalExperienceFromTaskInternal(Memory memory,
Task task,
boolean full,
Timable time) |
|
static Term |
InternalExperience.toTerm(Sentence s,
Memory mem,
Timable time) |
Modifier and Type | Method | Description |
---|---|---|
Type |
Bag.putBack(Type oldItem,
float forgetCycles,
Memory m) |
Put an item back into the itemTable
|
Copyright © 2020 OpenNARS. All rights reserved.