B.A.R.G.A.M.E. v2.0 El Farol Bar Problem Implementation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Defines
Public Attributes
pass_graph Struct Reference

Structure. More...

List of all members.

## 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.

## Detailed Description

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

## Member Data Documentation

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

bestStratScore The score of the best faring Agent Strategy for the current round

bool pass_graph::deaths

deaths Holds how many people die per round.

int pass_graph::numWinBars

numWinBars The number of bars that won

int pass_graph::numWinners

numWinners The number of Agents that won the current round

The documentation for this struct was generated from the following file:

- Doxygen Specific Source Code/Graph.h