|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.optimizer.AbstractOptimizer
public abstract class AbstractOptimizer
Abstract implementation of IOptimizer
| Constructor Summary | |
|---|---|
AbstractOptimizer()
Creates a new instance of AbstractOptimizer |
|
| 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. |
abstract 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 configuration)
Set the internal configuration of the Optimizer. |
void |
setConstraints(IDomainConstraint iDomainConstraint)
Set the domain of constraints for the IOptimizer. |
void |
setFunction(IFunction iFunction)
Set the IFunction to be optimized. |
IVariableSettings |
variableSettings(String name)
Get the IVariableSettings corresponding to a give variable. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOptimizer()
| Method Detail |
|---|
public IOptimizerConfiguration configuration()
configuration in interface IOptimizerpublic abstract void optimize()
optimize in interface IOptimizerpublic void reset()
reset in interface IOptimizerpublic IOptimizerResult result()
result in interface IOptimizerpublic void setConfiguration(IOptimizerConfiguration configuration)
setConfiguration in interface IOptimizerconfiguration - The configuration.public void setConstraints(IDomainConstraint iDomainConstraint)
setConstraints in interface IOptimizeriDomainConstraint - The domain of constraints.public void setFunction(IFunction iFunction)
setFunction in interface IOptimizeriFunction - The IFunction to be optimized.public String[] listVariableSettings()
IOptimizer
listVariableSettings in interface IOptimizerpublic void resetVariableSettings()
IOptimizer
resetVariableSettings in interface IOptimizerpublic IVariableSettings variableSettings(String name)
IOptimizer
variableSettings in interface IOptimizername - The variable's name.
public boolean acceptsConstraints()
IOptimizer
acceptsConstraints in interface IOptimizertrue if the IOptimizer accepts contraints.
false otherwise.public boolean canCalculateContours()
IOptimizer
canCalculateContours in interface IOptimizertrue if the IOptimizer can calculate contours.
false otherwise.
public double[][] calculateContour(String par1,
String par2,
int npts,
double nSigmas)
IOptimizer
calculateContour in interface IOptimizerpar1 - 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 | ||||||||