clarion.system
Class BehavioralInhibitionSystem

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,Drive>
              extended by clarion.system.DriveCollection
                  extended by clarion.system.BehavioralInhibitionSystem
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,Drive>

public class BehavioralInhibitionSystem
extends DriveCollection

This class implements the behavioral inhibition system (BIS) within CLARION. It extends the DriveCollection class.

Usage:

The BIS is located within the MS and contains the drives that are "avoidance" in nature.

This class should never be instantiated outside of the CLARION library and is simply public to facilitate the changing of the gain parameters (if required).

This class contains both global (static) and local constants. The default is to use the local constants. If you want to change any of the global constants, you need to do so before any instances of this class are initialized.

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

Field Summary
 double GAIN
          The gain for the BIS
static double GLOBAL_GAIN
          The gain for the BIS
private static long serialVersionUID
           
 
Constructor Summary
BehavioralInhibitionSystem()
          Initializes the behavioral inhibition system with a default initial capacity and load factor.
BehavioralInhibitionSystem(java.util.Collection<Drive> drives)
          Initializes the behavioral inhibition system with the collection of drives specified.
 
Method Summary
 
Methods inherited from class clarion.system.DriveCollection
getDriveStrengths, put, putAll, size
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, remove, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, remove, values
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

GLOBAL_GAIN

public static double GLOBAL_GAIN
The gain for the BIS


GAIN

public double GAIN
The gain for the BIS

Constructor Detail

BehavioralInhibitionSystem

public BehavioralInhibitionSystem()
Initializes the behavioral inhibition system with a default initial capacity and load factor.


BehavioralInhibitionSystem

public BehavioralInhibitionSystem(java.util.Collection<Drive> drives)
Initializes the behavioral inhibition system with the collection of drives specified.

Parameters:
drives - The drives for the collection.