ECF 1.5
FunctionSet.h
1#ifndef ECF_CARTESIAN_FUNCTIONSET_H
2#define ECF_CARTESIAN_FUNCTIONSET_H
3#include "Function.h"
4#include "Add.h"
5#include "Sub.h"
6#include "Mul.h"
7#include "Div.h"
8#include "Ln.h"
9#include "Neg.h"
10#include "Sin.h"
11#include "Sqrt.h"
12#include "Step.h"
13#include "Cos.h"
14#include "Max.h"
15#include "Min.h"
16#include "Sq_exp.h"
17namespace cartesian{
19 public:
21 ~FunctionSet(){};
22 bool initialize(StateP state);
23 bool addFunction(const std::string& name);
24
25 std::map<std::string,FunctionP_basic> mAllFunctions_;
26 std::vector<FunctionP_basic> vActiveFunctions_;
27 std::map<std::string,FunctionP_basic> mActiveFunctions_;
28 StateP state_;
29 };
30 typedef boost::shared_ptr<FunctionSet> FunctionSetP;
31}
32#endif //ECF_CARTESIAN_FUNCTIONSET_H