Skip to content

Commit 5478d15

Browse files
committed
Merge branch 'prism'
2 parents 15e2501 + 619a99d commit 5478d15

12 files changed

Lines changed: 55 additions & 22 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-importmodel trafileinit.tra,lab -exportmodel trafileinit.tra,lab
2+
-importmodel trafileinit.tra,lab -exportmodel trafileinit.tra,lab -ex
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
0="init" 1="deadlock" 2="p2win" 3="done" 4="p1win"
2+
0: 2 3
3+
1: 0
4+
3: 3 4
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
4 6 9
2+
0 0 0 1 p
3+
1 0 2 1 a21
4+
1 1 2 1 a22
5+
2 0 1 0.5 a11
6+
2 0 2 0.5 a11
7+
2 1 0 0.3 a12
8+
2 1 2 0.3 a12
9+
2 1 3 0.4 a12
10+
3 0 3 1 p

prism/etc/jars/build.gradle

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ configurations {
1818
testRunner
1919
}
2020

21+
configurations.all {
22+
// Detect conflicts in JAR dependencies
23+
resolutionStrategy {
24+
failOnVersionConflict()
25+
// Resolve JAR issue (JAS 2.7.200 may pull in too new log4j)
26+
force 'org.apache.logging.log4j:log4j-api:2.24.0'
27+
force 'org.apache.logging.log4j:log4j-core:2.24.0'
28+
}
29+
}
30+
2131
// Libraries not on Maven Central
2232
// Get from prismmodelchecker.org and cache in local-libs
2333

@@ -52,24 +62,32 @@ tasks.register('downloadPrismJars') {
5262

5363
dependencies {
5464

65+
// Colt (random number generation for simulator)
5566
implementation 'colt:colt:1.2.0'
56-
implementation("de.uni-mannheim.rz.krum:jas:2.7.90")
57-
implementation 'org.jfree:jfreechart:1.0.14'
58-
implementation 'org.jfree:jcommon:1.0.17'
59-
//implementation("com.martiansoftware:nailgun-server:0.9.1")
60-
implementation 'it.unimi.dsi:fastutil:8.5.15'
67+
// JAS: Java Algebra System (parametric engine)
68+
implementation("de.uni-mannheim.rz.krum:jas:2.7.200")
69+
// GSON (JSON reading/writing for UMB)
70+
implementation 'com.google.code.gson:gson:2.11.0'
71+
// Compression libraries (for import/export, e.g., UMB)
6172
implementation 'org.apache.commons:commons-compress:1.24.0'
6273
implementation 'org.apache.commons:commons-math3:3.3'
6374
implementation 'org.tukaani:xz:1.10'
64-
implementation 'com.google.code.gson:gson:2.11.0'
65-
implementation 'org.apache.logging.log4j:log4j-api:2.17.1'
66-
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
75+
// fastutil (fast data structures, e.g., UMB import/export)
76+
implementation 'it.unimi.dsi:fastutil:8.5.15'
77+
// JFreeChart (graph plotting in GUI)
78+
implementation 'org.jfree:jfreechart:1.0.14'
79+
80+
// Log4j (needed by JAS, possibly others)
81+
implementation 'org.apache.logging.log4j:log4j-api:2.24.0'
82+
implementation 'org.apache.logging.log4j:log4j-core:2.24.0'
83+
84+
//implementation("com.martiansoftware:nailgun-server:0.9.1")
6785

6886
// JUnit: for simplicity, don't put in separate test group for now
6987
implementation 'org.junit.platform:junit-platform-console-standalone:1.7.2'
7088
//testRunner 'org.junit.platform:junit-platform-console-standalone:1.9.3'
7189

72-
// Grab anything we can't find online from our local stash
90+
// Grab anything we can't find online from our local stash
7391
implementation fileTree(dir: 'local-libs', include: ['*.jar'])
7492
}
7593

prism/lib/README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ This folder contains the following libraries:
33
```
44
+--- colt:colt:1.2.0
55
| \--- concurrent:concurrent:1.3.4
6-
+--- de.uni-mannheim.rz.krum:jas:2.7.90
7-
| \--- org.apache.logging.log4j:log4j-api:2.13.2 -> 2.17.1
6+
+--- de.uni-mannheim.rz.krum:jas:2.7.200
7+
| \--- org.apache.logging.log4j:log4j-api:[2.17.1,) -> 2.24.0
8+
+--- com.google.code.gson:gson:2.11.0
9+
| \--- com.google.errorprone:error_prone_annotations:2.27.0
10+
+--- org.apache.commons:commons-compress:1.24.0
11+
+--- org.apache.commons:commons-math3:3.3
12+
+--- org.tukaani:xz:1.10
13+
+--- it.unimi.dsi:fastutil:8.5.15
814
+--- org.jfree:jfreechart:1.0.14
915
| +--- org.jfree:jcommon:1.0.17
1016
| +--- xml-apis:xml-apis:1.3.04
1117
| \--- com.lowagie:itext:2.1.5
1218
| +--- bouncycastle:bcmail-jdk14:138
1319
| \--- bouncycastle:bcprov-jdk14:138
14-
+--- org.jfree:jcommon:1.0.17
15-
+--- it.unimi.dsi:fastutil:8.5.15
16-
+--- org.apache.commons:commons-compress:1.24.0
17-
+--- org.apache.commons:commons-math3:3.3
18-
+--- org.tukaani:xz:1.10
19-
+--- com.google.code.gson:gson:2.11.0
20-
| \--- com.google.errorprone:error_prone_annotations:2.27.0
21-
+--- org.apache.logging.log4j:log4j-api:2.17.1
22-
+--- org.apache.logging.log4j:log4j-core:2.17.1
23-
| \--- org.apache.logging.log4j:log4j-api:2.17.1
20+
+--- org.apache.logging.log4j:log4j-api:2.24.0
21+
+--- org.apache.logging.log4j:log4j-core:2.24.0
22+
| \--- org.apache.logging.log4j:log4j-api:2.24.0
2423
\--- org.junit.platform:junit-platform-console-standalone:1.7.2
2524
```
2625

prism/lib/jas-2.7.200.jar

2.61 MB
Binary file not shown.

prism/lib/jas-2.7.90.jar

-2.49 MB
Binary file not shown.

prism/lib/log4j-api-2.17.1.jar

-295 KB
Binary file not shown.

prism/lib/log4j-api-2.24.0.jar

338 KB
Binary file not shown.

prism/lib/log4j-core-2.17.1.jar

-1.71 MB
Binary file not shown.

0 commit comments

Comments
 (0)