Coder Social home page Coder Social logo

hpdl-planner's Introduction

HPDL-Planner

HPDL-Planner (also known as SIADEX) is a Hierarchical Task Network planner supporting partial order compound tasks, temporal and numeric planning. You can read more about the planner here.

The language used by the planner is HPDL, but you can also use the pandaPIparser to transform from HDDL domains and problems.

Installation

On the planner directory, write:

$ cmake .

$ cmake --build .

And an executable called planner will be produced.

Requirements

  • makefile
  • cmake
  • flex
  • bison
  • g++
  • python-dev (a restart will probably be required)
  • libreadline-dev (a restart will probably be required)

Usage

Syntax:

$ ./planner [options] --domain_file (-d) <domain.hpdl> --problem_file (-p) <problem.hpdl>

See:

$ ./planner --help

for more information.

With the script format_output.py you can get a decomposition tree of the resulting plan.

Citation

If you would like to cite this planner in an scientific publication, please refer to this paper:

@inproceedings{fdez2006bringing,
  title={Bringing users and planning technology together. Experiences in SIADEX},
  author={Fdez-Olivares, Juan and Castillo, Luis and Garc{\i}a-P{\'e}rez, Oscar and Palao, Francisco},
  year={2006}
}

hpdl-planner's People

Contributors

gorgueugr avatar ignaciovellido avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hpdl-planner's Issues

This has some errors , please tell how to solve it .

fatal error: 'tr1/unordered_map' file not found
#include <tr1/unordered_map>
^~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/planner.dir/nodes/planner.cpp.o] Error 1
make[1]: *** [CMakeFiles/planner.dir/all] Error 2
make: *** [all] Error 2

it gives error on doing : cmake --build .

yacc/parser.yy:199.9-19: syntax error, unexpected identifier, expecting string
make[2]: *** [src/parser.cpp] Error 1
make[1]: *** [CMakeFiles/planner.dir/all] Error 2
make: *** [all] Error 2

I'm trying to install the SAIDEX planner on the Ubuntu platform and came across an error.

          I'm trying to install the SAIDEX planner on the Ubuntu platform and came across an error.

The source code was taken from https://gitlab.anu.edu.au/u1092535/htn2020-competitor-2/-/tree/master/planner

src/lexer.cpp:4149:20: error: no declaration matches ‘void yyFlexLexer::yypop_buffer_state()’
4149 | return;
| ^~~~
src/lexer.cpp:4149:20: note: no functions named ‘void yyFlexLexer::yypop_buffer_state()’
src/lexer.cpp:23:25: note: ‘class yyFlexLexer’ defined here
23 | #define yyFlexLexer yyFlexLexer
| ^~~~~~~~~~~
src/lexer.cpp:4168:6: error: no declaration matches ‘void yyFlexLexer::yyensure_buffer_stack()’
4168 |
| ^
src/lexer.cpp:4168:6: note: no functions named ‘void yyFlexLexer::yyensure_buffer_stack()’
src/lexer.cpp:23:25: note: ‘class yyFlexLexer’ defined here
23 | #define yyFlexLexer yyFlexLexer
| ^~~~~~~~~~~
gmake[2]: *** [CMakeFiles/planner.dir/build.make:116: CMakeFiles/planner.dir/src/lexer.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/planner.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

image

The total log
saidex cmake error_log.txt

I'm a Data Science student at the University of Sri Jayewardenepura from Sri Lanka (https://www.sjp.ac.lk/).

Originally posted by @pyrdesilva in #5 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.