|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.coordinate.WeightSumComb
Constructor Summary | |
WeightSumComb(int mode,
double[] paramArr,
double temperature)
constructor, for old version. |
Method Summary | |
void |
calcWeights()
Calculates the weights. |
short[][] |
combination()
Combines the outputs from both levels. |
void |
getWeights(double[] arr)
Returns the weights. |
void |
setSuccRate(double[] arr)
Sets the success rates. |
void |
setVCGSets(VCGSet[][] compVcgSets)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WeightSumComb(int mode, double[] paramArr, double temperature)
mode
- = 0: fixed method which means the weights are fixed,
mode = 1: variable method which means the weights are got by calculating.paramArr
- the array of parameter values.
mode = 0: carries the values of weights.
mode = 1: carries the values of beta.temperature
- the temperature for action decision.Method Detail |
public void getWeights(double[] arr)
arr
- the array to store the weights.public void setSuccRate(double[] arr)
arr
- the array to set the success rates.public void setVCGSets(VCGSet[][] compVcgSets)
public void calcWeights()
public short[][] combination()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |