E - A class implementing the ParameterObjectInterfacepublic class ParameterAggregation<E extends ParameterObject> extends Object implements ParameterObject
| Constructor and Description |
|---|
ParameterAggregation()
Create a collection of parametrized objects.
|
ParameterAggregation(E[] parameters)
Create a collection of parametrized objects.
|
ParameterAggregation(Set<E> parameters)
Create a collection of parametrized objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(E parameterObject)
Add an object this parameterization.
|
Curve |
getCloneForParameter(double[] value)
Create a clone with a modified parameter.
|
Map<E,double[]> |
getObjectsToModifyForParameter(double[] parameter) |
double[] |
getParameter()
Get the current parameter associated with the state of the objects.
|
void |
remove(E parameterObject)
Remove an object from this parameterization.
|
void |
setParameter(double[] parameter)
Set the current parameter and change the state of the objects.
|
public ParameterAggregation()
public ParameterAggregation(Set<E> parameters)
parameters - A set of objects implementing ParameterObjectInterface to be combined to a single object.public ParameterAggregation(E[] parameters)
parameters - A set of objects implementing ParameterObjectInterface to be combined to a single object.public void add(E parameterObject)
parameterObject - The parameter object to add to this parameterizationpublic void remove(E parameterObject)
parameterObject - The parameter object to remove.public double[] getParameter()
ParameterObjectgetParameter in interface ParameterObjectpublic void setParameter(double[] parameter)
ParameterObjectsetParameter in interface ParameterObjectparameter - The parameter associated with the new state of the objects.public Map<E,double[]> getObjectsToModifyForParameter(double[] parameter)
public Curve getCloneForParameter(double[] value) throws CloneNotSupportedException
ParameterObjectgetCloneForParameter in interface ParameterObjectvalue - The new parameter.CloneNotSupportedException - Thrown, when the curve could not be cloned.Copyright © 2019. All rights reserved.