<jupyter_start><jupyter_text>Create players<jupyter_code>from pygamoo.players import ClonalSelection

HOST = "rabbitmq host"
PORT = 5672

# RE34 problem
bounds = list(zip([1.0, 1.0, 1.0, 1.0, 1.0], [3.0, 3.0, 3.0, 3.0, 3.0]))
player_parm = { "nclone": 15, "mutate_args": [0.45, 0.9, 0.1]}

players = [ClonalSelection(0, 'q_f1', None, 'pls_exchange', 20, 5, bounds, HOST, PORT, player_parm),
           ClonalSelection(1, 'q_f2', None, 'pls_exchange', 20, 5, bounds, HOST, PORT, player_parm),
           ClonalSelection(2, 'q_f3', None, 'pls_exchange', 20, 5, bounds, HOST, PORT, player_parm)]<jupyter_output><empty_output><jupyter_text>Run servers<jupyter_code>for player in players:
    player.run()
for player in players:
    print(player.is_alive())<jupyter_output><empty_output><jupyter_text>Close servers<jupyter_code>for player in players:
    player.close()
for player in players:
    print(player.is_alive())<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1553911205073996, 'fraction_numerical': 0.052854122621564484, 'mean_word_length': 5.442176870748299, 'pattern_counts': {'":': 2, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '419248', 'license': 'Apache-2.0', 'n_tokens_mistral': 412, 'n_tokens_neox': 381, 'n_words': 81, 'path': 'notebooks/Example_players.ipynb', 'repo_name': 'amarszalek/pyGAMOO', 'size': '946'}