Class GenericMixedDescent#

Inheritance Relationships#

Base Type#

Class Documentation#

class GenericMixedDescent : public pele::GradientOptimizer#

Generalized Mixed Descent that combines two optimizers.

Base class for combining two optimizers.

Public Functions

inline GenericMixedDescent(
std::shared_ptr<BasePotential> pot,
Array<double> x,
double tol,
std::shared_ptr<GradientOptimizer> opt_non_convex,
std::shared_ptr<GradientOptimizer> opt_convex,
double translation_offset,
int steps_before_convex_check,
std::shared_ptr<BasePotential> pot_extension = nullptr
)#
virtual void one_iteration()#

Do one iteration iteration of the optimization algorithm.

inline int get_n_phase_1_steps()#
inline int get_n_phase_2_steps()#
inline virtual bool stop_criterion_satisfied()#

Return true if the termination condition is satisfied, false otherwise.

inline Array<double> get_x()#