5. “Brains” to control the fingers and eyes¶
These are the modules which actually drive the applications/other objects defined earlier. Of course, any new brains can be created and need not fit into this structure, but the “control” structure of the ConsoleUser expects that the Brain type will be specified in a config file which can then be used to load the user, for example.
Contents:
Brain
get_brain()
- 5.1. Markov Chains Brain
MarkovBrain
- 5.2. Markov Brain Supports
- 5.2.1. ModuleBrain
ModuleBrain
ModuleBrain.Print()
ModuleBrain.exit()
ModuleBrain.get_actions()
ModuleBrain.get_mod_name()
ModuleBrain.get_user_apps()
ModuleBrain.handle_negotiation()
ModuleBrain.is_failed()
ModuleBrain.is_ready()
ModuleBrain.is_user_app()
ModuleBrain.load_preaction_checks()
ModuleBrain.open()
ModuleBrain.preaction_check()
ModuleBrain.reset_ready_state()
ModuleBrain.restart()
ModuleBrain.should_use_iodine()
ModuleBrain.start_iodine()
ModuleBrain.stop_iodine()
- 5.2.2. ChooserBase
ChooserBase
test()
- 5.2.3. CDFChooser
CDFChooser
test()
- 5.2.4. MarkovChooser
MarkovChooser
MarkovChooser.get_all_choices()
MarkovChooser.get_keys()
MarkovChooser.get_values()
MarkovChooser.is_state()
MarkovChooser.load_from_db()
MarkovChooser.load_from_file()
MarkovChooser.load_string()
MarkovChooser.next_choice()
MarkovChooser.num_choices()
MarkovChooser.reset()
MarkovChooser.set_state()
test()
- 5.2.5. Distribution
new_distribution()
- 5.2.6. GenerateText
GenerateText