Struct ggp_rs::State
[−]
[src]
pub struct State { // some fields omitted }
The state of a game, containing all Sentence
s that are true in this state
Methods
impl State
fn new() -> State
Create a new, empty state
fn from_props(props: BTreeSet<Sentence>) -> State
Create a state containing the given propositions
fn props(&self) -> &BTreeSet<Sentence>
Returns the propositions that are true in this state