pal.misc
public class ParameterizedNeoWrapper extends java.lang.Object implements NeoParameterized
Title: ParameterizedNeoWrapper
Description: A wrapper for the old parameterized interface over the new parameterized interface
Constructor and Description |
---|
ParameterizedNeoWrapper(Parameterized base) |
Modifier and Type | Method and Description |
---|---|
void |
getDefaultValues(double[] store,
int startIndex)
get default value parameter values
|
double |
getLowerLimit(int n)
get lower parameter limit
|
int |
getNumberOfParameters()
get number of parameters
|
void |
getParameters(double[] store,
int startIndex)
get model parameter
|
double |
getUpperLimit(int n)
get upper parameter limit
|
void |
setParameters(double[] parameters,
int startIndex)
set model parameter
|
public ParameterizedNeoWrapper(Parameterized base)
public int getNumberOfParameters()
NeoParameterized
getNumberOfParameters
in interface NeoParameterized
public void setParameters(double[] parameters, int startIndex)
NeoParameterized
setParameters
in interface NeoParameterized
parameters
- the array holding the parametersstartIndex
- the index into the array that the related parameters start atpublic void getParameters(double[] store, int startIndex)
NeoParameterized
getParameters
in interface NeoParameterized
startIndex
- the index into the array that the related parameters start atpublic double getLowerLimit(int n)
NeoParameterized
getLowerLimit
in interface NeoParameterized
n
- parameter numberpublic double getUpperLimit(int n)
NeoParameterized
getUpperLimit
in interface NeoParameterized
n
- parameter numberpublic void getDefaultValues(double[] store, int startIndex)
NeoParameterized
getDefaultValues
in interface NeoParameterized