22 #include "TermComperator.h"
28 typedef std::set<Term*, TermComperator > TermSet;
29 typedef std::set<TermVariable*, TermComperator > VariableSet;
45 bool gradient(
const DoubleVector* values,
47 bool hessian(
const DoubleVector* values,
51 bool objective(
const DoubleVector* values,
55 Term* objectiveFunction_;
56 TermPointerVector* gradient_;
57 TermPointerVector* hessian_;
58 bool prepareGradient();
59 bool prepareHessian();
60 bool prepareVariables();
61 TermVariablePointerVector* variables_;
63 VariableSet* variablesSet_;