forked from moves-rwth/storm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
202 changed files
with
1,998 additions
and
1,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
cmake_minimum_required (VERSION 3.16) | ||
cmake_minimum_required (VERSION 3.22) | ||
|
||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD 20) | ||
|
||
# Set project name | ||
project (storm CXX C) | ||
|
@@ -157,21 +157,25 @@ set(STORM_TEST_RESOURCES_DIR "${PROJECT_SOURCE_DIR}/resources/examples/testfiles | |
# Auto-detect operating system. | ||
set(MACOSX 0) | ||
set(LINUX 0) | ||
set(APPLE_SILICON 0) | ||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||
# Mac OS | ||
set(OPERATING_SYSTEM "Mac OS") | ||
set(MACOSX 1) | ||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES arm64) | ||
set(APPLE_SILICON 1) | ||
endif() | ||
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") | ||
# Linux | ||
# Linux | ||
set(OPERATING_SYSTEM "Linux") | ||
set(LINUX 1) | ||
elseif(WIN32) | ||
# Assuming Windows. | ||
set(OPERATING_SYSTEM "Windows") | ||
# Assuming Windows. | ||
set(OPERATING_SYSTEM "Windows") | ||
else() | ||
message(WARNING "We are unsure about your operating system.") | ||
set(OPERATING_SYSTEM "Linux") | ||
set(LINUX 1) | ||
message(WARNING "We are unsure about your operating system.") | ||
set(OPERATING_SYSTEM "Linux") | ||
set(LINUX 1) | ||
ENDIF() | ||
message(STATUS "Storm - Detected operating system ${OPERATING_SYSTEM}.") | ||
|
||
|
@@ -184,20 +188,12 @@ else() | |
set(SHIPPED_CARL_USE_GINAC OFF) | ||
endif() | ||
|
||
# Detect Apple Silicon and adjust settings | ||
if(APPLE AND ${CMAKE_SYSTEM_PROCESSOR} MATCHES arm64) | ||
message(STATUS "Storm - Detected that target system uses Apple Silicon.") | ||
message(WARNING "Compiling natively on Apple Silicon is experimental. Please report issues to [email protected]. For more information visit https://www.stormchecker.org/documentation/obtain-storm/apple-silicon.html") | ||
set(APPLE_SILICON 1) | ||
if(STORM_USE_CLN_EA OR STORM_USE_CLN_RF) | ||
message(WARNING "CLN and GiNaC are currently not supported on Apple Silicon-based architectures. Disabling Storm and carl usage of the libraries.") | ||
set(STORM_USE_CLN_EA OFF) | ||
set(STORM_USE_CLN_RF OFF) | ||
endif() | ||
set(SHIPPED_CARL_USE_CLN_NUMBERS OFF) | ||
set(SHIPPED_CARL_USE_GINAC OFF) | ||
# Warning for Apple Silicon | ||
if(APPLE_SILICON) | ||
message(WARNING "Compiling natively on Apple Silicon is experimental. Please report any issues to [email protected].") | ||
endif() | ||
|
||
|
||
set(DYNAMIC_EXT ".so") | ||
set(STATIC_EXT ".a") | ||
set(LIB_PREFIX "lib") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ctmc | ||
|
||
module main | ||
x : [0..1] init 0; | ||
[] x=0 -> 6 : (x'=1); | ||
endmodule | ||
|
||
rewards | ||
x=0: 1; | ||
endrewards | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
toplevel "A"; | ||
"A" or "M" "N"; | ||
"M" and "M1" "M2" "M3" "M4"; | ||
"N" and "N1" "N2" "N3" "N4"; | ||
"M1" lambda=0.5 dorm=0; | ||
"M2" lambda=0.5 dorm=0; | ||
"M3" lambda=0.5 dorm=0; | ||
"M4" lambda=1 dorm=0; | ||
"N1" lambda=0.5 dorm=0; | ||
"N2" lambda=0.5 dorm=0; | ||
"N3" lambda=1 dorm=0; | ||
"N4" lambda=1 dorm=0; | ||
|
Oops, something went wrong.