trick/trick_models/cannon/optim/include/amoeba_proto.h
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
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.
2015-03-23 16:03:14 -05:00

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