forked from abdn-cs3033-ai/cs3033-artificial-intelligence-2023-search-and-planning-2023-resit-heuristic-planning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpb1.pddl
31 lines (30 loc) · 744 Bytes
/
pb1.pddl
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
(define (problem pb1)
(:domain tsp)
(:objects Boston NewYork Pittsburgh Toronto Albany - position)
(:init
; Directed graph
(connected Boston NewYork)
(connected NewYork Boston)
(connected Pittsburgh Boston)
(connected Boston Pittsburgh)
(connected Pittsburgh NewYork)
(connected NewYork Pittsburgh)
(connected Toronto Pittsburgh)
(connected Toronto NewYork)
(connected NewYork Toronto)
(connected NewYork Albany)
(connected Albany NewYork)
(connected Albany Toronto)
(connected Toronto Albany)
; Start
(at Pittsburgh)
)
(:goal (and
(at Pittsburgh)
(visited Boston)
(visited NewYork)
(visited Pittsburgh)
(visited Toronto)
(visited Albany)
))
)