public interface ISubsymbolicChunk extends IParameterized, IAdaptable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVATION
Description of the Field
|
static java.lang.String |
BASE_LEVEL_ACTIVATION
Description of the Field
|
static java.lang.String |
CREATION_TIME
Description of the Field
|
static java.lang.String |
REFERENCE_COUNT
Description of the Field
|
static java.lang.String |
REFERENCE_TIMES
Description of the Field
|
static java.lang.String |
SOURCE_ACTIVATION |
static java.lang.String |
SPREADING_ACTIVATION
Description of the Field
|
static java.lang.String |
TIMES_IN_CONTEXT
Description of the Field
|
static java.lang.String |
TIMES_NEEDED
Description of the Field
|
Modifier and Type | Method and Description |
---|---|
void |
accessed(double time)
Is called whenever the chunk is accessed (check via a condition or modified
via an action in a IProduction) ? it can only be called once per cycle
since the ReferenceList maintains a listing of unique access times.
|
void |
dispose()
Description of the Method
|
void |
encode(double when) |
double |
getActivation()
Return the total activation (summation of base-level, spreading, and
noise).
|
double |
getBaseLevelActivation()
Return the current base level activation.
|
double |
getCreationTime() |
IChunk |
getParentChunk() |
double |
getRandomActivation()
get the transient, random activation of this chunk (calculated at most,
once per cycle)
|
IReferences |
getReferences()
The org.jactr.misc.ReferenceList class maintains an optimized list of
access times and access counts.
|
double |
getSourceActivation()
returns the transient amount of source activation
|
double |
getSpreadingActivation()
Get the transient amount of spreading activation to this chunk.
|
double |
getTimesInContext()
Get the number of times this chunk has been a slot value of a chunk in the
goal buffer.
|
double |
getTimesNeeded()
Return the number of times that this chunk has been needed in a buffer
other than the goal buffer.
|
void |
incrementTimesInContext(double value)
Description of the Method
|
void |
incrementTimesNeeded(double value)
Description of the Method
|
void |
setActivation(double act)
Set the total activation.
|
void |
setBaseLevelActivation(double base)
Set the base-level activation.
|
void |
setCreationTime(double time)
set the creation time and pass on an event.
|
void |
setSourceActivation(IActivationBuffer sourceBuffer,
double source)
Set the source activation of this chunk.
|
void |
setSpreadingActivation(double spread)
Sets the spreadingActivation attribute of the ISubsymbolicChunk object
|
void |
setTimesInContext(double context)
Set number of times this chunk has been a slot value of a chunk in the goal
buffer.
|
void |
setTimesNeeded(double needed)
Sets the number of times that this chunk has been needed in a buffer other
than the goal buffer.
|
getParameter, getPossibleParameters, getSetableParameters, setParameter
getAdapter
static final java.lang.String CREATION_TIME
static final java.lang.String TIMES_NEEDED
static final java.lang.String TIMES_IN_CONTEXT
static final java.lang.String REFERENCE_TIMES
static final java.lang.String REFERENCE_COUNT
static final java.lang.String BASE_LEVEL_ACTIVATION
static final java.lang.String SPREADING_ACTIVATION
static final java.lang.String SOURCE_ACTIVATION
static final java.lang.String ACTIVATION
double getCreationTime()
void setCreationTime(double time)
time
- The new creationTime valuevoid setTimesNeeded(double needed)
needed
- The new timesNeeded valuedouble getTimesNeeded()
void incrementTimesNeeded(double value)
value
- TODOvoid setTimesInContext(double context)
context
- The new timesInContext valuedouble getTimesInContext()
void incrementTimesInContext(double value)
value
- TODOIReferences getReferences()
void encode(double when)
when
- void accessed(double time)
time
- TODOvoid setSourceActivation(IActivationBuffer sourceBuffer, double source)
sourceBuffer
- TODOsource
- The new sourceActivation valuedouble getSourceActivation()
double getBaseLevelActivation()
void setBaseLevelActivation(double base)
base
- The new baseLevelActivation valuedouble getSpreadingActivation()
double getRandomActivation()
void setSpreadingActivation(double spread)
spread
- The new spreadingActivation valuevoid setActivation(double act)
act
- The new activation valuedouble getActivation()
void dispose()
IChunk getParentChunk()