pal.misc
Class ParameterizedNeoWrapper

java.lang.Object
  extended by pal.misc.ParameterizedNeoWrapper
All Implemented Interfaces:
NeoParameterized

public class ParameterizedNeoWrapper
extends java.lang.Object
implements NeoParameterized

Title: ParameterizedNeoWrapper

Description: A wrapper for the old parameterized interface over the new parameterized interface

Version:
1.0
Author:
Matthew Goode

Constructor Summary
ParameterizedNeoWrapper(Parameterized base)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterizedNeoWrapper

public ParameterizedNeoWrapper(Parameterized base)
Method Detail

getNumberOfParameters

public int getNumberOfParameters()
Description copied from interface: NeoParameterized
get number of parameters

Specified by:
getNumberOfParameters in interface NeoParameterized
Returns:
number of parameters

setParameters

public void setParameters(double[] parameters,
                          int startIndex)
Description copied from interface: NeoParameterized
set model parameter

Specified by:
setParameters in interface NeoParameterized
Parameters:
parameters - the array holding the parameters
startIndex - the index into the array that the related parameters start at

getParameters

public void getParameters(double[] store,
                          int startIndex)
Description copied from interface: NeoParameterized
get model parameter

Specified by:
getParameters in interface NeoParameterized
startIndex - the index into the array that the related parameters start at

getLowerLimit

public double getLowerLimit(int n)
Description copied from interface: NeoParameterized
get lower parameter limit

Specified by:
getLowerLimit in interface NeoParameterized
Parameters:
n - parameter number
Returns:
lower bound

getUpperLimit

public double getUpperLimit(int n)
Description copied from interface: NeoParameterized
get upper parameter limit

Specified by:
getUpperLimit in interface NeoParameterized
Parameters:
n - parameter number
Returns:
upper bound

getDefaultValues

public void getDefaultValues(double[] store,
                             int startIndex)
Description copied from interface: NeoParameterized
get default value parameter values

Specified by:
getDefaultValues in interface NeoParameterized