mirror of
https://github.com/nasa/trick.git
synced 2025-02-11 13:05:27 +00:00
29 lines
636 B
C
29 lines
636 B
C
|
/*
|
||
|
* Vetter's implementation of the Nelder-Mead "amoeba" algorithm.
|
||
|
* Was made strictly for Trick tutorial. Was a whim.
|
||
|
* Reference for algorithm (not code):
|
||
|
* http://www.research.ibm.com/infoecon/paps/html/amec99_bundle/node8.html
|
||
|
*/
|
||
|
|
||
|
#ifndef __amoeba_proto__
|
||
|
#define __amoeba_proto__
|
||
|
|
||
|
#include "amoeba.h"
|
||
|
#include "cannon/aero/include/cannon_aero.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
int cannon_init_amoeba(AMOEBA*);
|
||
|
int cannon_pre_master(CANNON_AERO*, AMOEBA*);
|
||
|
int cannon_post_master(CANNON_AERO*, AMOEBA*);
|
||
|
int cannon_post_slave(CANNON_AERO*);
|
||
|
int cannon_pre_slave(CANNON_AERO*);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|