joptima.functions
Class ConstrainableFunction
- java.lang.Object
-
- joptima.functions.ConstrainableFunction
-
-
Constructor Summary
Constructors Constructor and Description ConstrainableFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract voidconstrain(java.lang.String parametername)Removes the given parameter from the parameter list.voidconstrain(java.lang.String parametername, double value, double error)Remembers a value and error bar to constrain the given parameter to.voidconstrain(java.lang.String parametername, double value, double pluserror, double minuserror)Remembers a value and error bars to constrain the given parameter to.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface joptima.Function
calculate, getName, getParameters, setName
-
-
-
-
Method Detail
-
constrain
public abstract void constrain(java.lang.String parametername)
Removes the given parameter from the parameter list. This constraint is mandatory to implement.
-
constrain
public void constrain(java.lang.String parametername, double value, double error)Remembers a value and error bar to constrain the given parameter to. The actual constraining must happen in theFitter, since it depends on the particular likelihood function in use.
-
constrain
public void constrain(java.lang.String parametername, double value, double pluserror, double minuserror)Remembers a value and error bars to constrain the given parameter to. The actual constraining must happen in theFitter, since it depends on the particular likelihood function in use.
-
-
DMelt 3.0 © DataMelt by jWork.ORG