Class markov::Transition
Base class for a markov transition.
A transition describes a proposed move from the current to the next state. Depending on the algorithm, this move might be conditionally accepted, in which case the algorithm invokes apply_transition(transition, &state)
on the model.
Note
When deciding how to represent your transition, try to envision the minimum amount of information required for apply_transition
to do its work. This is typically also what calculate_cost_difference
needs to efficiently calculate the resulting change in cost for a transition.
markov::State
Inheritance
markov::Transition