6 #ifndef OBJECTIVEFUNCTION_H
7 #define OBJECTIVEFUNCTION_H
9 #include<adolc/adolc.h>
14 ObjectiveFunction(
const int dimension_in,
double * x_initial_in,
double (*eval_in)(
const double * ,
const int ),
15 adouble (*eval_a_in)(
const adouble * ,
const int ),
const string name_in );
20 void set_x_initial(
void (*initial_pointpty)(
double *,
const int dimension));
21 double tape_it(
const double * x,
const short int tape_number);
22 double (*eval)(
const double * x,
const int dim);
23 adouble (*eval_a)(
const adouble * x,
const int dim);
31 #endif // OBJECTIVEFUNCTION_H
double tape_it(const double *x, const short int tape_number)
Definition: ObjectiveFunction.cpp:58
Responsibilites: Interfaces with ADOL-C. and Taping the function.
Definition: ObjectiveFunction.h:10
void swap(ObjectiveFunction &, ObjectiveFunction &)
Definition: ObjectiveFunction.cpp:37
ObjectiveFunction & operator=(ObjectiveFunction rhs)
Definition: ObjectiveFunction.cpp:46