B.A.R.G.A.M.E.  v2.0
El Farol Bar Problem Implementation
 All Classes Namespaces Files Functions Variables Typedefs Defines
Doxygen Specific Source Code/Bar.h
Go to the documentation of this file.
00001 #ifndef BAR_H
00002 #define BAR_H
00003 
00004 #include <iostream>
00005 using namespace std;
00006 
00008 
00018 class Bar {
00019         public:
00020         
00022 
00025                 Bar();
00026                 
00028 
00035                 Bar(int cap);
00036                 
00038 
00043                 int getBarCapacity();
00044                 
00046 
00054                 double wonThisTurn(int peeps);
00055 
00056         private:
00057         
00062                 int maxcapacity;
00063 };
00064 
00065 #endif