16 #ifndef FUNCTIONAPPROXIMATOR_H
17 #define FUNCTIONAPPROXIMATOR_H
32 virtual void save(
const char *) = 0;
33 virtual void save(FILE *) = 0;
34 virtual void load(
const char *) = 0;
35 virtual void load(FILE *) = 0;
39 virtual double train(std::vector<double> &input, std::vector<double> &output2) = 0;
40 virtual double *
test(
const std::vector<double> &input) = 0;
42 virtual double train(std::vector<unsigned int> &input, std::vector<double> &output2) = 0;
43 virtual double *
test(
const std::vector<unsigned int> &input) = 0;
46 virtual double GetInput(std::vector<double> &input,
const std::vector<double> &target) = 0;
59 virtual void Print() = 0;