forked from davidpujol/IA-Planification
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproblemBb.pddl
More file actions
36 lines (31 loc) · 675 Bytes
/
problemBb.pddl
File metadata and controls
36 lines (31 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(define (problem Bb)
(:domain tasking)
(:objects
p1 p2 p3 p4 p5 - programmer
t1 t2 t3 - task
)
(:init
;;Ability programmer
(= (ability p1) 2)
(= (ability p2) 4)
(= (ability p3) 3)
(= (ability p4) 4)
(= (ability p5) 2)
;;Quality programmer
(= (quality p1) 4)
(= (quality p2) 3)
(= (quality p3) 5)
(= (quality p4) 4)
(= (quality p5) 6)
;;Complexity tasks
(= (complexity t1) 4)
(= (complexity t2) 1)
(= (complexity t3) 3)
;;Duration tasks
(= (duration t1) 1)
(= (duration t2) 4)
(= (duration t3) 3)
)
;; The goal is:
(:goal (forall (?t - task) (taskAssigned ?t)))
)