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/Strategy.h
Go to the documentation of this file.
00001 #ifndef STRATEGY_H
00002 #define STRATEGY_H
00003 
00005 
00010 class Strategy{
00011 public:
00012 
00017         Strategy();
00018         
00023         ~Strategy();
00024 
00031         Strategy(int numbars);
00032         
00040         Strategy(Strategy *s);
00041         
00047         double getScore();
00048                 
00056         int getBar(long sti);
00064         double updateScore(int i);
00065                 
00071         int getStrat(int shortterm);
00072         
00080         int hash(int shortterm);
00081         
00082         
00087         int st[2048];
00088         
00094         double score;
00095 
00096 };
00097 
00098 #endif