![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
A class to store the optimal actions. More...
#include <agrum/FMDP/planning/actionSet.h>
Public Member Functions | |
Size | size () const |
Gives the size. More... | |
bool | exists (const Idx &elem) const |
CNL | |
ActionSet () | |
Constructor. More... | |
ActionSet (const ActionSet &src) | |
Constructor. More... | |
ActionSet & | operator= (const ActionSet &src) |
Constructor. More... | |
~ActionSet () | |
Destructor. More... | |
void * | operator new (size_t s) |
Allocators and Deallocators redefinition. More... | |
void | operator delete (void *p) |
Constructor. More... | |
Iterators | |
SequenceIteratorSafe< Idx > | beginSafe () const |
Iterator beginning. More... | |
SequenceIteratorSafe< Idx > | endSafe () const |
Iterator end. More... | |
Operators | |
ActionSet & | operator+= (const Idx &elem) |
Ajout d'un élément. More... | |
ActionSet & | operator+= (const ActionSet &src) |
Use to insert the content of another set inside this one. More... | |
ActionSet & | operator-= (const ActionSet &src) |
Use to insert the content of another set inside this one. More... | |
const Idx & | operator[] (const Idx i) const |
Gives the ith element. More... | |
bool | operator== (const ActionSet &compared) const |
Compares two ActionSet to check if they are equals. More... | |
bool | operator!= (const ActionSet &compared) const |
Ajout d'un élément. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &streamy, const ActionSet &objy) |
A class to store the optimal actions.
Stores the ids of optimal actions. To be used as leaves on optimal policy tree or function graph
Definition at line 88 of file actionSet.h.
|
inline |
Constructor.
Definition at line 98 of file actionSet.h.
|
inline |
Constructor.
Definition at line 103 of file actionSet.h.
|
inline |
Destructor.
Definition at line 120 of file actionSet.h.
|
inline |
Iterator beginning.
Definition at line 143 of file actionSet.h.
|
inline |
Iterator end.
Definition at line 148 of file actionSet.h.
Definition at line 207 of file actionSet.h.
|
inline |
Constructor.
Definition at line 129 of file actionSet.h.
|
inline |
Allocators and Deallocators redefinition.
Definition at line 128 of file actionSet.h.
Ajout d'un élément.
Definition at line 198 of file actionSet.h.
References operator==().
Ajout d'un élément.
Definition at line 160 of file actionSet.h.
Use to insert the content of another set inside this one.
Definition at line 168 of file actionSet.h.
Use to insert the content of another set inside this one.
Definition at line 177 of file actionSet.h.
Constructor.
Definition at line 110 of file actionSet.h.
Compares two ActionSet to check if they are equals.
Definition at line 191 of file actionSet.h.
Referenced by operator!=().
Gives the ith element.
Definition at line 186 of file actionSet.h.
|
inline |
Gives the size.
Definition at line 205 of file actionSet.h.
|
friend |
Definition at line 213 of file actionSet.h.
The very bone of the ActionSet.
Definition at line 211 of file actionSet.h.