State.h
Go to the documentation of this file.
00001 // written by png shao wei
00002 // StateObsAct is for base class
00003 // ObsAct is for Observation and Action
00004 // State inherits StateObsAct and it has additional previous and current values
00005 
00006 #ifndef State_H
00007 #define State_H
00008 
00009 #include <iostream>
00010 #include <vector>
00011 #include <iterator>
00012 
00013 #include "StateObsAct.h"
00014 using namespace std;
00015 
00016 class State: public StateObsAct {
00017     protected:
00018         string vnamePrev;
00019         string vnameCurr;
00020         bool observed;
00021 
00022     public:
00023         void setVNamePrev(string str);
00024         void setVNameCurr(string str);
00025         void setObserved(bool o);
00026         const string getVNamePrev() const;
00027         const string getVNameCurr() const;
00028         const bool getObserved() const;
00029 
00030         std::ostream& write(std::ostream& out);
00031 };
00032 
00033 #endif
00034 


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29