|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.acs.net.auxiliary.ActionUsageInfo
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 |
protected static final int MAX_USAGE_NUM
protected int usageNum
protected int[] usages
protected double c
protected double d
protected double iBLA
protected double BLA
Constructor Detail |
public ActionUsageInfo(int initTime, double[] params)
initTime
- the initial time for setting up this action chunk.params
- the values of the parameters for BLA.Method Detail |
public int getUsageNum()
public double getBla()
public void increaseUsage(int currentTime)
currentTime
- current time.public void calcBla(int curTime)
curTime
- current time.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |