Search Results for

    Show / Hide Table of Contents

    Class markov::SimpleTransition

    Predefined simple markov transition.

    This is a transition class which works for any State it simply keeps track of the state before and after the transition. This is convenient for initial testing but not efficient because:

    1. New states are repeatedly created for each (potential transition)
    2. calculate_cost_difference() cannot exploit knowledge about what changed to partially recalculate the calculate_cost (apart from calculating the diff from state and target).
    Inheritance
    markov::Transition
    markov::SimpleTransition

    Constructors

    SimpleTransition()

    Create a simple transition to an explicit target state.

    Declaration
    markov::SimpleTransition<State>::SimpleTransition(State target)

    Methods

    target()

    Accessor for the target state.

    Declaration
    const State&markov::SimpleTransition<State>::target() const
    In This Article
    Back to top Generated with Doxygen and DocFX