Search Results for

    Show / Hide Table of Contents

    Class model::BlumeCapel

    Inheritance
    model::GraphModel
    model::BlumeCapel
    Inherited Members
    Model
    state_only_memory_estimate
    init
    get_initial_configuration_state
    render_state
    calculate_cost
    apply_transition
    estimate_min_cost_diff
    set_step_limit
    state_memory_estimate
    render
    calculate_cost_difference
    get_random_transition
    configure
    match_version
    ~BaseModel
    configure
    BaseModel
    edge
    get_const_cost
    node
    rescale
    node_count
    estimate_max_cost_diff
    get_term_count
    get_scale_factor
    is_empty
    has_initial_configuration
    is_rescaled
    edges
    get_initial_configuration
    nodes
    get_sweep_size
    get_benchmark_properties
    edge_count
    render
    ~Component
    Component
    get_status
    param
    get_class_name

    Methods

    get_identifier()

    Returns the identifier string of the model type (e.g., "ising").

    Declaration
    std::string model::BlumeCapel::get_identifier() const override

    get_version()

    Returns the version of the input format this implementation expects.

    Declaration
    std::string model::BlumeCapel::get_version() const override

    cost_term()

    Declaration
    double model::BlumeCapel::cost_term(const State_T&state, size_t j) const

    cost_term()

    Declaration
    double model::BlumeCapel::cost_term(const State_T&state, size_t j, size_t modified_spin, int modified_value) const

    calculate_cost()

    Declaration
    double model::BlumeCapel::calculate_cost(const State_T&state) const override

    calculate_cost_difference()

    Declaration
    double model::BlumeCapel::calculate_cost_difference(const State_T&state, const Transition_T&transition) const override

    get_random_state()

    Return a valid random state for the model.

    The various algorithms don't know how to initialize a valid state; this allows them to start with a random one. NOTE: The rng being passed should be used for randomness (as opposed to creating one for the model), as multiple threads can potentially use the same underlying model (albeit with separate rngs).

    Declaration
    BlumeCapel::State_T model::BlumeCapel::get_random_state(utils::RandomGenerator&rng) const override

    get_random_transition()

    Declaration
    BlumeCapel::Transition_T model::BlumeCapel::get_random_transition(const State_T&state, utils::RandomGenerator&rng) const override

    apply_transition()

    Declaration
    void model::BlumeCapel::apply_transition(const Transition_T&transition, State_T&state) const override

    configure()

    Populates model internals from the input json.

    Declaration
    void model::BlumeCapel::configure(const utils::Json&json) override

    configure()

    Declaration
    void model::BlumeCapel::configure(Graph::Configuration_T&configuration)

    render_state()

    Declaration
    utils::Structure model::BlumeCapel::render_state(const State_T&state) const override

    state_memory_estimate()

    Declaration
    size_t model::BlumeCapel::state_memory_estimate() const override

    state_only_memory_estimate()

    Declaration
    size_t model::BlumeCapel::state_only_memory_estimate() const override
    In This Article
    Back to top Generated with Doxygen and DocFX