action_executor_icaps2014.py
Go to the documentation of this file.
00001 #! /usr/bin/env python
00002 
00003 from bwi_planning import ActionExecutor
00004 from .atom_icaps2014 import AtomICAPS2014
00005 
00006 class ActionExecutorICAPS2014(ActionExecutor):
00007 
00008     def __init__(self, dry_run=False, initial_file=None):
00009         super(ActionExecutorICAPS2014, self).__init__(dry_run, initial_file,
00010                                                      AtomICAPS2014)
00011 
00012     def execute_action(self, action, next_state, next_step):
00013 
00014         #TODO Map actions to those expected by executor base class
00015         success, observations = \
00016                 super(ActionExecutorICAPS2014, self).execute_action(action,
00017                                                                     next_state,
00018                                                                     next_step)
00019 
00020         #TODO Map observations to those expected by the planner
00021         return success, observations


bwi_planning_icaps14
Author(s): Piyush Khandelwal , Fangkai Yang
autogenerated on Wed Aug 26 2015 10:55:00