MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
PolicyDiscretePure.cpp
Go to the documentation of this file.
1
28
#include "
PolicyDiscretePure.h
"
29
30
//Default constructor
31
PolicyDiscretePure::PolicyDiscretePure
(
32
const
Interface_ProblemToPolicyDiscretePure
& pu,
33
PolicyGlobals::IndexDomainCategory
idc,
34
Index
agentI ) :
35
PolicyDiscrete
( pu , idc, agentI )
36
{
37
}
38
39
//Copy constructor.
40
PolicyDiscretePure::PolicyDiscretePure
(
const
41
PolicyDiscretePure
& o)
42
:
43
PolicyDiscrete
( o )
44
{
45
}
46
47
double
PolicyDiscretePure::GetActionProb
(
Index
i,
Index
aI )
const
48
{
49
if
(
GetActionIndex
(i) == aI)
50
return
(1.0);
51
52
return
(0.0);
53
}
src
support
PolicyDiscretePure.cpp
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2