#include "msgs_utils.h"
#include "RemoteReasoner.h"
#include "StaticFacts.h"
#include "learning/QLearningActionSelector.h"
#include "learning/TimeReward.h"
#include "learning/DefaultTimes.h"
#include "bwi_kr_execution/ExecutePlanAction.h"
#include "actasp/action_utils.h"
#include "actasp/executors/MultiPolicyExecutor.h"
#include "actions/ActionFactory.h"
#include "actions/LogicalNavigation.h"
#include <actionlib/server/simple_action_server.h>
#include <ros/ros.h>
#include <ros/package.h>
#include <ros/console.h>
#include <boost/filesystem.hpp>
#include <string>
#include <fstream>
Go to the source code of this file.
Classes | |
struct | Observer |
struct | PrintFluent |
Typedefs | |
typedef actionlib::SimpleActionServer < bwi_kr_execution::ExecutePlanAction > | Server |
Functions | |
void | executePlan (const bwi_kr_execution::ExecutePlanGoalConstPtr &plan, Server *as) |
int | main (int argc, char **argv) |
const std::string | queryDirectory ("/tmp/bwi_action_execution/") |
std::string | rulesToFileName (const vector< AspRule > &rules) |
Variables | |
ActionExecutor * | executor |
const int | MAX_N = 20 |
QLearningActionSelector * | selector |
std::string | valueDirectory |
typedef actionlib::SimpleActionServer<bwi_kr_execution::ExecutePlanAction> Server |
Definition at line 39 of file learning_executor.cpp.
void executePlan | ( | const bwi_kr_execution::ExecutePlanGoalConstPtr & | plan, |
Server * | as | ||
) |
Definition at line 107 of file learning_executor.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 168 of file learning_executor.cpp.
const std::string queryDirectory | ( | "/tmp/bwi_action_execution/" | ) |
std::string rulesToFileName | ( | const vector< AspRule > & | rules | ) |
Definition at line 69 of file learning_executor.cpp.
Definition at line 42 of file learning_executor.cpp.
const int MAX_N = 20 |
Definition at line 30 of file learning_executor.cpp.
Definition at line 43 of file learning_executor.cpp.
std::string valueDirectory |
Definition at line 32 of file learning_executor.cpp.