예제 #1
0
def main():
    """c
    """
    mapfile = "data_gridworld/1_map"
    agent = Agent(mapfile)
    agent.value_iteration_method()
    agent.print_mdp_solution()
    if not sys.stdout.isatty():
        agent.print_utility_by_iteration()
예제 #2
0
def main():
    """c
    """
    mapfile = "data_gridworld/1_map"
    agent = Agent(mapfile)
    agent.td_q_learning_method()
    agent.print_mdp_solution()
    if not sys.stdout.isatty():
        agent.print_RMSE_csv()