|
pddl_planner
|
#include <iostream>#include <fstream>#include <stdio.h>#include <map>#include <set>#include <errno.h>#include <cstring>#include <cstdlib>#include <unistd.h>#include <pddl_planner/Planning.hpp>#include <boost/program_options.hpp>#include <boost/tokenizer.hpp>#include <boost/algorithm/string.hpp>Functions | |
| void | usage (int argc, char **argv, const pddl_planner::Planning &planning) |
| std::string | readFile (const std::string &filename) |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| std::string readFile | ( | const std::string & | filename | ) |
| void usage | ( | int | argc, |
| char ** | argv, | ||
| const pddl_planner::Planning & | planning | ||
| ) |
Main test script for the pddl_planner component
usage:
./pddl_planner [-p <planner-name>] [-t <timeout-seconds(float)>] <domain-description-file> <problem-file> OR: – usage:
./pddl_planner [-l <# of planners> <planner-name> <planner-name> ... ] [-t <timeout-seconds(float)>] [-s] <domain-description-file> <problem-file> [-s, –sequential]
Parallel execution of planners is default, but use -s option to run listed planners sequentially, i.e. not using threads.
Rationale for using threads:
1.8.13