![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
<agrum/FMDP/simulation/statesChecker.h> More...
#include <statesChecker.h>
Public Member Functions | |
Constructor & destructor. | |
StatesChecker () | |
Default constructor. More... | |
~StatesChecker () | |
Default destructor. More... | |
Miscelleanous methods | |
bool | checkState (const Instantiation &state) |
void | addState (const Instantiation &) |
Idx | nbVisitedStates () |
void | reset (const Instantiation &) |
<agrum/FMDP/simulation/statesChecker.h>
Provides the necessary to check whether or not states have been already visited.
Definition at line 49 of file statesChecker.h.
gum::StatesChecker::StatesChecker | ( | ) |
Default constructor.
Definition at line 27 of file statesChecker.cpp.
References gum::Set< Key, Alloc >::emplace().
gum::StatesChecker::~StatesChecker | ( | ) |
Default destructor.
Definition at line 33 of file statesChecker.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 65 of file statesChecker.cpp.
References gum::Set< Key, Alloc >::emplace().
void gum::StatesChecker::addState | ( | const Instantiation & | state | ) |
Definition at line 53 of file statesChecker.cpp.
References gum::Set< Key, Alloc >::emplace().
|
inline |
Definition at line 73 of file statesChecker.h.
|
inline |
Definition at line 77 of file statesChecker.h.
void gum::StatesChecker::reset | ( | const Instantiation & | initialState | ) |
Definition at line 38 of file statesChecker.cpp.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 88 of file statesChecker.h.
|
private |
Definition at line 89 of file statesChecker.h.
|
private |
Definition at line 89 of file statesChecker.h.
|
private |
Definition at line 86 of file statesChecker.h.
|
private |
Definition at line 91 of file statesChecker.h.