include/PlotStatisticMaker.hpp

Go to the documentation of this file.
00001 // PlotStatisticMaker.hpp: this file is part of the REGAL project.
00002 //
00003 // REGAL : Random and Exhaustive Generators for Automata - Library
00004 //
00005 // Copyright (C) 2007 Julien DAVID.
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2
00010 // of the License, or (at your option) any later version.
00011 //
00012 // The complete GNU General Public Licence Notice can be found as the
00013 // `COPYING' file in the root directory.
00014 //
00015 //
00016 #ifndef PLOTSTATISTICMAKER
00017 #define PLOTSTATISTICMAKER
00018 
00019 #include "StatisticMaker.hpp"
00020 
00021 namespace regal{
00022   
00023   class PlotStatisticMaker:public StatisticMaker{
00024   public:
00025     
00031     void addValue(double * values, int size){
00032       int i;
00033       for(i=0;i<size;i++)
00034         fprintf(output,"%f ",values[i]);
00035       fprintf(output,"\n");
00036     }
00037     
00043     void addValue(int value1, double value2){
00044       fprintf(output,"%d %f\n",value1,value2);
00045     }
00046     
00052     PlotStatisticMaker(char * path,char * option):StatisticMaker::StatisticMaker(path,option){
00053     }
00054     
00058     ~PlotStatisticMaker(){}
00059     
00060   };
00061 
00062 }
00063 
00064 
00065 #endif 

Generated on Mon Sep 29 16:33:58 2008 for REGAL by  doxygen 1.5.1