8#ifndef IMPGSL_CONJUGATE_GRADIENTS_H
9#define IMPGSL_CONJUGATE_GRADIENTS_H
11#include <IMP/gsl/gsl_config.h>
20class IMPGSLEXPORT ConjugateGradients :
public GSLOptimizer {
21 double initial_step_, line_step_, min_gradient_;
25 ConjugateGradients(
Model *m);
A base class for GSL-based optimizers.
Class for storing model, its restraints, constraints, and particles.
void set_threshold(double mg)
Set the gradient threshold.
virtual Float do_optimize(unsigned int max_steps) override
override this function to do actual optimization
double Float
Basic floating-point value (could be float, double...).
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.