00001
00002
00003
00005 #ifndef TERMINAL_H
00006 #define TERMINAL_H
00007
00008 #include "GeneModelType.h"
00009
00018 class Terminal : public GeneModelType {
00019 protected:
00020
00021 Terminal();
00022
00023 public:
00024 const int getScoreIdx() const { return 2; }
00025 const string& getTypeStr() const;
00026 void print(std::ostream&, const string&) const;
00027 static const Terminal& getInstance() { return _terminal; }
00028
00029 private:
00030 static Terminal _terminal;
00031
00038
00039 };
00040
00041 #endif //TERMINAL_H