clarion.nacs
Class EMChunk
java.lang.Object
clarion.common.Chunk
clarion.nacs.EMChunk
- All Implemented Interfaces:
- java.lang.Cloneable
- public class EMChunk
- extends Chunk
- General overview.
- summary of this class
This class is to implement the items in EM in GKS.
- Role in the CLARION model
This class implements the items in Episodic Memory which are used to help learning
in AMN, IDN or AEM.
- Usage of this class.
It is instantiated either inside a EM object or wherever a GKS chunk
is needed.
Fields inherited from class clarion.common.Chunk |
BLA, c, chunkBlaOption, chunkLabel, chunkType, d, featList, global, iBLA, MAX_USAGE_NUM, strength, usageNum, usageRecords |
Constructor Summary |
EMChunk(Chunk chunk,
long time,
Global g)
constructor for simple item. |
EMChunk(int type,
java.lang.String label,
Chunk[] chunks,
long time,
Global g)
constructor for combined item. |
Methods inherited from class clarion.common.Chunk |
append, calcBLA, clone, equals, getBLA, getBlaOption, getChunkType, getContent, getContent, getDimNum, getFeature, getFeatureNum, getFeatures, getFeatures, getLabel, getLength, getStrength, getUsageNum, getUsageRecords, getUsageRecords, hashCode, increaseUsage, isEqual, reinit, resetUsage, searchFeature, setBLA_C, setBLA_D, setBLA_INIT, setBla, setBlaOption, setBlaParams, setLabel, setStrength, setUsageNum, setUsageRecords, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
EMChunk
public EMChunk(Chunk chunk,
long time,
Global g)
- constructor for simple item.
- Parameters:
chunk
- the chunk to compose this item.time
- time stamp.g
- the global settings.
EMChunk
public EMChunk(int type,
java.lang.String label,
Chunk[] chunks,
long time,
Global g)
- constructor for combined item.
- Parameters:
type
- chunk type.label
- chunk label.chunks
- chunks to compose this item.time
- time stamp.g
- the global settings.
getTimeStamp
public long getTimeStamp()
- Returns the time stamp.
- Returns:
- the time stamp.
setTimeStamp
public void setTimeStamp(long time)
- Sets the time stamp.
- Parameters:
time
- the time stamp to set.