How can I solve NP complete problems in erlang?

Posted by Yadira Suazo on Stack Overflow See other posts from Stack Overflow or by Yadira Suazo
Published on 2010-04-26T17:32:18Z Indexed on 2010/04/26 17:33 UTC
Read the original article Hit count: 236

Filed under:
|

Hi, I already have my operators for, by example, eat banana problem

[#op{ action = [climb, on, {object}], preconds = [[at, {place}, {object}], [at, {place}, me], [on, floor, me], [on, floor, {object}], [large, {object}]], add_list = [[on, {object}, me]], del_list = [[on, floor, me]] },

But how can I use it in the function solve(Problem, depth_first, []). And depth_first (Problem, Start) -> search_tree(Problem, container.stack, Start).

© Stack Overflow or respective owner

Related posts about erlang

Related posts about np-complete