refine_plan.models.state

State class for Markov models.

Author: Charlie Street Owner: Charlie Street

Module Contents

Classes

State

State class for Markov models.

class refine_plan.models.state.State(sf_value_dict)

Bases: object

State class for Markov models.

_state_dict

A dictionary from state factor name to value

_sf_dict

A dictionary from state factor name to state factor

_hash_val

The hash of the state

to_and_cond()

Converts a state into a conjunction of conditions.

Returns:

The AddCondition representing the state