Search Results for

    Show / Hide Table of Contents

    Class model::IsingState

    Ising state representation.

    We represent an ising state as both the boolean value of each spin and the product of the spins in each term.

    Inheritance
    markov::State
    model::IsingState
    model::IsingCompactState
    model::IsingTermCachedState
    Inherited Members
    configure
    ~Component
    Component
    get_status
    param
    get_class_name

    Constructors

    IsingState()

    Declaration
    model::IsingState::IsingState()

    IsingState()

    Create an Ising state with N spins and M terms.

    All spins are initialized to 0 ("up" or "+1"). A true value represents "down" or "-1". As such, the boolean value can be considered as representing the sign.

    Declaration
    model::IsingState::IsingState(size_t N, size_t)

    Methods

    render()

    Render the spins of the state.

    Declaration
    utils::Structure model::IsingState::render() const override

    render()

    Declaration
    utils::Structure model::IsingState::render(const std::map<int, int>&) const

    copy_state_only()

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

    memory_estimate()

    Declaration
    static size_t model::IsingState::memory_estimate(size_t N, size_t)

    state_only_memory_estimate()

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