|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
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.
true
if the configuration was set succesfully,
false
otherwise.
IllegalArgumentException
public IVariableSettings variableSettings(String name)
name
- The variable's name.
public String[] listVariableSettings()
public void resetVariableSettings()
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |