RNAlib-2.5.1
perturbation_fold.h
Go to the documentation of this file.
1#ifndef VIENNA_RNA_PACKAGE_PERTURBATION_FOLD_H
2#define VIENNA_RNA_PACKAGE_PERTURBATION_FOLD_H
3
5
24#define VRNA_OBJECTIVE_FUNCTION_QUADRATIC 0
25
33#define VRNA_OBJECTIVE_FUNCTION_ABSOLUTE 1
34
40#define VRNA_MINIMIZER_DEFAULT 0
41
49#define VRNA_MINIMIZER_CONJUGATE_FR 1
50
58#define VRNA_MINIMIZER_CONJUGATE_PR 2
59
67#define VRNA_MINIMIZER_VECTOR_BFGS 3
68
76#define VRNA_MINIMIZER_VECTOR_BFGS2 4
77
85#define VRNA_MINIMIZER_STEEPEST_DESCENT 5
86
96typedef void (*progress_callback)(int iteration,
97 double score,
98 double *epsilon);
99
140 const double *q_prob_unpaired,
141 int objective_function,
142 double sigma_squared,
143 double tau_squared,
144 int algorithm,
145 int sample_size,
146 double *epsilon,
147 double initialStepSize,
148 double minStepSize,
149 double minImprovement,
150 double minimizerTolerance,
151 progress_callback callback);
152
153
154#endif
The Basic Fold Compound API.
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:148
void vrna_sc_minimize_pertubation(vrna_fold_compound_t *vc, const double *q_prob_unpaired, int objective_function, double sigma_squared, double tau_squared, int algorithm, int sample_size, double *epsilon, double initialStepSize, double minStepSize, double minImprovement, double minimizerTolerance, progress_callback callback)
Find a vector of perturbation energies that minimizes the discripancies between predicted and observe...
void(* progress_callback)(int iteration, double score, double *epsilon)
Callback for following the progress of the minimization process.
Definition: perturbation_fold.h:96