Example #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()
Example #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()
Example #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()