Class markov::RandomWalker
A RandomWalker
accepts every move.
Note
computing cost_difference is typically not superfluous as it will be needed within Walker::make_step()
to update the cached cost_
.
Inherited Members
Methods
accept()
Implementations of the walker interface must provide a method to decide which steps to accept/reject. Currently this is only based on cost_difference
, but the state or transition could be added.
Declaration
bool markov::RandomWalker<Model>::accept(const typename Model::Cost_T&) override