Search Results for

    Show / Hide Table of Contents

    Class model::PolyState

    PolyState.

    besides storing the Ising spins, PolyState is also initialized by the model to store intermediate results of the cost function evaluations for each term. This allows efficient evaluation and application of the cost difference a specific update would cause.

    Inheritance
    markov::State
    model::PolyState
    Inherited Members
    configure
    ~Component
    Component
    get_status
    param
    get_class_name

    Methods

    render()

    Render the current state of the spins in the model output format: {"0": +1, "1": -1, ...}.

    Declaration
    utils::Structure model::PolyState::render() const

    copy_state_only()

    Declaration
    void model::PolyState::copy_state_only(const PolyState&other)

    memory_estimate()

    Declaration
    static size_t model::PolyState::memory_estimate(size_t n_spins, size_t n_terms, size_t n_parameters)

    state_only_memory_estimate()

    Declaration
    static size_t model::PolyState::state_only_memory_estimate(size_t n_spins)
    In This Article
    Back to top Generated with Doxygen and DocFX