def test_two_greedy_human_open_map(self):
    scenario_2_mdp = OvercookedGridworld.from_layout_name('scenario2')
    mlam = MediumLevelActionManager.from_pickle_or_compute(scenario_2_mdp, NO_COUNTERS_PARAMS, force_compute=force_compute)
    a0 = GreedyHumanModel(mlam)
    a1 = GreedyHumanModel(mlam)
    agent_pair = AgentPair(a0, a1)
    start_state = OvercookedState([P((8, 1), s), P((1, 1), s)], {}, all_orders=scenario_2_mdp.start_all_orders)
    env = OvercookedEnv.from_mdp(scenario_2_mdp, start_state_fn=(lambda : start_state), horizon=100)
    (trajectory, time_taken, _, _) = env.run_agents(agent_pair, include_final_state=True, display=DISPLAY)
def test_two_greedy_human_open_map(self):
    scenario_2_mdp = OvercookedGridworld.from_layout_name('scenario2')
    mlam = MediumLevelActionManager.from_pickle_or_compute(scenario_2_mdp, NO_COUNTERS_PARAMS, force_compute=force_compute)
    a0 = GreedyHumanModel(mlam)
    a1 = GreedyHumanModel(mlam)
    agent_pair = AgentPair(a0, a1)
    start_state = OvercookedState([P((8, 1), s), P((1, 1), s)], {}, all_orders=scenario_2_mdp.start_all_orders)
    env = OvercookedEnv.from_mdp(scenario_2_mdp, start_state_fn=(lambda : start_state), horizon=100)
    (trajectory, time_taken, _, _) = env.run_agents(agent_pair, include_final_state=True, display=DISPLAY)