MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
PartialJPDPValuePair.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _PARTIALJPDPVALUEPAIR_H_
30
#define _PARTIALJPDPVALUEPAIR_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
PartialJointPolicyValuePair.h
"
36
37
class
PartialJointPolicyDiscretePure
;
38
39
40
43
class
PartialJPDPValuePair
:
public
PartialJointPolicyValuePair
44
{
45
private
:
46
47
PartialJointPolicyDiscretePure
*
_m_jpol
;
48
49
protected
:
50
51
public
:
52
// Constructor, destructor and copy assignment.
53
54
PartialJPDPValuePair
(
PartialJointPolicyDiscretePure
* jp,
double
val);
55
PartialJPDPValuePair
(
PartialJointPolicyDiscretePure
& jp,
double
val);
56
58
~PartialJPDPValuePair
();
59
60
PartialJointPolicyDiscretePure
*
GetJPol
()
61
{
return
(
_m_jpol
);}
62
63
std::string
SoftPrint
()
const
;
64
std::string
SoftPrintBrief
()
const
;
65
};
66
67
68
namespace
std{
71
template
<>
72
struct
less<
PartialJPDPValuePair
* >
//struct, so operator() is public by def.
73
{
74
bool
operator()(
const
PartialJPDPValuePair
* x,
const
PartialJPDPValuePair
* y)
const
75
{
76
//cout << "specialized less<PartialJPDPValuePair> called!"<<endl;
77
return
( x->
GetValue
() < y->
GetValue
() );
78
}
79
80
};
81
}
82
83
84
#endif
/* !_PARTIALJPDPVALUEPAIR_H_ */
85
86
// Local Variables: ***
87
// mode:c++ ***
88
// End: ***
src
planning
PartialJPDPValuePair.h
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2