00001 /*************************************************************************** 00002 pestask.h - description 00003 ------------------- 00004 begin : Sat Apr 12 2003 00005 copyright : (C) 2003 by root 00006 email : root@localhost.localdomain 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef PESTASK_H 00019 #define PESTASK_H 00020 00021 #include "worldconfig.h" 00022 #include "nn.h" 00023 #include <stdlib.h> 00032 class PESTask:public Serializable { 00033 public: 00036 int holder; 00039 int completed; 00042 float result; 00045 NN nn; 00048 WorldConfig world; 00051 int no; 00054 int nsteps; 00056 int tstart; 00058 int tend; 00060 int seed; 00063 void printTask(); 00067 void saveTask(); 00069 void virtual Serialize(FILE *f); 00071 void virtual Deserialize(FILE *f); 00072 PESTask(); 00073 ~PESTask(); 00074 }; 00075 00076 #endif
1.2.18