The El Farol Bar Problem for next generation systems
The El Farol Bar Problem for next generation systems
The El Farol Bar Problem for next generation systems
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
54 APPENDIX A. C CODE FOR THE EL FAROL BAR PROBLEM<br />
/* Uncomment <strong>for</strong> up/down shuffle */<br />
// if (p_agent[i*M+k]>up) {p_agent[i*M+k]=down;}<br />
// if (p_agent[i*M+k]up)<br />
{p_agent[i*M+k]=(1.0/d)*p_agent[i*M+k];}<br />
if (p_agent[i*M+k]