|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
acceptsConstraints()
Check if this IOptimizer accept constraints. |
double[][] |
calculateContour(String par1,
String par2,
int npts,
double nSigmas)
Calculate the contour for two given parameters. |
boolean |
canCalculateContours()
Check if this IOptimizer can calculate contours. |
IOptimizerConfiguration |
configuration()
Get the IOptimizer configuration |
String[] |
listVariableSettings()
Get the list of the names of the IVariableSettings defined. |
void |
optimize()
Perform the optimization. |
void |
reset()
Reset the function, the domain of constraints and the internal configuration. |
void |
resetVariableSettings()
Reset all variable settings. |
IOptimizerResult |
result()
Get the optimization results. |
void |
setConfiguration(IOptimizerConfiguration config)
Set the internal configuration of the Optimizer. |
void |
setConstraints(IDomainConstraint domainConstraint)
Set the domain of constraints for the IOptimizer. |
void |
setFunction(hep.aida.IFunction function)
Set the IFunction to be optimized. |
IVariableSettings |
variableSettings(String name)
Get the IVariableSettings corresponding to a give variable. |
Method Detail |
public void setFunction(hep.aida.IFunction function) throws IllegalArgumentException
function
- The IFunction to be optimized.
true
if the IFunction is set succesfully,
false
otherwise.
IllegalArgumentException
public void setConstraints(IDomainConstraint domainConstraint) throws IllegalArgumentException
domainConstraint
- The domain of constraints.
true
if the IDomainConstraint is set succesfully,
false
otherwise.
IllegalArgumentException
public void optimize()
true
if the optimization was
successfull, false
otherwise.public IOptimizerResult result()
public void reset()
public IOptimizerConfiguration configuration()
public void setConfiguration(IOptimizerConfiguration config) throws IllegalArgumentException
config
- The configuration.
IllegalArgumentException
public IVariableSettings variableSettings(String name)
name
- The variable's name.
public String[] listVariableSettings()
public void resetVariableSettings()
public boolean acceptsConstraints()
true
if the IOptimizer accepts contraints.
false
otherwise.public boolean canCalculateContours()
true
if the IOptimizer can calculate contours.
false
otherwise.public double[][] calculateContour(String par1, String par2, int npts, double nSigmas)
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.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |