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 UCBEquation
public double evaluate(double[] values, double[] parameters)
evaluate
in interface UCBEquation
values
- state valuesparameters
- ucb parameterspublic java.lang.String toString(double[] parameters)
toString
in interface UCBEquation
parameters
- ucb parameters