#include <volume_io/internal_volume_io.h>
#include <bicpl/numerical.h>
Include dependency graph for amoeba.c:
Go to the source code of this file.
Defines | |
#define | FLIP_RATIO 1.0 |
#define | CONTRACT_RATIO 0.5 |
#define | STRETCH_RATIO 2.0 |
#define | N_STEPS_NO_IMPROVEMENT 20 |
Functions | |
private Real | get_function_value (amoeba_struct *amoeba, float parameters[]) |
public void | initialize_amoeba (amoeba_struct *amoeba, int n_parameters, Real initial_parameters[], Real parameter_deltas[], amoeba_function function, void *function_data, Real tolerance) |
public Real | get_amoeba_parameters (amoeba_struct *amoeba, Real parameters[]) |
public void | terminate_amoeba (amoeba_struct *amoeba) |
private Real | try_amoeba (amoeba_struct *amoeba, Real sum[], int high, Real fac) |
public BOOLEAN | perform_amoeba (amoeba_struct *amoeba) |
|
Definition at line 23 of file amoeba.c. Referenced by perform_amoeba(). |
|
Definition at line 22 of file amoeba.c. Referenced by perform_amoeba(). |
|
Definition at line 213 of file amoeba.c. Referenced by perform_amoeba(). |
|
Definition at line 24 of file amoeba.c. Referenced by perform_amoeba(). |
|
Definition at line 118 of file amoeba.c. References amoeba_struct::n_parameters, amoeba_struct::parameters, and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 41 of file amoeba.c. References amoeba_struct::function, and amoeba_struct::function_data. Referenced by initialize_amoeba(), perform_amoeba(), and try_amoeba(). |
|
Definition at line 66 of file amoeba.c. References amoeba_struct::function, amoeba_struct::function_data, get_function_value(), amoeba_struct::n_parameters, amoeba_struct::n_steps_no_improvement, amoeba_struct::parameters, amoeba_struct::sum, amoeba_struct::tolerance, and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 232 of file amoeba.c. References CONTRACT_RATIO, FALSE, FLIP_RATIO, get_function_value(), amoeba_struct::n_parameters, N_STEPS_NO_IMPROVEMENT, amoeba_struct::n_steps_no_improvement, numerically_close(), amoeba_struct::parameters, STRETCH_RATIO, amoeba_struct::sum, amoeba_struct::tolerance, TRUE, try_amoeba(), and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 150 of file amoeba.c. References amoeba_struct::parameters, amoeba_struct::sum, and amoeba_struct::values. Referenced by optimize_simplex(). |
|
Definition at line 177 of file amoeba.c. References get_function_value(), amoeba_struct::n_parameters, amoeba_struct::parameters, and amoeba_struct::values. Referenced by perform_amoeba(). |