|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISubsymbolicChunk
Contains all the methods for manipulating the subsymbolic parameters necessary for learning and activation computation.
| Field Summary | |
|---|---|
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 |
| Method Summary | |
|---|---|
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()
|
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. |
int |
getTimesInContext()
Get the number of times this chunk has been a slot value of a chunk in the goal buffer. |
int |
getTimesNeeded()
Return the number of times that this chunk has been needed in a buffer other than the goal buffer. |
void |
incrementTimesInContext()
Description of the Method |
void |
incrementTimesNeeded()
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(double source)
Set the source activation of this chunk. |
void |
setSpreadingActivation(double spread)
Sets the spreadingActivation attribute of the ISubsymbolicChunk object |
void |
setTimesInContext(int context)
Set number of times this chunk has been a slot value of a chunk in the goal buffer. |
void |
setTimesNeeded(int needed)
Sets the number of times that this chunk has been needed in a buffer other than the goal buffer. |
| Methods inherited from interface org.jactr.core.utils.parameter.IParameterized |
|---|
getParameter, getPossibleParameters, getSetableParameters, setParameter |
| Field Detail |
|---|
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
| Method Detail |
|---|
double getCreationTime()
void setCreationTime(double time)
time - The new creationTime valuevoid setTimesNeeded(int needed)
needed - The new timesNeeded valueint getTimesNeeded()
void incrementTimesNeeded()
void setTimesInContext(int context)
context - The new timesInContext valueint getTimesInContext()
void incrementTimesInContext()
IReferences getReferences()
void encode(double when)
when - void accessed(double time)
time - TODOvoid setSourceActivation(double source)
source - The new sourceActivation valuedouble getSourceActivation()
double getBaseLevelActivation()
void setBaseLevelActivation(double base)
base - The new baseLevelActivation valuedouble getSpreadingActivation()
void setSpreadingActivation(double spread)
spread - The new spreadingActivation valuevoid setActivation(double act)
act - The new activation valuedouble getActivation()
void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||