forked from ipc2023-classical/planner4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Apptainer.dalai_agl
72 lines (59 loc) · 2.11 KB
/
Apptainer.dalai_agl
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Stage 1: Compile the planner
Bootstrap: docker
From: ubuntu:22.04
Stage: build
%files
. /planner
%post
## Install all necessary dependencies.
apt-get update
apt-get -y install --no-install-recommends cmake pypy3 make g++
## Clear build directory.
rm -rf /planner/builds
## Build the planner
cd /planner
pypy3 build.py "ipc23_agl" -j4
strip --strip-all builds/ipc23_agl/bin/downward
# Stage 2: Run the planner
Bootstrap: docker
From: ubuntu:22.04
Stage: run
# Copy planner binary and required files from Stage 1.
%files from build
/planner/fast-downward.py
/planner/builds/ipc23_agl/bin/
/planner/driver
%post
## Install only dependencies for running the planner.
apt-get update
apt-get -y install --no-install-recommends pypy3
## Remove unnecessary files to keep the image small.
rm -rf /var/lib/apt/lists/*
# The runscript is called whenever the container is used to solve an instance.
%runscript
DOMAINFILE="$1"
PROBLEMFILE="$2"
PLANFILE="$3"
pypy3 /planner/fast-downward.py \
--build "ipc23_agl" \
--plan-file "$PLANFILE" \
--alias "dalai-agl-2023" \
"$DOMAINFILE" \
"$PROBLEMFILE" \
--translate-options --invariant-generation-max-time 100
## Define meta data
%labels
Name DALAI 2023 Agile
Description Disjunctive Action Landmarks All In -- Path-dependent landmark heuristic search tailored to find solutions fast.
Authors Clemens Büchner <[email protected]>, Remo Christen <[email protected]>, Salomé Eriksson <[email protected]>, Thomas Keller <[email protected]>
License GPL 3
Tracks agile
SupportsDerivedPredicates yes
SupportsUniversallyQuantifiedPreconditions yes
SupportsExistentiallyQuantifiedPreconditions yes
SupportsUniversallyQuantifiedEffects yes
SupportsNegativePreconditions yes
SupportsEqualityPreconditions yes
SupportsInequalityPreconditions yes
SupportsConditionalEffects yes
SupportsImplyPreconditions yes