MultiAgentDecisionProcess  Release 0.2.1
PolicyPoolPartialJPolValPair.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _POLICYPOOLPARTIALJPOLVALPAIR_H_
30 #define _POLICYPOOLPARTIALJPOLVALPAIR_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include <queue>
35 #include "Globals.h"
36 #include "PartialJPDPValuePair.h"
38 
39 
40 
44 {
45  private:
47  std::priority_queue<PartialJPDPValuePair*> * _m_jpvpQueue_p;
48 
49  protected:
50 
51  public:
52  // Constructor, destructor and copy assignment.
56  //PolicyPoolPartialJPolValPair(const PolicyPoolPartialJPolValPair& a);
62 
63  //operators:
64 
65  //data manipulation (set) functions:
73 
88  void Pop();
102  {return(Select());};
113  {Pop();};
119 
125  void Prune(double v);
126  //get (data) functions:
127 
132  size_t Size() const
133  {
134  return(_m_jpvpQueue_p->size());
135  }
136 };
137 
138 
139 #endif /* !_POLICYPOOLPARTIALJPOLVALPAIR_H_ */
140 
141 // Local Variables: ***
142 // mode:c++ ***
143 // End: ***