Esempio n. 1
0
def run_agent(layout: str):
    agent = GeneticAgent(layout)
    agent.load_net()
    controller = Controller(layout_name=layout,
                            act_sound=True,
                            act_state=False,
                            ai_agent=agent)
    controller.load_menu()
Esempio n. 2
0
def run_agent(layout: str):
    agent = LinQAgent(layout=layout, version='1')
    agent.load_approximator()
    controller = Controller(layout_name=layout,
                            act_sound=True,
                            act_state=False,
                            ai_agent=agent)
    controller.load_menu()
Esempio n. 3
0
def run_agent(layout: str):
    agent = QAgent(layout=layout, version='1')
    agent.load_q_table()
    controller = Controller(layout_name=layout, act_sound=True, act_state=False, ai_agent=agent)
    controller.load_menu()