00001 #ifndef SIGEL_GP_SIG_GPSIMPLERECORDER_H 00002 #define SIGEL_GP_SIG_GPSIMPLERECORDER_H 00003 00004 #include "SIGEL_Simulation/SIG_Recorder.h" 00005 00006 namespace SIGEL_GP 00007 { 00008 00014 class SIG_GPSimpleRecorder : public SIGEL_Simulation::SIG_Recorder 00015 { 00016 00017 friend class SIG_GPSimpleFitnessFunction; 00018 00019 public: 00020 00024 SIG_GPSimpleRecorder(); 00025 00032 void init() 00033 throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, 00034 SIGEL_Simulation::SIG_RecorderBadRecordingOrderException); 00035 00042 void record() 00043 throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, 00044 SIGEL_Simulation::SIG_RecorderBadRecordingOrderException); 00045 00052 void finish() 00053 throw (SIGEL_Simulation::SIG_RecorderNoQueriesSetException, 00054 SIGEL_Simulation::SIG_RecorderBadRecordingOrderException); 00055 00056 private: 00057 00061 DL_vector start; 00062 DL_vector end; 00063 00064 DL_matrix startRotation; 00065 DL_matrix endRotation; 00066 }; 00067 00068 } 00069 00070 00071 #endif // SIGEL_GP_SIG_GPSIMPLERECORDER_H