PlottableObjective.h

Go to the documentation of this file.
00001 #ifndef PLOTTABLEOBJECTIVE_H_
00002 #define PLOTTABLEOBJECTIVE_H_
00003 #include "GeneralObjective.h"
00004 
00005 namespace gplib
00006   {
00007     /** \addtogroup gainv Genetic algorithm optimization */
00008     /* @{ */
00009     //! This only adds a few plotting functions to GeneralObjective to define a common interface
00010     class PlottableObjective: public GeneralObjective
00011       {
00012     public:
00013       //! write the current model to a file
00014       virtual void WriteModel(const std::string &filename)
00015         {
00016         }
00017       //! write the current model for plotting to a file
00018       virtual void WritePlot(const std::string &filename)
00019         {
00020         }
00021       //! Write current data to a file
00022       virtual void WriteData(const std::string &filename)
00023         {
00024         }
00025       PlottableObjective();
00026       PlottableObjective(const PlottableObjective &Old) :
00027         GeneralObjective(Old)
00028         {
00029         }
00030       PlottableObjective& operator=(const PlottableObjective& source);
00031       virtual ~PlottableObjective();
00032       };
00033   /* @} */
00034   }
00035 #endif /*PLOTTABLEOBJECTIVE_H_*/

Generated on Tue May 4 16:52:14 2010 for GPLIB++ by  doxygen 1.5.8