5.3 Example 2 - Communication, Learning and the El Farol Bar Problem
The two parts of each model are expressions from a two-typed language specified (by the programmer) at the start*1. A simple but real example is shown in figure 12 below. Translated this example means: that it will say that it will go to the El Farol Bar if the trend predicted over observed number going over the last two weeks is greater than 5/3 (the total population was 5 in this example); but it will only actually go if it said it would go or if barGoer-3 said it will go.
Figure 12: A simple example model
The agent gains utility by going to the El Farol Bar when it is not too crowded. Thus each agent is competitively developing its models of what the other agents are going to do.
Modelling Bounded Rationality In Agent-Based Simulations using the Evolution of Mental Models - 17 MAR 98
[Next] [Previous] [Up] [Top] [Contents]
Generated with CERN WebMaker