hep.aida.ref.optimizer.jminuit
Class JMinuitOptimizer
- java.lang.Object
-
- hep.aida.ref.optimizer.AbstractOptimizer
-
- hep.aida.ref.optimizer.jminuit.JMinuitOptimizer
-
- All Implemented Interfaces:
- IOptimizer
public class JMinuitOptimizer extends AbstractOptimizer
JMinuit implementation of IOptimizer
-
-
Constructor Summary
Constructors Constructor and Description JMinuitOptimizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanacceptsConstraints()Check if this IOptimizer accept constraints.double[][]calculateContour(java.lang.String par1, java.lang.String par2, int npts, double nSigmas)Calculate the contour for two given parameters.booleancanCalculateContours()Check if this IOptimizer can calculate contours.voidoptimize()Perform the optimization.voidreset()Reset the function, the domain of constraints and the internal configuration.-
Methods inherited from class hep.aida.ref.optimizer.AbstractOptimizer
configuration, listVariableSettings, resetVariableSettings, result, setConfiguration, setConstraints, setFunction, variableSettings
-
-
-
-
Method Detail
-
optimize
public void optimize()
Description copied from class:AbstractOptimizerPerform the optimization.- Specified by:
optimizein interfaceIOptimizer- Specified by:
optimizein classAbstractOptimizer
-
acceptsConstraints
public boolean acceptsConstraints()
Description copied from interface:IOptimizerCheck if this IOptimizer accept constraints.- Specified by:
acceptsConstraintsin interfaceIOptimizer- Overrides:
acceptsConstraintsin classAbstractOptimizer- Returns:
trueif the IOptimizer accepts contraints.falseotherwise.
-
canCalculateContours
public boolean canCalculateContours()
Description copied from interface:IOptimizerCheck if this IOptimizer can calculate contours.- Specified by:
canCalculateContoursin interfaceIOptimizer- Overrides:
canCalculateContoursin classAbstractOptimizer- Returns:
trueif the IOptimizer can calculate contours.falseotherwise.
-
calculateContour
public double[][] calculateContour(java.lang.String par1, java.lang.String par2, int npts, double nSigmas)Description copied from interface:IOptimizerCalculate the contour for two given parameters. The number of points and the number of sigmas can also be specified.- Specified by:
calculateContourin interfaceIOptimizer- Overrides:
calculateContourin classAbstractOptimizer- Parameters:
par1- The name of the first parameter.par2- The name of the second parameter.npts- The number of points on the contour.nSigmas- The number of sigmas for this contour.- Returns:
- A double array of dimension [2][npts]. For each point on the contour the value of (par1,par2) is returned.
-
reset
public void reset()
Description copied from class:AbstractOptimizerReset the function, the domain of constraints and the internal configuration.- Specified by:
resetin interfaceIOptimizer- Overrides:
resetin classAbstractOptimizer
-
-
DMelt 3.0 © DataMelt by jWork.ORG