|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IOptimizer
| 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(IFunction function)
Set the IFunction to be optimized. |
IVariableSettings |
variableSettings(String name)
Get the IVariableSettings corresponding to a give variable. |
| Method Detail |
|---|
void setFunction(IFunction function)
throws IllegalArgumentException
function - The IFunction to be optimized.
IllegalArgumentException
void setConstraints(IDomainConstraint domainConstraint)
throws IllegalArgumentException
domainConstraint - The domain of constraints.
IllegalArgumentExceptionvoid optimize()
IOptimizerResult result()
void reset()
IOptimizerConfiguration configuration()
void setConfiguration(IOptimizerConfiguration config)
throws IllegalArgumentException
config - The configuration.
IllegalArgumentExceptionIVariableSettings variableSettings(String name)
name - The variable's name.
String[] listVariableSettings()
void resetVariableSettings()
boolean acceptsConstraints()
true if the IOptimizer accepts contraints.
false otherwise.boolean canCalculateContours()
true if the IOptimizer can calculate contours.
false otherwise.
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||