MultiAgentDecisionProcess  Release 0.2.1
PolicyDiscretePure.cpp
Go to the documentation of this file.
1 
28 #include "PolicyDiscretePure.h"
29 
30 //Default constructor
34  Index agentI ) :
35  PolicyDiscrete( pu , idc, agentI )
36 {
37 }
38 
39 //Copy constructor.
42  :
43  PolicyDiscrete( o )
44 {
45 }
46 
48 {
49  if(GetActionIndex(i) == aI)
50  return(1.0);
51 
52  return(0.0);
53 }