MultiAgentDecisionProcess  Release 0.2.1
TransitionModelDiscrete.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _TRANSITIONMODELDISCRETE_H_
30 #define _TRANSITIONMODELDISCRETE_H_ 1
31 
32 /* the include directives */
33 #include <boost/numeric/ublas/matrix.hpp>
34 #include "Globals.h"
35 #include "TransitionModel.h"
36 
39 {
40 private:
41 
46 
47 protected:
48 
49 public:
50  // Constructor, destructor and copy assignment.
52  TransitionModelDiscrete(int nrS = 1, int nrJA = 1);
53 
54  virtual ~TransitionModelDiscrete();
55 
57  virtual double Get(Index sI, Index jaI, Index sucSI) const = 0;
58 
59  //data manipulation funtions:
61 
65  virtual void Set(Index sI, Index jaI, Index sucSI, double prob) = 0;
66 
69 
71  virtual TransitionModelDiscrete* Clone() const = 0;
72 
74  std::string SoftPrint() const;
75 };
76 
77 #endif /* !_TRANSITIONMODELDISCRETE_H_ */
78 
79 
80 // Local Variables: ***
81 // mode:c++ ***
82 // End: ***