Changes between Version 73 and Version 74 of Clojure Client Tutorial


Ignore:
Timestamp:
Aug 23, 2011 5:09:51 PM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clojure Client Tutorial

    v73 v74  
    555555=== Rovers ===
    556556
    557 Automated planning, STRIPS domain, ICAPS '02.
     557The rover domain is a slightly altered version of the problem that appeared in the 2002 ICAPS competition.  Currently, the client uses the LPG-td planner to generate a solution and then executes it using java's scheduled thread pool class (through a wrapper call at-at). There is some difficulty in getting the scheduled functions to execute properly (can't use "at" function inside a doseq; consequently have to generate program data and map over it with "eval".  This has makes it impossible to :require the rover namespace in the core namespace as the rover functions cannot be namespace-qualified in core).  Also tried an alternative library "tron" with the same functionality but no luck. 
     558
     559Since the original domain and problem specifications weren't intended to be executed in the real world, some changes have to be made so that they can map onto the quagents environment.  First, the domain assumes that all waypoints are equidistant, and second, it assumes some unreasonable durations for actions.  The current changes are as follows.
    558560
    559561For the Time domains, in the pddl file, replace the :duration value of navigate with
    560562
    561563{{{
    562 :duration (= ?duration (/ (distance ?y ?z) 0.28))
     564:duration (= ?duration (/ (distance ?y ?z) 0.1))
    563565}}}
    564566