clarion.system
Class DriveStrength

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
                              extended by clarion.system.DriveStrength
All Implemented Interfaces:
InterfaceStochasticallySelectable, InterfaceTracksTime, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,Dimension>

public class DriveStrength
extends DimensionlessOutputChunk

This class implements a drive strength within CLARION. It extends the DimensionlessOutputChunk class.

Usage:

A drive strength is used within drives in the output layer of an implicit module. A drive strength MUST have the same ID as the drive to which it is associated.

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.

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
DriveStrength(java.lang.Object id)
          Initializes the drive strength to be associated with the drive with the specified ID.
 
Method Summary
 DriveStrength clone()
          Clones the drive strength.
 int hashCode()
           
 java.lang.String toString()
           
 
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
 
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

DriveStrength

public DriveStrength(java.lang.Object id)
Initializes the drive strength to be associated with the drive with the specified ID.

Parameters:
id - The ID of the drive to which this drive strength is to be associated.
Method Detail

hashCode

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

clone

public DriveStrength clone()
Clones the drive strength.

Overrides:
clone in class DimensionlessOutputChunk
Returns:
A copy of the drive strength.

toString

public java.lang.String toString()
Overrides:
toString in class AbstractChunk