Empirical
|
Information about what a particular state type means in a state grid. More...
#include <StateGrid.h>
Public Member Functions | |
StateInfo (int _id, char _sym, double _change, const std::string &_name, const std::string &_desc) | |
StateInfo (const StateInfo &)=default | |
StateInfo (StateInfo &&)=default | |
~StateInfo () | |
StateInfo & | operator= (const StateInfo &)=default |
StateInfo & | operator= (StateInfo &&)=default |
Public Attributes | |
int | state_id |
Ordinal id for this state. More... | |
char | symbol |
Symbol for printing this state. More... | |
double | score_change |
Change ammount for organism score by stepping on this square. More... | |
std::string | name |
Name of this state. More... | |
std::string | desc |
Explanation of this state. More... | |
Information about what a particular state type means in a state grid.
|
inline |
|
default |
|
default |
|
inline |
std::string emp::StateGridInfo::StateInfo::desc |
Explanation of this state.
std::string emp::StateGridInfo::StateInfo::name |
Name of this state.
double emp::StateGridInfo::StateInfo::score_change |
Change ammount for organism score by stepping on this square.
int emp::StateGridInfo::StateInfo::state_id |
Ordinal id for this state.
char emp::StateGridInfo::StateInfo::symbol |
Symbol for printing this state.