MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
JointBeliefSparse.h
Go to the documentation of this file.
1
28
/* Only include this header file once. */
29
#ifndef _JOINTBELIEFSPARSE_H_
30
#define _JOINTBELIEFSPARSE_H_ 1
31
32
/* the include directives */
33
#include <iostream>
34
#include "
Globals.h
"
35
#include "
JointBeliefInterface.h
"
36
#include "
BeliefSparse.h
"
37
38
class
MultiAgentDecisionProcessDiscreteInterface
;
//forward declaration to avoid including each other
39
41
class
JointBeliefSparse
:
public
JointBeliefInterface
,
42
public
BeliefSparse
43
{
44
private
:
45
47
double
UpdateSlow
(
const
MultiAgentDecisionProcessDiscreteInterface
&pu,
48
Index
lastJAI,
Index
newJOI);
49
50
protected
:
51
52
public
:
53
// Constructor, destructor and copy assignment.
55
JointBeliefSparse
();
56
58
JointBeliefSparse
(
size_t
size);
59
61
JointBeliefSparse
(
const
std::vector<double> &belief);
62
64
JointBeliefSparse
(
const
JointBeliefInterface
&belief);
65
JointBeliefSparse
(
const
StateDistribution
& belief);
66
68
~JointBeliefSparse
();
69
70
// operators:
71
using
BeliefSparse::operator=;
72
JointBeliefSparse
&
operator=
(
const
JointBeliefSparse
& o);
73
JointBeliefInterface
&
operator=
(
const
JointBeliefInterface
& o);
74
75
double
Update
(
const
MultiAgentDecisionProcessDiscreteInterface
&pu,
76
Index
lastJAI,
Index
newJOI);
78
virtual
JointBeliefSparse
*
Clone
()
const
79
{
return
new
JointBeliefSparse
(*
this
); }
80
81
};
82
83
84
#endif
/* !_JOINTBELIEFSPARSE_H_ */
85
86
// Local Variables: ***
87
// mode:c++ ***
88
// End: ***
src
support
JointBeliefSparse.h
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2