examples.el_farol_bar_model.spaces package

Submodules

examples.el_farol_bar_model.spaces.game module

El Farol Bar space implementation

class examples.el_farol_bar_model.spaces.game.EFBGame(model, name, actions_set_file, action_class)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

Abstract Market

STRATEGY = ['GOING', 'NOT GOING']
calculate_perc_frequency()[source]

Space calculates the frequency of the agents

collect_strategies()[source]

The Space Get the agents decisions

notify_frequency()[source]

The space notify the agents about the frequency

play()[source]

here the players play the game

show_frequency()[source]

Show the frequency in the el farol bar

step()[source]

The the step from schedule

update()[source]

Implemented by subclass - Testing update

Module contents

class examples.el_farol_bar_model.spaces.EFBGame(model, name, actions_set_file, action_class)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

Abstract Market

STRATEGY = ['GOING', 'NOT GOING']
calculate_perc_frequency()[source]

Space calculates the frequency of the agents

collect_strategies()[source]

The Space Get the agents decisions

notify_frequency()[source]

The space notify the agents about the frequency

play()[source]

here the players play the game

show_frequency()[source]

Show the frequency in the el farol bar

step()[source]

The the step from schedule

update()[source]

Implemented by subclass - Testing update