20 state(std::vector <Edge> e);
std::vector< bool > selectable
Shows whether edge is selectable in the current subset (true = selectable)
Definition: State.h:31
unsigned int score
The score of the State.
Definition: State.h:33
bool hasEdge()
Definition: State.cc:84
bool consistent(Edge &e, Edge &f)
Definition: State.cc:72
void select(int i)
Definition: State.cc:33
void reset()
Definition: State.cc:43
void calculate_score()
Definition: State.cc:92
This state class encapsulates the current game state. It can output possible actions and select them...
Definition: State.h:16
std::vector< bool > selectedSubset
Shows whether edge is selected in current subset (true = selected)
Definition: State.h:30
vector< unsigned int > calcSuccessorStates()
Definition: State.cc:113
std::vector< unsigned int > selectedEdgeIndex
contains indices from "edges" for all edges that are selected
Definition: State.h:32
void updateSelectability(int i)
Definition: State.cc:52
std::vector< Edge > edges
Definition: State.h:29
vector< unsigned int > successorStates
The indices of edges that if set are a direct successor State.
Definition: State.h:35