public interface ParametricFunction
ParametricFunction.ParametricStateFunction
operates
on State
inputs and the ParametricFunction.ParametricStateActionFunction
operates on State
-Action
inputs.Modifier and Type | Interface and Description |
---|---|
static interface |
ParametricFunction.ParametricStateActionFunction
A parametric function that operations on state-actions
|
static interface |
ParametricFunction.ParametricStateFunction
A Parametric function that operates on states.
|
Modifier and Type | Method and Description |
---|---|
ParametricFunction |
copy()
Returns a copy of this
ParametricFunction . |
double |
getParameter(int i)
Returns the value of the ith parameter value
|
int |
numParameters()
Returns the number of parameters defining this function.
|
void |
resetParameters()
Resets the parameters of this function to default values.
|
void |
setParameter(int i,
double p)
Sets the value of the ith parameter to given value
|
int numParameters()
double getParameter(int i)
i
- the parameter indexvoid setParameter(int i, double p)
i
- the index of the parameter to setp
- the parameter value to which it should be setvoid resetParameters()
ParametricFunction copy()
ParametricFunction
.ParametricFunction
.