|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.aida.ref.optimizer.AbstractOptimizer hep.aida.ref.optimizer.minuit.MinuitOptimizer
Minuit implementation of IOptimizer
Field Summary |
Fields inherited from class hep.aida.ref.optimizer.AbstractOptimizer |
configuration, domainConstraint, function, result |
Constructor Summary | |
MinuitOptimizer()
Creates a new instance of MinuitOptimizer |
Method Summary | |
boolean |
acceptsConstraints()
Check if this IOptimizer accept constraints. |
double[][] |
calculateContour(String parName1,
String parName2,
int nPoints,
double nSigmas)
Calculate the contour for two given parameters. |
boolean |
canCalculateContours()
Check if this IOptimizer can calculate contours. |
protected MinuitCommands |
commands()
|
void |
minosAnalysis()
|
void |
optimize()
Perform the optimization. |
void |
reset()
Reset the function, the domain of constraints and the internal configuration. |
void |
setFunction(hep.aida.IFunction function)
Set the IFunction to be optimized. |
Methods inherited from class hep.aida.ref.optimizer.AbstractOptimizer |
configuration, listVariableSettings, resetVariableSettings, result, setConfiguration, setConstraints, variableSettings |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MinuitOptimizer()
Method Detail |
public void optimize()
optimize
in interface IOptimizer
optimize
in class AbstractOptimizer
true
if the optimization was
successfull, false
otherwise.public void minosAnalysis()
public void setFunction(hep.aida.IFunction function)
AbstractOptimizer
setFunction
in interface IOptimizer
setFunction
in class AbstractOptimizer
function
- The IFunction to be optimized.
true
if the IFunction is set succesfully,
false
otherwise.protected MinuitCommands commands()
public boolean canCalculateContours()
IOptimizer
canCalculateContours
in interface IOptimizer
canCalculateContours
in class AbstractOptimizer
public double[][] calculateContour(String parName1, String parName2, int nPoints, double nSigmas)
IOptimizer
calculateContour
in interface IOptimizer
calculateContour
in class AbstractOptimizer
public void reset()
AbstractOptimizer
reset
in interface IOptimizer
reset
in class AbstractOptimizer
public boolean acceptsConstraints()
IOptimizer
acceptsConstraints
in interface IOptimizer
acceptsConstraints
in class AbstractOptimizer
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |