public class Parameter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Parameter.FormatException
Exception thrown when the format of a parameter string is incorrect
|
Modifier and Type | Method and Description |
---|---|
Parameter |
clone() |
boolean |
getEstimate()
Returns whether this parameter is a parameter that should be estimated
|
double |
getLowerBound()
Gets the lower bound of a parameter
|
java.lang.String |
getName()
Gets the name of the parameter
|
double |
getUpperBound()
Gets the upper bound of a parameter
|
double |
getValue()
Gets the value of the parameter
|
static Parameter |
newEstimatedBoundedParameter(java.lang.String name,
double lbound,
double ubound)
Creates a new bounded parameter that is estimated.
|
static Parameter |
newEstimatedBoundedParameter(java.lang.String name,
double lbound,
double ubound,
double start)
Creates a new bounded parameter that is estimated.
|
static Parameter |
newEstimatedParameter(java.lang.String name)
Creates a new (unbounded) parameter that is estimated.
|
static Parameter |
newEstimatedParameter(java.lang.String name,
double start)
Creates a new (unbounded) parameter that is estimated.
|
static Parameter |
newEstimatedPositiveParameter(java.lang.String name)
Creates a new parameter that has to be positive and is estimated.
|
static Parameter |
newEstimatedPositiveParameter(java.lang.String name,
double start)
Creates a new parameter that has to be positive and is estimated.
|
static Parameter |
newFixedParameter(java.lang.String name,
double value)
Creates a new fixed parameter (i.e.
|
java.lang.String |
toString() |
public Parameter clone()
clone
in class java.lang.Object
public java.lang.String getName()
public double getValue()
public double getLowerBound()
public double getUpperBound()
public boolean getEstimate()
public java.lang.String toString()
toString
in class java.lang.Object
public static Parameter newEstimatedPositiveParameter(java.lang.String name)
name
- The name of the parameterpublic static Parameter newEstimatedPositiveParameter(java.lang.String name, double start)
name
- The name of the parameterstart
- The initial value to use when optimising this parameterpublic static Parameter newEstimatedParameter(java.lang.String name)
name
- The name of the parameterpublic static Parameter newEstimatedParameter(java.lang.String name, double start)
name
- The name of the parameterstart
- The initial value to use when optimising this parameterpublic static Parameter newEstimatedBoundedParameter(java.lang.String name, double lbound, double ubound)
name
- The name of the parameterlbound
- The lower bound of the value the parameter can takeubound
- The upper bound of the value the parameter can takepublic static Parameter newEstimatedBoundedParameter(java.lang.String name, double lbound, double ubound, double start)
name
- The name of the parameterlbound
- The lower bound of the value the parameter can takeubound
- The upper bound of the value the parameter can takestart
- The initial value to use when optimising this parameterpublic static Parameter newFixedParameter(java.lang.String name, double value)
name
- The parameters namevalue
- The value of the parameter