MultiAgentDecisionProcess  Release 0.2.1
JointPolicyDiscretePure.cpp
Go to the documentation of this file.
1 
29 using namespace std;
30 
31 //Default constructor
35  JointPolicyDiscrete( pu , idc )
36 {
37 
38 }
39 //Copy constructor.
42  :
44 {
45 }
46 //Destructor
47 //JointPolicyDiscretePure::~JointPolicyDiscretePure()
48 //{
49 //}
50 //Copy assignment operator
52 {
53  if (this == &o) return *this; // Gracefully handle self assignment
54  JointPolicyDiscrete::operator= ( o ); //call parent
55  // Put the normal assignment duties here...
56 
57  return *this;
58 }
59 
61  Index i, Index ja ) const
62 {
63  return (ja == GetJointActionIndex(i));
64 
65 }
67  Index i, Index a ) const
68 {
69  return (a == GetActionIndex(agentI, i));
70 }
71 
74 {
76 }
77