clarion.acs.net.auxiliary
Class ActionUsageInfo

java.lang.Object
  extended byclarion.acs.net.auxiliary.ActionUsageInfo

public class ActionUsageInfo
extends java.lang.Object

this class is used for recording the usage of an action chunk.


Field Summary
protected  double BLA
          BLA.
protected  double c
          parameters for BLA.
protected  double d
          parameters for BLA.
protected  double iBLA
          parameters for BLA.
protected static int MAX_USAGE_NUM
          maximal number of usage.
protected  int usageNum
          the number of usage so far.
protected  int[] usages
          the array of usages.
 
Constructor Summary
ActionUsageInfo(int initTime, double[] params)
          constructor.
 
Method Summary
 void calcBla(int curTime)
          Calculates the BLA with current time.
 double getBla()
          Returns the BLA.
 int getUsageNum()
          Returns the number of usage.
 void increaseUsage(int currentTime)
          increase the number of usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_USAGE_NUM

protected static final int MAX_USAGE_NUM
maximal number of usage.

See Also:
Constant Field Values

usageNum

protected int usageNum
the number of usage so far.


usages

protected int[] usages
the array of usages.


c

protected double c
parameters for BLA.


d

protected double d
parameters for BLA.


iBLA

protected double iBLA
parameters for BLA.


BLA

protected double BLA
BLA.

Constructor Detail

ActionUsageInfo

public ActionUsageInfo(int initTime,
                       double[] params)
constructor.

Parameters:
initTime - the initial time for setting up this action chunk.
params - the values of the parameters for BLA.
Method Detail

getUsageNum

public int getUsageNum()
Returns the number of usage.

Returns:
the number of usage.

getBla

public double getBla()
Returns the BLA.

Returns:
the BLA.

increaseUsage

public void increaseUsage(int currentTime)
increase the number of usage.

Parameters:
currentTime - current time.

calcBla

public void calcBla(int curTime)
Calculates the BLA with current time.

Parameters:
curTime - current time.