original_docstring:  Creates an MDP object based on user input 
docstring: Creates an MDP object based on user input
docstring_tokens: Creates an MDP object based on user input
code: def generate_MDP(width, height, init_loc, goal_locs, lava_locs, gamma, walls,
                   slip_prob):
      """ Creates an MDP object based on user input """
      actual_args = {
          "width": width,
          "height": height,
          "init_loc": init_loc,
          "goal_locs": goal_locs,
          "lava_locs": lava_locs,
          "gamma": gamma,
          "walls": walls,
          "slip_prob": slip_prob,
          "lava_cost": 1.0,
          "step_cost": 0.1
      }
      return GridWorldMDP(**actual_args)
code_tokens: def generate_MDP ( width , height , init_loc , goal_locs , lava_locs , gamma , walls , slip_prob ) : actual_args = { "width" : width , "height" : height , "init_loc" : init_loc , "goal_locs" : goal_locs , "lava_locs" : lava_locs , "gamma" : gamma , "walls" : walls , "slip_prob" : slip_prob , "lava_cost" : 1.0 , "step_cost" : 0.1 } return GridWorldMDP ( ** actual_args )
short_docstring: Creates an MDP object based on user input
short_docstring_tokens: Creates an MDP object based on user input
comment: """ Creates an MDP object based on user input """