#| ******************************************************************************* PRODIGY Version 2.01 Copyright 1989 by Steven Minton, Craig Knoblock, Dan Kuokka and Jaime Carbonell The PRODIGY System was designed and built by Steven Minton, Craig Knoblock, Dan Kuokka and Jaime Carbonell. Additional contributors include Henrik Nordin, Yolanda Gil, Manuela Veloso, Robert Joseph, Santiago Rementeria, Alicia Perez, Ellen Riloff, Michael Miller, and Dan Kahn. The PRODIGY system is experimental software for research purposes only. This software is made available under the following conditions: 1) PRODIGY will only be used for internal, noncommercial research purposes. 2) The code will not be distributed to other sites without the explicit permission of the designers. PRODIGY is available by request. 3) Any bugs, bug fixes, or extensions will be forwarded to the designers. Send comments or requests to: prodigy@cs.cmu.edu or The PRODIGY PROJECT, School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213. *******************************************************************************|# (setq SCR-NODE-SELECT-RULES nil) (setq SCR-GOAL-SELECT-RULES '((SELECT-FIRST-GOAL (lhs (and (current-node ) (not-top-level-node ) (primary-candidate-goal ))) (rhs (select goal ))) )) (setq SCR-OP-SELECT-RULES '((UNSTACK-FOR-HOLDING1 (lhs (and (current-node ) (current-goal (holding )) (known (on )) (candidate-op UNSTACK))) (rhs (select operator UNSTACK))) (UNSTACK-FOR-CLEAR (lhs (and (current-node ) (current-goal (clear )) (known (~ (holding ))) (candidate-op UNSTACK))) (rhs (select operator UNSTACK))) )) (setq SCR-BINDINGS-SELECT-RULES nil) (setq SCR-NODE-REJECT-RULES nil) (setq SCR-GOAL-REJECT-RULES '((BOTTOM-UP-CONSTRUCTION (lhs (and (current-node ) (is-top-level-node ) (candidate-goal (on )) (candidate-goal (on )))) (rhs (reject goal (on )))) (HOLD-LAST (lhs (and (current-node ) (is-top-level-node ) (candidate-goal (holding )) (candidate-goal ) (candidate-goal ) (not-equal ))) (rhs (reject goal (holding )))) (ON-TABLE-BEFORE-ON (lhs (and (current-node ) (is-top-level-node ) (candidate-goal (on-table )) (candidate-goal (on )))) (rhs (reject goal (on )))) )) (setq SCR-OP-REJECT-RULES nil) (setq SCR-BINDINGS-REJECT-RULES '((UNSTACK-FROM-GUY-ITS-ON (lhs (and (current-node ) (current-goal (holding )) (current-op UNSTACK) (candidate-bindings ( )) (known (~ (on ))))) (rhs (reject bindings ( )))) (UNSTACK-GUY-ON-ME1 (lhs (and (current-node ) (current-goal (clear )) (current-op UNSTACK) (candidate-bindings ( )) (known (~ (on ))))) (rhs (reject bindings ( )))))) (setq SCR-NODE-PREFERENCE-RULES nil) (setq SCR-GOAL-PREFERENCE-RULES '((PREFER-ON-TO-CLEAR1 (lhs (and (current-node ) (candidate-goal (clear )) (candidate-goal (on )))) (priority 1) (rhs (prefer goal (on ) (clear )))) ; This is the correct version of HOLD-LAST, found late. ; (HOLD-LAST ; (lhs (and (current-node ) ; (candidate-goal (holding )) ; (candidate-goal ))) ; (priority 1) ; (rhs (prefer goal (holding )))) (PREFER-CLEAR-TO-ON (lhs (and (current-node ) (candidate-goal (clear )) (candidate-goal (on )) (not-equal ))) (priority 1) (rhs (prefer goal (clear ) (on )))) )) (setq SCR-OP-PREFERENCE-RULES '((PUTDOWN-PREFER (lhs (and (current-node ) (current-goal (arm-empty)) (candidate-op PICK-UP) (candidate-op ))) (priority 1) (rhs (prefer operator PUTDOWN ))))) (setq SCR-BINDINGS-PREFERENCE-RULES nil)