|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.util.Function
The abstract super-class of (parametrisable) functions.
| Field Summary | |
protected PropertyMap |
parameters
Parameters of this function (stored as doubles). |
| Constructor Summary | |
Function()
|
|
| Method Summary | |
abstract double |
apply(double x)
Apply the value x onto the function, and return the
function value. |
double |
getParameter(java.lang.String name)
Returns the value of the specified parameter. |
abstract java.lang.String[] |
getParameterNames()
Returns the parameter names. |
PropertyMap |
getParameters()
Returns all parameters. |
void |
init(PropertyMap values)
Initialises the function with the specified values. |
void |
setParameters(PropertyMap map)
Sets the parameters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected PropertyMap parameters
| Constructor Detail |
public Function()
| Method Detail |
public abstract double apply(double x)
x onto the function, and return the
function value.
x - value to apply
public abstract java.lang.String[] getParameterNames()
public PropertyMap getParameters()
public void setParameters(PropertyMap map)
map - function parameterspublic double getParameter(java.lang.String name)
name - parameter name
public void init(PropertyMap values)
values - values for initialisation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||