Coder Social home page Coder Social logo

luisenp / mdp-lib Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 4.0 37.19 MB

A Library of MDP algorithms for Artificial Intelligence

License: MIT License

Makefile 1.05% C++ 87.87% Shell 3.04% Python 2.05% Common Lisp 0.74% Lex 0.26% C 1.68% Yacc 3.31%

mdp-lib's People

Contributors

cbasich avatar luisenp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mdp-lib's Issues

Make ppddl failed

When running make ppddl to generate planserv_red.out, the following error occur:

g++ -o planner actions.o algorithms.o atom_states.o client.o domains.o effects.o exceptions.o expressions.o formulas.o functions.o global.o graph.o hash.o heuristics.o main.o md4c.o parser.o lexer.o planners.o predicates.o problems.o rational.o requirements.o strxml.o terms.o types.o utils.o -lnsl -lsocket -L /usr/lib/happycoders
parser.o: In function yywarning(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .part.13]': parser.cc:(.text+0xd1): undefined reference to current_file'
parser.o: In function yyerror(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': parser.cc:(.text+0x221): undefined reference to current_file'
collect2: error: ld returned 1 exit status
Makefile:23: recipe for target 'planner' failed
make[1]: *** [planner] Error 1
make[1]: Leaving directory '/home/pksm/Desktop/mdp-lib/include/ppddl/mini-gpt'
Makefile:246: recipe for target 'lib/libminigpt.a' failed
make: *** [lib/libminigpt.a] Error 2

Running on Debian, g++ 6.3.0

Efficiency using references instead of copies

So far I haven't been paying attention to efficiency issues related to the use of copies instead of references, for example in the transition function. At some point, it will be very useful to optimize the code to avoid unnecessary copying of objects.

Cleanup the Makefile

The Makefile is a mess of directory variables which are not consistently used by all the different targets. At the very least consistency should be enforced.

Documentation for state and heuristics

To use an heuristic, the state object must have a pointer to the problem, otherwise the heuristic won't be called. This behavior must be explained in the documentation.

Hash functions

The hash functions used for states in the currently implemented domains are not very good. This should be improved.

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.