MultiAgentDecisionProcess
|
Type_PointerTuple is a implementation (extenstion) of Type and represents a type in e.g. More...
#include <Type_PointerTuple.h>
Public Member Functions | |
Type * | Clone () const |
Index | GetAction () const |
Index | GetObservation () const |
const TypeCluster * | GetPredecessor () const |
Type_PointerTuple & | operator= (const Type_PointerTuple &o) |
Copy assignment operator. More... | |
std::string | SoftPrint () const |
SoftPrints all of the represented histories recursively. More... | |
Type_PointerTuple (const TypeCluster *_m_pred, Index aI, Index oI) | |
(default) Constructor More... | |
Type_PointerTuple (const Type_PointerTuple &a) | |
Copy constructor. More... | |
virtual | ~Type_PointerTuple () |
Destructor. More... | |
Public Member Functions inherited from Type | |
SubClass | GetSubClass () const |
Type & | operator= (const Type &o) |
Copy assignment operator. More... | |
Type (SubClass s=AOHINDEX) | |
(default) Constructor More... | |
Type (const Type &a) | |
Copy constructor. More... | |
virtual | ~Type () |
Destructor. More... | |
Private Attributes | |
Index | _m_aI |
The (index of) the individual action taken since previous_p. More... | |
Index | _m_oI |
The (index of) the received individual observation since previous_p. More... | |
const TypeCluster * | _m_pred |
The previous TypeCluster. More... | |
Additional Inherited Members | |
Public Types inherited from Type | |
enum | SubClass { UNDEFINED, AOHINDEX, POINTERTUPLE } |
Protected Attributes inherited from Type | |
SubClass | _m_sc |
Type_PointerTuple is a implementation (extenstion) of Type and represents a type in e.g.
a BG.
In particular this implementation of Type is a tuple <p, a, o> where p is a pointer to a type of the (BG of the) previous stage, a is the action taken and o the observation received since then.
Type_PointerTuple::Type_PointerTuple | ( | const TypeCluster * | _m_pred, |
Index | aI, | ||
Index | oI | ||
) |
(default) Constructor
Referenced by Clone().
Type_PointerTuple::Type_PointerTuple | ( | const Type_PointerTuple & | a | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Implements Type.
References Type_PointerTuple().
|
inline |
References _m_aI.
Referenced by BayesianGameWithClusterInfo::Extend(), and BayesianGameWithClusterInfo::FindTypeClusterIndex().
|
inline |
References _m_oI.
Referenced by BayesianGameWithClusterInfo::Extend(), and BayesianGameWithClusterInfo::FindTypeClusterIndex().
|
inline |
References _m_pred.
Referenced by BayesianGameWithClusterInfo::Extend(), and BayesianGameWithClusterInfo::FindTypeClusterIndex().
Type_PointerTuple & Type_PointerTuple::operator= | ( | const Type_PointerTuple & | o | ) |
Copy assignment operator.
References _m_aI, _m_oI, _m_pred, and Type::operator=().
|
virtual |
SoftPrints all of the represented histories recursively.
Implements Type.
References _m_aI, _m_oI, _m_pred, and TypeCluster::SoftPrint().
|
private |
The (index of) the individual action taken since previous_p.
Referenced by GetAction(), operator=(), and SoftPrint().
|
private |
The (index of) the received individual observation since previous_p.
Referenced by GetObservation(), operator=(), and SoftPrint().
|
private |
The previous TypeCluster.
Referenced by GetPredecessor(), operator=(), and SoftPrint().