B.A.R.G.A.M.E.  v2.0
El Farol Bar Problem Implementation
 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.

avgStratScore The average score of all Agent strategies

barCompare Holds status of bars (i.e. won/lost)

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

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


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