|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BudgetValue | |
---|---|
nars.entity | Data entities that are independently stored |
nars.inference | The inference rules and control functions |
nars.io | Input/output management |
nars.main | Top-level classes of the system |
Uses of BudgetValue in nars.entity |
---|
Subclasses of BudgetValue in nars.entity | |
---|---|
class |
Concept
A concept contains information associated with a term, including directly and indirectly related tasks and beliefs. |
class |
Item
An item is an object that can be put into a Bag, to participate in the resource competation of the system. |
class |
Task
A task to be processed, consists of a Sentence and a BudgetValue |
class |
TaskLink
Reference to a Task. |
class |
TermLink
A link between a compound term and a component term |
Methods in nars.entity that return BudgetValue | |
---|---|
BudgetValue |
Item.getBudget()
Get current BudgetValue |
Methods in nars.entity with parameters of type BudgetValue | |
---|---|
void |
Concept.buildTermLinks(BudgetValue budget)
Recursively build TermLinks between a compound and its components |
void |
BudgetValue.merge(BudgetValue that)
Merge one BudgetValue into another |
Constructors in nars.entity with parameters of type BudgetValue | |
---|---|
BudgetValue(BudgetValue v)
Cloning constructor |
|
Item(BudgetValue v)
Constructor with initial budget |
|
Task(Sentence s,
BudgetValue b)
Constructor |
|
TaskLink(Task t,
TermLink template,
BudgetValue v)
Constructor |
|
TermLink(BudgetValue v)
Default Constructor need in TaskLink |
|
TermLink(Term t,
TermLink template,
BudgetValue v)
Constructor to make actual TermLink from a template |
Uses of BudgetValue in nars.inference |
---|
Methods in nars.inference that return BudgetValue | |
---|---|
static BudgetValue |
BudgetFunctions.backward(TruthValue truth)
Backward inference result and adjustment, stronger case |
static BudgetValue |
BudgetFunctions.backwardWeak(TruthValue truth)
Backward inference result and adjustment, weaker case |
private static BudgetValue |
BudgetFunctions.budgetInference(float qual,
int complexity)
Common processing for all inference step |
static BudgetValue |
BudgetFunctions.compoundBackward(Term content)
Backward inference with CompoundTerm conclusion, stronger case |
static BudgetValue |
BudgetFunctions.compoundBackwardWeak(Term content)
Backward inference with CompoundTerm conclusion, weaker case |
static BudgetValue |
BudgetFunctions.compoundForward(TruthValue truth,
Term content)
Forward inference with CompoundTerm conclusion |
static BudgetValue |
BudgetFunctions.distributeAmongLinks(BudgetValue b,
int n)
Distribute the budget of a task among the links to it |
(package private) static BudgetValue |
BudgetFunctions.forward(TruthValue truth)
Forward inference result and adjustment |
(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 |
(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 BudgetValue |
BudgetFunctions.temporalIndCom(BudgetValue b1,
BudgetValue b2,
TruthValue t)
Special treatment for temporal induction and comparison among recent event, no feedback |
(package private) static BudgetValue |
BudgetFunctions.update(Task task,
TruthValue bTruth)
Update a belief |
Methods in nars.inference with parameters of type BudgetValue | |
---|---|
static void |
BudgetFunctions.activate(Concept concept,
BudgetValue budget)
Activate a concept by an incoming TaskLink |
static BudgetValue |
BudgetFunctions.distributeAmongLinks(BudgetValue b,
int n)
Distribute the budget of a task among the links to it |
static void |
BudgetFunctions.forget(BudgetValue budget,
float forgetRate,
float relativeThreshold)
Decrease Priority after an item is used, called in Bag |
static void |
BudgetFunctions.merge(BudgetValue baseValue,
BudgetValue adjustValue)
Merge an item into another one in a bag, when the two are identical except in budget values |
static BudgetValue |
BudgetFunctions.temporalIndCom(BudgetValue b1,
BudgetValue b2,
TruthValue t)
Special treatment for temporal induction and comparison among recent event, no feedback |
Uses of BudgetValue in nars.io |
---|
Methods in nars.io that return BudgetValue | |
---|---|
private static BudgetValue |
StringParser.parseBudget(java.lang.String s,
char punctuation,
TruthValue truth)
parse the input String into a BudgetValue |
Uses of BudgetValue in nars.main |
---|
Methods in nars.main with parameters of type BudgetValue | |
---|---|
static void |
Memory.activateConcept(Concept c,
BudgetValue b)
Adjust the activation level of a Concept |
static void |
Memory.activatedTask(BudgetValue budget,
Sentence sentence,
boolean isInput)
Activated task coming from MatchingRules.trySolution |
static void |
Memory.convertedJudgment(TruthValue truth,
BudgetValue budget)
Convert jusgment into different relation |
static void |
Memory.doublePremiseTask(BudgetValue budget,
Term content,
TruthValue truth)
Shared final operations by all double-premise rules, called from the rules except StructuralRules |
static void |
Memory.singlePremiseTask(BudgetValue budget,
Term content,
TruthValue truth)
Shared final operations by all single-premise rules, called in StructuralRules |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |