Sebastian Junges
8 years ago
commit
0c79aba2c7
184 changed files with 24750 additions and 0 deletions
-
64CMakeLists.txt
-
3lib/.gitignore
-
70lib/stormpy/__init__.py
-
2lib/stormpy/expressions/__init__.py
-
2lib/stormpy/info/__init__.py
-
2lib/stormpy/logic/__init__.py
-
3lib/stormpy/storage/__init__.py
-
36lib/stormpy/storage/action.py
-
34lib/stormpy/storage/state.py
-
32resources/pybind11/.appveyor.yml
-
35resources/pybind11/.gitignore
-
3resources/pybind11/.gitmodules
-
112resources/pybind11/.travis.yml
-
184resources/pybind11/CMakeLists.txt
-
37resources/pybind11/CONTRIBUTING.md
-
36resources/pybind11/LICENSE
-
2resources/pybind11/MANIFEST.in
-
123resources/pybind11/README.md
-
11resources/pybind11/docs/_static/theme_overrides.css
-
81resources/pybind11/docs/advanced/cast/chrono.rst
-
85resources/pybind11/docs/advanced/cast/custom.rst
-
50resources/pybind11/docs/advanced/cast/eigen.rst
-
113resources/pybind11/docs/advanced/cast/functional.rst
-
41resources/pybind11/docs/advanced/cast/index.rst
-
144resources/pybind11/docs/advanced/cast/overview.rst
-
154resources/pybind11/docs/advanced/cast/stl.rst
-
634resources/pybind11/docs/advanced/classes.rst
-
142resources/pybind11/docs/advanced/exceptions.rst
-
311resources/pybind11/docs/advanced/functions.rst
-
229resources/pybind11/docs/advanced/misc.rst
-
13resources/pybind11/docs/advanced/pycpp/index.rst
-
299resources/pybind11/docs/advanced/pycpp/numpy.rst
-
96resources/pybind11/docs/advanced/pycpp/object.rst
-
57resources/pybind11/docs/advanced/pycpp/utilities.rst
-
143resources/pybind11/docs/advanced/smart_ptrs.rst
-
287resources/pybind11/docs/basics.rst
-
90resources/pybind11/docs/benchmark.py
-
99resources/pybind11/docs/benchmark.rst
-
222resources/pybind11/docs/changelog.rst
-
410resources/pybind11/docs/classes.rst
-
53resources/pybind11/docs/compiling.rst
-
308resources/pybind11/docs/conf.py
-
251resources/pybind11/docs/faq.rst
-
45resources/pybind11/docs/index.rst
-
93resources/pybind11/docs/intro.rst
-
20resources/pybind11/docs/limitations.rst
-
BINresources/pybind11/docs/pybind11-logo.png
-
BINresources/pybind11/docs/pybind11_vs_boost_python1.png
-
427resources/pybind11/docs/pybind11_vs_boost_python1.svg
-
BINresources/pybind11/docs/pybind11_vs_boost_python2.png
-
427resources/pybind11/docs/pybind11_vs_boost_python2.svg
-
247resources/pybind11/docs/reference.rst
-
22resources/pybind11/docs/release.rst
-
362resources/pybind11/include/pybind11/attr.h
-
1464resources/pybind11/include/pybind11/cast.h
-
160resources/pybind11/include/pybind11/chrono.h
-
560resources/pybind11/include/pybind11/common.h
-
47resources/pybind11/include/pybind11/complex.h
-
177resources/pybind11/include/pybind11/descr.h
-
239resources/pybind11/include/pybind11/eigen.h
-
105resources/pybind11/include/pybind11/eval.h
-
79resources/pybind11/include/pybind11/functional.h
-
1169resources/pybind11/include/pybind11/numpy.h
-
154resources/pybind11/include/pybind11/operators.h
-
65resources/pybind11/include/pybind11/options.h
-
1735resources/pybind11/include/pybind11/pybind11.h
-
899resources/pybind11/include/pybind11/pytypes.h
-
256resources/pybind11/include/pybind11/stl.h
-
541resources/pybind11/include/pybind11/stl_bind.h
-
53resources/pybind11/include/pybind11/typeid.h
-
11resources/pybind11/pybind11/__init__.py
-
2resources/pybind11/pybind11/_version.py
-
11resources/pybind11/setup.cfg
-
74resources/pybind11/setup.py
-
111resources/pybind11/tests/CMakeLists.txt
-
227resources/pybind11/tests/conftest.py
-
249resources/pybind11/tests/constructor_stats.h
-
175resources/pybind11/tests/object.h
-
45resources/pybind11/tests/pybind11_tests.cpp
-
12resources/pybind11/tests/pybind11_tests.h
-
62resources/pybind11/tests/test_alias_initialization.cpp
-
79resources/pybind11/tests/test_alias_initialization.py
-
117resources/pybind11/tests/test_buffers.cpp
-
57resources/pybind11/tests/test_buffers.py
-
149resources/pybind11/tests/test_callbacks.cpp
-
98resources/pybind11/tests/test_callbacks.py
-
59resources/pybind11/tests/test_chrono.cpp
-
116resources/pybind11/tests/test_chrono.py
-
68resources/pybind11/tests/test_class_args.cpp
-
6resources/pybind11/tests/test_class_args.py
-
55resources/pybind11/tests/test_constants_and_functions.cpp
-
21resources/pybind11/tests/test_constants_and_functions.py
-
41resources/pybind11/tests/test_copy_move_policies.cpp
-
15resources/pybind11/tests/test_copy_move_policies.py
-
53resources/pybind11/tests/test_docstring_options.cpp
-
32resources/pybind11/tests/test_docstring_options.py
-
134resources/pybind11/tests/test_eigen.cpp
-
135resources/pybind11/tests/test_eigen.py
-
68resources/pybind11/tests/test_enum.cpp
-
108resources/pybind11/tests/test_enum.py
@ -0,0 +1,64 @@ |
|||
cmake_minimum_required(VERSION 3.0.0) |
|||
project(pystorm) |
|||
|
|||
|
|||
find_package(storm REQUIRED) |
|||
add_subdirectory(resources/pybind11) |
|||
|
|||
|
|||
file(GLOB_RECURSE STORM_CORE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/core/*.cpp) |
|||
|
|||
pybind11_add_module(stormpy.core ${CMAKE_CURRENT_SOURCE_DIR}/src/mod_core.cpp ${STORM_CORE_SOURCES}) |
|||
target_include_directories(stormpy.core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR}) |
|||
target_link_libraries(stormpy.core PRIVATE storm) |
|||
|
|||
file(GLOB_RECURSE STORM_INFO_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/info/*.cpp) |
|||
|
|||
pybind11_add_module(stormpy.info ${CMAKE_CURRENT_SOURCE_DIR}/src/mod_info.cpp ${STORM_INFO_SOURCES}) |
|||
target_include_directories(stormpy.info PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR}) |
|||
target_link_libraries(stormpy.info PRIVATE storm) |
|||
|
|||
|
|||
file(GLOB_RECURSE STORM_EXPRESSIONS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/expressions/*.cpp) |
|||
|
|||
pybind11_add_module(stormpy.expressions ${CMAKE_CURRENT_SOURCE_DIR}/src/mod_expressions.cpp ${STORM_EXPRESSIONS_SOURCES}) |
|||
target_include_directories(stormpy.expressions PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR}) |
|||
target_link_libraries(stormpy.expressions PRIVATE storm) |
|||
|
|||
|
|||
file(GLOB_RECURSE STORM_LOGIC_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/logic/*.cpp) |
|||
|
|||
pybind11_add_module(stormpy.logic ${CMAKE_CURRENT_SOURCE_DIR}/src/mod_logic.cpp ${STORM_LOGIC_SOURCES}) |
|||
target_include_directories(stormpy.logic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR}) |
|||
target_link_libraries(stormpy.logic PRIVATE storm) |
|||
|
|||
file(GLOB_RECURSE STORM_STORAGE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/storage/*.cpp) |
|||
|
|||
pybind11_add_module(stormpy.storage ${CMAKE_CURRENT_SOURCE_DIR}/src/mod_storage.cpp ${STORM_STORAGE_SOURCES}) |
|||
target_include_directories(stormpy.storage PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${storm_INCLUDE_DIR}) |
|||
target_link_libraries(stormpy.storage PRIVATE storm) |
|||
|
|||
#set(STORMPY_OUTPUT_DIR "${PROJECT_BINARY_DIR}/stormpy") |
|||
#set(STORMPY_SOURCE_DIR "${PROJECT_SOURCE_DIR}/stormpy") |
|||
# |
|||
#if(STORM_HAVE_CLN) |
|||
# set(STORMPY_USE_CLN 1) |
|||
#else() |
|||
# set(STORMPY_USE_CLN 0) |
|||
#endif() |
|||
# |
|||
## Set configuration file |
|||
#get_directory_property(STORMPY_INCLUDE_DIRS_PROP INCLUDE_DIRECTORIES) |
|||
#foreach(arg ${STORMPY_INCLUDE_DIRS_PROP}) |
|||
# set(STORMPY_INCLUDE_DIRS "${STORMPY_INCLUDE_DIRS}${sep}${arg}") |
|||
# set(sep ":") |
|||
#endforeach() |
|||
#set(STORMPY_COMPILE_ARGS ${CMAKE_CXX_FLAGS}) |
|||
#set(STORMPY_LIBRARY_DIRS "${PROJECT_BINARY_DIR}/src/storm") |
|||
#set(STORMPY_RPATH "${PROJECT_BINARY_DIR}/src/storm") |
|||
#configure_file ( |
|||
# "${PROJECT_SOURCE_DIR}/stormpy/setup.cfg.in" |
|||
# "${PROJECT_SOURCE_DIR}/stormpy/setup.cfg" |
|||
#) |
|||
# |
|||
|
@ -0,0 +1,3 @@ |
|||
*.so |
|||
__pycache__/ |
|||
stormpy.egg-info/ |
@ -0,0 +1,70 @@ |
||||||||||||||||||||||||||||
""" |
||||||||||||||||||||||||||||
It looks like you want to know about 'stormpy'. |
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
_.-;:q=._ |
||||||||||||||||||||||||||||
.' j=""^k;:\. |
||||||||||||||||||||||||||||
; .F ";`Y |
||||||||||||||||||||||||||||
,;.J_ ;'j |
||||||||||||||||||||||||||||
,-;"^7F : .F _________________ |
||||||||||||||||||||||||||||
,-'-_<. ;gj. _.,---""'' .' |
||||||||||||||||||||||||||||
; _,._`\. : `T"5, ; |
||||||||||||||||||||||||||||
: `?8w7 `J ,-'" -^q. ` ; |
||||||||||||||||||||||||||||
\;._ _,=' ; n58L Y. .' |
||||||||||||||||||||||||||||
F;"; .' k_ `^' j' ; |
||||||||||||||||||||||||||||
J;:: ; "y:-=' ; |
||||||||||||||||||||||||||||
L;;== |:; jT\ ; |
||||||||||||||||||||||||||||
L;:;J J:L 7:;' _ ; |
||||||||||||||||||||||||||||
I;|:.L |:k J:.' , ' . ; |
||||||||||||||||||||||||||||
|;J:.| ;.I F.: . : |
||||||||||||||||||||||||||||
;J;:L:: |.| |.J , ' ` ; ; |
||||||||||||||||||||||||||||
.' J:`J.`. :.J |. L . ; ; |
||||||||||||||||||||||||||||
; L :k:`._ ,',j J; | ` , ; ; |
||||||||||||||||||||||||||||
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|