MultiAgentDecisionProcess  Release 0.2.1
ObservationModelDiscrete.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _OBSERVATIONMODELDISCRETE_H_
30 #define _OBSERVATIONMODELDISCRETE_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "ObservationModel.h"
36 
39 {
40 private:
41 
48 
49 protected:
50 
51 public:
53  ObservationModelDiscrete(int nrS = 1, int nrJA = 1, int nrJO = 1);
54 
56  virtual ~ObservationModelDiscrete();
57 
59  virtual double Get(Index ja_i, Index suc_s_i, Index jo_i) const = 0;
60 
61  //data manipulation funtions:
63 
68  virtual void Set(Index ja_i, Index suc_s_i, Index jo_i, double prob) = 0;
69 
72 
74  virtual ObservationModelDiscrete* Clone() const = 0;
75 
77  std::string SoftPrint() const;
78 };
79 
80 
81 #endif /* !_OBSERVATIONMODELDISCRETE_H_ */
82 
83 // Local Variables: ***
84 // mode:c++ ***
85 // End: ***