clarion.system
Class AbstractExplicitModule

java.lang.Object
  extended by clarion.system.AbstractExplicitModule
Direct Known Subclasses:
AbstractRule

public abstract class AbstractExplicitModule
extends java.lang.Object

This class implements an explicit module within CLARION. This class is abstract and therefore cannot be instantiated on its own.

Usage:

Any class that extends this class can be used on the top level of the CLARION subsystems. This class mainly provides a framework for building explicit modules for the top level.

Known Subclasses:

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
Author:
Nick Wilson

Field Summary
 double ACTUATION_TIME
          Actuation time.
 double C
          Constant c.
 double D
          Constant d.
 double DECISION_TIME
          Decision time.
static double GLOBAL_ACTUATION_TIME
          Actuation time.
static double GLOBAL_C
          Constant c.
static double GLOBAL_D
          Constant d.
static double GLOBAL_DECISION_TIME
          Decision time.
static double GLOBAL_INITIAL_BLA
          The initalBLA.
static double GLOBAL_PERCEPTION_TIME
          Perception time.
static double GLOBAL_WEIGHT
          The weight.
 double INITIAL_BLA
          The initalBLA.
 double PERCEPTION_TIME
          Perception time.
private  java.util.LinkedList<java.lang.Long> T
          Time stamps for each usage.
 double WEIGHT
          The weight.
 
Constructor Summary
AbstractExplicitModule()
           
 
Method Summary
 void addTimeStamp(long stamp)
          Adds a time stamp to this rule.
abstract  boolean equals(java.lang.Object R)
           
 double getBLA()
          Gets the BLA.
 double getResponseTime()
          Gets the response time.
abstract  double getSupport(DimensionValueCollection CurrentInput)
           
abstract  double getUtility()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_INITIAL_BLA

public static double GLOBAL_INITIAL_BLA
The initalBLA. Used to calculate BLA


INITIAL_BLA

public double INITIAL_BLA
The initalBLA. Used to calculate BLA


T

private java.util.LinkedList<java.lang.Long> T
Time stamps for each usage. Used for calculating BLA.


GLOBAL_C

public static double GLOBAL_C
Constant c. Used for calculating BLA


GLOBAL_D

public static double GLOBAL_D
Constant d. Used for calculating BLA


GLOBAL_WEIGHT

public static double GLOBAL_WEIGHT
The weight. Used to calculate support.


C

public double C
Constant c. Used for calculating BLA


D

public double D
Constant d. Used for calculating BLA


WEIGHT

public double WEIGHT
The weight. Used to calculate support.


GLOBAL_PERCEPTION_TIME

public static double GLOBAL_PERCEPTION_TIME
Perception time. Used for calculating response time.


PERCEPTION_TIME

public double PERCEPTION_TIME
Perception time. Used for calculating response time.


GLOBAL_DECISION_TIME

public static double GLOBAL_DECISION_TIME
Decision time. Used for calculating response time.


DECISION_TIME

public double DECISION_TIME
Decision time. Used for calculating response time.


GLOBAL_ACTUATION_TIME

public static double GLOBAL_ACTUATION_TIME
Actuation time. Used for calculating response time.


ACTUATION_TIME

public double ACTUATION_TIME
Actuation time. Used for calculating response time.

Constructor Detail

AbstractExplicitModule

public AbstractExplicitModule()
Method Detail

getBLA

public double getBLA()
Gets the BLA.

Returns:
The BLA.

addTimeStamp

public void addTimeStamp(long stamp)
Adds a time stamp to this rule. The time stamp is used for calculating BLA.

Parameters:
stamp - The time stamp to add.

getResponseTime

public double getResponseTime()
Gets the response time.

Returns:
The response time.

getUtility

public abstract double getUtility()

getSupport

public abstract double getSupport(DimensionValueCollection CurrentInput)

equals

public abstract boolean equals(java.lang.Object R)
Overrides:
equals in class java.lang.Object