clarion.system
Class BehavioralApproachSystem

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.BehavioralApproachSystem
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,Drive>

public class BehavioralApproachSystem
extends DriveCollection

This class implements the behavioral approach system (BAS) within CLARION. It extends the DriveCollection class.

Usage:

The BAS is located within the MS and contains the drives that are "approach" 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 BAS
static double GLOBAL_GAIN
          The gain for the BAS
private static long serialVersionUID
           
 
Constructor Summary
BehavioralApproachSystem()
          Initializes the behavioral approach system.
BehavioralApproachSystem(java.util.Collection<Drive> drives)
          Initializes the behavioral approach 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 BAS


GAIN

public double GAIN
The gain for the BAS

Constructor Detail

BehavioralApproachSystem

public BehavioralApproachSystem()
Initializes the behavioral approach system.


BehavioralApproachSystem

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

Parameters:
drives - The drives for the collection.