mirror of
https://github.com/nasa/trick.git
synced 2025-01-10 06:52:52 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
29 lines
632 B
C
29 lines
632 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_H
|
|
#define AMOEBA_PROTO_H
|
|
|
|
#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
|