MultiAgentDecisionProcess
|
History is a general class for histories. More...
#include <History.h>
Public Member Functions | |
virtual History * | Clone () const =0 |
Returns a pointer to a copy of this class. More... | |
size_t | GetLength () const |
Returns the length of the history, i.e., the number of time steps. More... | |
History () | |
(default) Constructor More... | |
virtual void | Print () const =0 |
void | SetLength (size_t length) |
Set the length of the history, i.e., the number of time steps. More... | |
virtual | ~History () |
Destructor. More... | |
Protected Attributes | |
size_t | _m_length |
How long (how many time-steps) is this history? More... | |
History is a general class for histories.
|
inline |
(default) Constructor
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns a pointer to a copy of this class.
Implemented in JointActionObservationHistory, ObservationHistory, JointObservationHistory, JointActionHistory, ActionObservationHistory, and ActionHistory.
|
inline |
Returns the length of the history, i.e., the number of time steps.
Referenced by ActionHistory::ActionHistory(), ActionObservationHistory::ActionObservationHistory(), PlanningUnitMADPDiscrete::CreateActionObservationHistoryTree(), PlanningUnitMADPDiscrete::CreateObservationHistoryTree(), PlanningUnitMADPDiscrete::InitializeJointActionObservationHistories(), PlanningUnitMADPDiscrete::InitializeJointObservationHistories(), JointActionHistory::JointActionHistory(), JointActionObservationHistory::JointActionObservationHistory(), JointObservationHistory::JointObservationHistory(), and ObservationHistory::ObservationHistory().
|
pure virtual |
|
inline |
Set the length of the history, i.e., the number of time steps.
Referenced by ActionHistory::ActionHistory(), ActionObservationHistory::ActionObservationHistory(), JointActionHistory::JointActionHistory(), JointActionObservationHistory::JointActionObservationHistory(), JointObservationHistory::JointObservationHistory(), and ObservationHistory::ObservationHistory().
|
protected |
How long (how many time-steps) is this history?
For example, history at... ts 0 - length 0 (received no action yet... ) ts 1 - length 1 (hist= (a0) ) ts 2 - length 2 (hist= (a0,a1) )
Referenced by JointActionObservationHistory::GetJointActionObservationHistoryVectorsRecursive(), ActionObservationHistory::SoftPrint(), ActionHistory::SoftPrint(), JointActionObservationHistory::SoftPrint(), JointActionHistory::SoftPrint(), JointObservationHistory::SoftPrint(), ObservationHistory::SoftPrint(), and JointActionObservationHistory::SoftPrintJointIndices().