|
|
| OptimizationDialog (QWidget *parent=0) |
| |
|
| OptimizationDialog (std::shared_ptr< Optimizer > opt, QWidget *parent=0) |
| | Creates an optimizer dialog with the parameters from opt.
|
| |
|
void | clear () |
| | Clear the list of optimization parameters.
|
| |
|
void | setOptimizer (std::shared_ptr< Optimizer > opt) |
| | Initialize control with parameters from opt and set it as the optimizer.
|
| |
|
std::shared_ptr< Optimizer > | optimizer () const |
| | Return optimizer.
|
| |
|
void | addParameter (const QString &name, bool clear=false, bool checked=true) |
| | Add an entry to the list of optimization parameters.
|
| |
|
void | addRigidParameters (bool clear=false) |
| | Add the 6 parameters of a rigid transformation, optionally clearing the parameter list before.
|
| |
| void | addAffineParameters (bool clear=false) |
| | Add the 12 parameters of an affine transformation (including the rigid ones), optionally clearing the parameter list before.
|
| |
|
void | setParameterChecked (int i, bool checked) |
| | Sets the checked state of a given paramter.
|
| |
| double | evaluate (int n, const double *x, double *dx=0) override |
| | Evaluation of the test function.
|
| |
|
void | setShowRunButton (bool flag) |
| | Shows or hides the run button.
|
| |
|
void | setGlobal (bool flag, double bounds, int population=0) |
| | Enable global optimization as preset with given bounds.
|
| |
|
void | setAlwaysUpdateGUI (bool flag) |
| | Change the flag for GUI update.
|
| |
|
void | setPlotView (PlotView *pv) |
| | Set plot view instance in order to display results after a plot.
|
| |
|
void | updatePlot () |
| | Update the plot view from the last optimizer plot run.
|
| |
|
void | evaluateStudyResult (int which) |
| | Evaluate the cost function with a result of a prior run random study.
|
| |
|
bool | alwaysUpdateGUI () const |
| | Return checkbox value if GUI should be updated during optimization.
|
| |
|
void | setOnlyUpdateIfBetter (bool flag) |
| | Change the flag for GUI update only if better value found.
|
| |
|
int | algorithm () const |
| | Return the selected optimization algorithm.
|
| |
|
QString | parName (int which) const |
| | Return the name of an optimization parameter.
|
| |
|
std::shared_ptr< Optimizer > | createOptimizer (bool createNew=true) |
| | Create and return optimizer based on settings in this dialog.
|
| |
|
| SignalReceiver ()=default |
| | Default constructor.
|
| |
|
| SignalReceiver (const SignalReceiver &other) |
| | Copy constructor, does not copy any existing signal connections from other.
|
| |
|
SignalReceiver & | operator= (SignalReceiver rhs) |
| | Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
|
| |
|
virtual | ~SignalReceiver () |
| | Virtual destructor disconnects from all connected signals.
|
| |