MultiAgentDecisionProcess  Release 0.2.1
IndividualHistory Class Reference

IndividualHistory represents a history for a single agent. More...

#include <IndividualHistory.h>

+ Inheritance diagram for IndividualHistory:
+ Collaboration diagram for IndividualHistory:

Public Member Functions

 IndividualHistory (Index agentI)
 (default) Constructor
virtual ~IndividualHistory ()
 Destructor.
- Public Member Functions inherited from History
virtual HistoryClone () const =0
 Returns a pointer to a copy of this class.
size_t GetLength () const
 Returns the length of the history, i.e., the number of time steps.
 History ()
 (default) Constructor
virtual void Print () const =0
void SetLength (size_t length)
 Set the length of the history, i.e., the number of time steps.
virtual ~History ()
 Destructor.

Protected Attributes

Index _m_agentI
 The agent this history belongs to.
- Protected Attributes inherited from History
size_t _m_length
 How long (how many time-steps) is this history?

Detailed Description

IndividualHistory represents a history for a single agent.

Definition at line 39 of file IndividualHistory.h.

Constructor & Destructor Documentation

IndividualHistory::IndividualHistory ( Index  agentI)
inline

(default) Constructor

Definition at line 51 of file IndividualHistory.h.

virtual IndividualHistory::~IndividualHistory ( )
inlinevirtual

Destructor.

Definition at line 53 of file IndividualHistory.h.

Member Data Documentation

Index IndividualHistory::_m_agentI
protected

The documentation for this class was generated from the following file: