clarion.system
Class DimensionlessOutputChunk

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<java.lang.Object,Dimension>
              extended by clarion.system.DimensionValueCollection
                  extended by clarion.system.AbstractChunk
                      extended by clarion.system.AbstractOutputChunk
                          extended by clarion.system.DimensionlessOutputChunk
All Implemented Interfaces:
InterfaceStochasticallySelectable, InterfaceTracksTime, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,Dimension>
Direct Known Subclasses:
DriveStrength

public class DimensionlessOutputChunk
extends AbstractOutputChunk

This class implements a dimension-less output chunk within CLARION. It extends the AbstractOutputChunk class.

Usage:

A dimension-less output chunk is a specific type of output chunk that can be set as a node in the output layer of an implicit module, however does not require (or make use of) dimensions. Like a normal output chunk, a dimension-less output chunk has an activation that can be used to store pertinent activation information, but unlike output chunks such as actions or goals, a dimension-less output chunk has does not have dimensions.

In the CLARION Library, the dimension-less output chunks is most often used in the MCS to keep track of things like the selection measures for both the top and bottom level of the CLARION subsystems, which is used for combination and/or stochastic selection. In addition, it is also used by the drives in the MS for drive strengths.

While this class still contains all the functionality of a chunk, only the activation field is used. Therefore it is not necessary to define any dimension-value pairs for a dimension-less output chunk.

Known Subclasses:

Version:
6.0.4
Author:
Nick Wilson
See Also:
Serialized Form

Field Summary
private  int hash
          The hash for this object.
private static long serialVersionUID
           
 
Fields inherited from class clarion.system.AbstractOutputChunk
C, D, FULL_ACTIVATION_LEVEL, GLOBAL_C, GLOBAL_D, GLOBAL_FULL_ACTIVATION_LEVEL, GLOBAL_INITIAL_BLA, GLOBAL_MINIMUM_ACTIVATION_THRESHOLD, GLOBAL_PERSISTENCE, INITIAL_BLA, MINIMUM_ACTIVATION_THRESHOLD, PERSISTENCE
 
Constructor Summary
DimensionlessOutputChunk(java.lang.Object id)
          Initializes the dimension-less output chunk with the ID specified.
 
Method Summary
 DimensionlessOutputChunk clone()
          Clones the dimension-less output chunk.
 int hashCode()
           
 
Methods inherited from class clarion.system.AbstractOutputChunk
addTimeStamp, adjustSelectionMeasure, getActivation, getBLA, getBLSelectionMeasure, getFinalSelectionMeasure, getTLSelectionMeasure, resetActivation, setActivation, setBLSelectionMeasure, setFinalSelectionMeasure, setTLSelectionMeasure
 
Methods inherited from class clarion.system.AbstractChunk
equals, equalsID, getID, toString
 
Methods inherited from class clarion.system.DimensionValueCollection
containsKeys, getNumDVPairs, getValueCollection, put, putAll, size
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
containsKey, entrySet, isEmpty, keySet, remove, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, isEmpty, keySet, remove, values
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

hash

private int hash
The hash for this object. When this item is cloned, so is this hash.

Constructor Detail

DimensionlessOutputChunk

public DimensionlessOutputChunk(java.lang.Object id)
Initializes the dimension-less output chunk with the ID specified.

Parameters:
id - The ID of the output chunk.
Method Detail

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map<java.lang.Object,Dimension>
Overrides:
hashCode in class DimensionValueCollection

clone

public DimensionlessOutputChunk clone()
Clones the dimension-less output chunk.

Specified by:
clone in class AbstractOutputChunk
Returns:
A copy of the dimension-less output chunk.