5.2. Markov Brain Supports¶
To fascilitate the development of Markov brains other classes have been developed. New modules should create their own “module” brain that should inherit from ModuleBrain. Many of them will benefit from using the text generators or choosers as well.
- 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