ImFusion SDK 4.3
OptimizerFactory Class Reference

#include <ImFusion/Base/OptimizerFactory.h>

Factory for creating an Optimizer. More...

Detailed Description

Factory for creating an Optimizer.

Static Public Member Functions

static std::shared_ptr< Optimizercreate (int type, int dimension)
 Create an Optimizer class with a type value and dimensions.
 
static std::shared_ptr< Optimizercreate (const Properties *p)
 Create and configure an Optimizer through Properties.
 
static int count ()
 Return the number of available optimizer types (currently 44)
 
static std::string name (int type)
 Return the name of an optimizer.
 
static bool global (int type)
 Return whether an opimizer is a global (vs. local) method.
 
static bool derivative (int type)
 Return whether an optimizer is using derivatives.
 

Member Function Documentation

◆ create()

static std::shared_ptr< Optimizer > create ( int type,
int dimension )
static

Create an Optimizer class with a type value and dimensions.

Currently the following type values are supported: 0..41 The optimizers from the NlOpt library, see nlopt.h 42 ImFusion implementation of DIRECT (OptimizerDiRect class) 43 ImFusion implementation of Nelder-Mead simplex (OptimizerNelderMead class) 44 Series of other optimizations; not enumerated in methods below because it can not be configured through the OptimizationDialog GUI but only with Properties


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close