Go to the documentation of this file.00001
00025 #include <mdm_library/controller_event_mdp.h>
00026
00027
00028
00029 using namespace std;
00030 using namespace mdm_library;
00031
00032 #ifdef HAVE_MADP
00033
00034 ControllerEventMDP::
00035 ControllerEventMDP ( const string& policy_file_path,
00036 const string& problem_file_path,
00037 const CONTROLLER_STATUS initial_status ) :
00038 ControllerMDP ( policy_file_path, problem_file_path, initial_status )
00039 {
00040 }
00041
00042 #endif
00043
00044 ControllerEventMDP::
00045 ControllerEventMDP ( const string& policy_file_path,
00046 const CONTROLLER_STATUS initial_status ) :
00047 ControllerMDP ( policy_file_path, initial_status )
00048 {
00049 }
00050
00051
00052
00053 void
00054 ControllerEventMDP::
00055 stateCallback ( const WorldSymbolConstPtr& msg )
00056 {
00057 act ( msg->world_symbol );
00058 }