src.dcss.main_external_demo_fastdownward

Module Contents

Classes

FastdownwardAgent

Attributes

my_config

class src.dcss.main_external_demo_fastdownward.FastdownwardAgent

Bases: dcss.agent.base.BaseAgent

pddl_domain_file = ''
get_action(gamestate: dcss.state.game.GameState)
get_random_nonvisited_nonwall_playerat_goal()
get_plan_from_fast_downward(goals)
write_data_to_file()
get_blue_tile_goal(i)
get_random_simple_action()
requesting_start_new_game()

This function enables the agent class to decide to start a new game. By default this is false, and subclasses of BaseAgent should implement this function to return True whenever a new game should begin. This function is especially helpful when you have some arbitrary criteria for which you want an agent to stop.

src.dcss.main_external_demo_fastdownward.my_config