public class UCBEvoEquation extends java.lang.Object implements UCBEquation
| Modifier and Type | Field and Description |
|---|---|
static double |
epsilon
small value to avoid division by zero
|
| Constructor and Description |
|---|
UCBEvoEquation() |
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(double[] values,
double[] parameters)
evaluate the ucb equation using the current parameters at the current state
|
int |
lengthParameters()
get the number of parameters used in this equation
|
java.lang.String |
toString(double[] parameters)
print the ucb equation using the current parameters
|
public int lengthParameters()
lengthParameters in interface UCBEquationpublic double evaluate(double[] values,
double[] parameters)
evaluate in interface UCBEquationvalues - state valuesparameters - ucb parameterspublic java.lang.String toString(double[] parameters)
toString in interface UCBEquationparameters - ucb parameters