B.A.R.G.A.M.E.
v2.0
El Farol Bar Problem Implementation
|
Structure. More...
Public Attributes | |
int | numWinBars |
numWinBars The number of bars that won | |
int | numWinners |
numWinners The number of Agents that won the current round | |
double | avgStratScore |
avgStratScore The average score of all Agent strategies | |
double | bestStratScore |
bestStratScore The score of the best faring Agent Strategy for the current round | |
bool | barCompare [256] |
barCompare Holds status of bars (i.e. won/lost) | |
bool | age [100] |
age Holds number of people of age of index. | |
bool | deaths |
deaths Holds how many people die per round. |
Structure.
This is the structure that is used to communicate between the GUI frontend and backend. This structure is repopulated and filled in with current round data everytime a turn has passed in order to update the graph data on the frontend for all graphs
bool pass_graph::age[100] |
age Holds number of people of age of index.
double pass_graph::avgStratScore |
avgStratScore The average score of all Agent strategies
bool pass_graph::barCompare[256] |
barCompare Holds status of bars (i.e. won/lost)
double pass_graph::bestStratScore |
bool pass_graph::deaths |
deaths Holds how many people die per round.
numWinBars The number of bars that won
numWinners The number of Agents that won the current round