51#ifndef GUM_STATES_COUNTER_H
52#define GUM_STATES_COUNTER_H
136 =
_counter_->variablesSequence().beginSafe();
137 varIter !=
_counter_->variablesSequence().endSafe();
Headers of the Learning Strategy interface.
Base class for discrete random variable.
<agrum/FMDP/SDyna/IVisitableGraphLearner.h>
Class for assigning/browsing values to tuples of discrete variables.
Class implementingting a function graph.
virtual void add(const DiscreteVariable &v)
Adds a new var to the variables of the multidimensional matrix.
Safe iterators for Sequence.
void _incState_(const Instantiation &, NodeId, Idx, Size)
const MultiDimFunctionGraph< int > * counter()
NodeId nodeSon(NodeId ni, Idx modality) const
StatesCounter()
Default constructor.
bool isTerminal(NodeId ni) const
Idx nodeNbObservation(NodeId ni) const
void incState(const Instantiation &)
void reset(const Instantiation &)
void insertSetOfVars(MultiDimFunctionGraph< double > *ret) const
MultiDimFunctionGraph< Size > * _counter_
~StatesCounter()
Default destructor.
Set< Instantiation * > _visitedStates_
const DiscreteVariable * nodeVar(NodeId ni) const
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size Idx
Type for indexes.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities