Serializable
, EventEmitter.EventObserver
, Plugin
public class InternalExperience extends Object implements Plugin, EventEmitter.EventObserver, Serializable
called from Concept
Modifier and Type | Field | Description |
---|---|---|
boolean |
ALLOW_WANT_BELIEF |
dont use internal experience for want and believe if this setting is true
|
static boolean |
enabled |
|
boolean |
FULL_REFLECTION |
|
float |
INTERNAL_EXPERIENCE_DURABILITY_MUL |
|
float |
INTERNAL_EXPERIENCE_PRIORITY_MUL |
|
float |
INTERNAL_EXPERIENCE_PROBABILITY |
|
float |
INTERNAL_EXPERIENCE_RARE_PROBABILITY |
less probable form
|
private Memory |
memory |
|
float |
MINIMUM_PRIORITY_TO_CREATE_WANT_BELIEVE_ETC |
|
float |
MINIMUM_PRIORITY_TO_CREATE_WONDER_EVALUATE |
|
private Nar |
nar |
|
(package private) static String[] |
nonInnateBeliefOperators |
|
boolean |
OLD_BELIEVE_WANT_EVALUATE_WONDER_STRATEGY |
Constructor | Description |
---|---|
InternalExperience() |
|
InternalExperience(float MINIMUM_PRIORITY_TO_CREATE_WANT_BELIEVE_ETC,
float MINIMUM_PRIORITY_TO_CREATE_WONDER_EVALUATE,
float INTERNAL_EXPERIENCE_PROBABILITY,
float INTERNAL_EXPERIENCE_RARE_PROBABILITY,
float INTERNAL_EXPERIENCE_DURABILITY_MUL,
float INTERNAL_EXPERIENCE_PRIORITY_MUL,
boolean ALLOW_WANT_BELIEF,
boolean OLD_BELIEVE_WANT_EVALUATE_WONDER_STRATEGY,
boolean FULL_REFLECTION) |
private Memory memory
public static boolean enabled
private Nar nar
public volatile float MINIMUM_PRIORITY_TO_CREATE_WANT_BELIEVE_ETC
public volatile float MINIMUM_PRIORITY_TO_CREATE_WONDER_EVALUATE
public volatile float INTERNAL_EXPERIENCE_PROBABILITY
public volatile float INTERNAL_EXPERIENCE_DURABILITY_MUL
public volatile float INTERNAL_EXPERIENCE_PRIORITY_MUL
public volatile float INTERNAL_EXPERIENCE_RARE_PROBABILITY
public volatile boolean ALLOW_WANT_BELIEF
public volatile boolean OLD_BELIEVE_WANT_EVALUATE_WONDER_STRATEGY
public volatile boolean FULL_REFLECTION
static final String[] nonInnateBeliefOperators
public InternalExperience()
public InternalExperience(float MINIMUM_PRIORITY_TO_CREATE_WANT_BELIEVE_ETC, float MINIMUM_PRIORITY_TO_CREATE_WONDER_EVALUATE, float INTERNAL_EXPERIENCE_PROBABILITY, float INTERNAL_EXPERIENCE_RARE_PROBABILITY, float INTERNAL_EXPERIENCE_DURABILITY_MUL, float INTERNAL_EXPERIENCE_PRIORITY_MUL, boolean ALLOW_WANT_BELIEF, boolean OLD_BELIEVE_WANT_EVALUATE_WONDER_STRATEGY, boolean FULL_REFLECTION)
public void setMINIMUM_PRIORITY_TO_CREATE_WANT_BELIEVE_ETC(double val)
public double getMINIMUM_PRIORITY_TO_CREATE_WANT_BELIEVE_ETC()
public void setMINIMUM_PRIORITY_TO_CREATE_WONDER_EVALUATE(double val)
public double getMINIMUM_PRIORITY_TO_CREATE_WONDER_EVALUATE()
public void setINTERNAL_EXPERIENCE_PROBABILITY(double val)
public double getINTERNAL_EXPERIENCE_PROBABILITY()
public void setINTERNAL_EXPERIENCE_RARE_PROBABILITY(double val)
public double getINTERNAL_EXPERIENCE_RARE_PROBABILITY()
public void setINTERNAL_EXPERIENCE_DURABILITY_MUL(double val)
public double getINTERNAL_EXPERIENCE_DURABILITY_MUL()
public void setINTERNAL_EXPERIENCE_PRIORITY_MUL(double val)
public double getINTERNAL_EXPERIENCE_PRIORITY_MUL()
public boolean isALLOW_WANT_BELIEF()
public void setALLOW_WANT_BELIEF(boolean val)
public boolean isOLD_BELIEVE_WANT_EVALUATE_WONDER_STRATEGY()
public void setOLD_BELIEVE_WANT_EVALUATE_WONDER_STRATEGY(boolean val)
public boolean isFULL_REFLECTION()
public void setFULL_REFLECTION(boolean val)
public boolean setEnabled(Nar n, boolean enable)
Plugin
setEnabled
in interface Plugin
public void event(Class event, Object[] a)
event
in interface EventEmitter.EventObserver
public static void InternalExperienceFromBelief(Memory memory, Task task, Sentence belief, Timable time)
public static void InternalExperienceFromTask(Memory memory, Task task, boolean full, Timable time)
public static boolean InternalExperienceFromTaskInternal(Memory memory, Task task, boolean full, Timable time)
protected void beliefReason(Sentence belief, Term beliefTerm, Term taskTerm, DerivationContext nal)
Copyright © 2020 OpenNARS. All rights reserved.