GPLIB++
PlottableObjective.h
Go to the documentation of this file.
1 #ifndef PLOTTABLEOBJECTIVE_H_
2 #define PLOTTABLEOBJECTIVE_H_
3 #include "GeneralObjective.h"
4 
5 namespace gplib
6  {
7  /** \addtogroup gainv Genetic algorithm optimization */
8  /* @{ */
9  //! This only adds a few plotting functions to GeneralObjective to define a common interface
11  {
12  public:
13  //! write the current model to a file
14  virtual void WriteModel(const std::string &filename)
15  {
16  }
17  //! write the current model for plotting to a file
18  virtual void WritePlot(const std::string &filename)
19  {
20  }
21  //! Write current data to a file
22  virtual void WriteData(const std::string &filename)
23  {
24  }
27  GeneralObjective(Old)
28  {
29  }
31  virtual ~PlottableObjective();
32  };
33  /* @} */
34  }
35 #endif /*PLOTTABLEOBJECTIVE_H_*/
PlottableObjective(const PlottableObjective &Old)
This only adds a few plotting functions to GeneralObjective to define a common interface.
virtual void WriteData(const std::string &filename)
Write current data to a file.
virtual void WriteModel(const std::string &filename)
write the current model to a file
The basic object for any objective function, mainly an interface class and some storage.
PlottableObjective & operator=(const PlottableObjective &source)
virtual void WritePlot(const std::string &filename)
write the current model for plotting to a file