dehnert
27ba61ff74
Fixed minor bugs here and there. Improved gmm++-based model checker.
12 years ago
dehnert
80b53bea18
Added more example files. Removed deletes at end of main() as these pointers are deleted by the DTMC class already. Small refactoring of GraphAnalyzer according to new guidelines. Added vector utility functions to set elements of vectors. Added conversion routine from our sparse matrix format to gmm++ format. Fixed some bugs in sparse matrix class. Added prototypical implementation of GmmxxDtmcPrctlModelChecker.
12 years ago
Lanchid
13a2bd3057
Moved const_templates.h from "misc" to "utility" to be able to remove
the former folder.
Also, changed those templates to use references instead of pointers for
easier code.
Renamer "utility.h" and .cpp to "ioUtility.h/cpp", as utility code
providing functionality not linked with IO has been put into other
files.
12 years ago
Lanchid
b726a07b3f
Small bugfix for the dot output
12 years ago
Lanchid
f5d2205352
- Removed enum to infer the correct formula (sub-)class, instead used
"check" which calls the correct check function in the model checker.
- The dot output was modified to work with the refactored names
- Also, it uses now filestreams instead of C style output
- and the iterators from the matrix class
- Included new (stub) test case for output (and general parsing)
12 years ago
gereon
60dbf5608e
adding test-bench for prctl parser.
12 years ago
gereon
f960e20e53
porting LabParser and TraParser from c-style API to class API
12 years ago
gereon
0e6f699625
some doxygen for settings namespace
12 years ago
dehnert
18b72bc8d7
Added necessary include of unistd.h (for close()) to parser. Removed flag MAP_DENYWRITE of mmap for Mac OS and Linux as it is non-existent and ignored, respectively. Changed call to stat64 to call to stat for MAC OS, as stat64 is deprecated and 64-bit mode is turned on by macro that is no correctly set during OS-Detection.
12 years ago
gereon
c10b08bf9a
adding option --verbose
12 years ago
gereon
5a7176740a
adding generic get() method for settings of arbitrary type
12 years ago
gereon
4147b7a7f6
removing obsolete functions
12 years ago
gereon
8d89375c6e
integrated renaming within master branch into code merged from parser branch
12 years ago
gereon
e632fc1bb6
fixing error & warning...
12 years ago
dehnert
8806dc6592
Performed renaming of static_sparse_matrix.h to SquareSparseMatrix.h, renamed the class accordingly and adapted the tests and includes.
12 years ago
dehnert
876154e6f0
Removed logging output from all classes. Added log4cplus as 3rdparty library. Refactored CMakeLists.txt to always use libraries that are in the repository. Changed executable file to mrmc/mrmc-tests. Added case distinction in gtest to compile with clang.
12 years ago
gereon
a5a045f091
Changed Settings class to be singleton
Changed a lot in the class structure of Settings:
* Settings is now a Singleton. Obtain a new instance by Settings::instance().
* options_description objects are now static, thus a help message can be printed even if the constructor of Settings failes
* As Settings has static members, a .cpp file became necessary, hence cmake should probably be run...
* Help messages can be printed with new help and helpConfigfile routines
12 years ago
gereon
ded2e43deb
making settings more robust
adding new exception that is thrown whenever loading the settings fails.
this exception is caught in mrmc-cpp.cpp. If this happens, the program is terminated.
12 years ago
gereon
353edccadf
using ifdef instead of pragma, moving private to end of class
12 years ago
gereon
1c0dab85a9
settings are ready to be used, put into mrmc-cpp
settings now support positional arguments and proper error handling.
mrmc-cpp already uses the settings
12 years ago
gereon
7f7234f62b
first version of settings module
12 years ago
gereon
48323c005a
added header to make os detection at one point
added ifdefs to implement file mapping for windows
implemented file mapping for windows, but did not compile yet (no windows available...)
12 years ago
gereon
7eaedbfe9b
changing names of parsers
12 years ago
dehnert
188c06d651
Fixed one of the methods in utility.cpp to adapt to the new notations.
12 years ago
dehnert
bd594e2fae
Added backwards transitions class. Small refactorings. Had to comment out some parts in utility.cpp and read_tra_file_test.cpp because they do not compile and seem to not be compliant with the current version in the repository.
12 years ago
Lanchid
8a170d3fa6
Scheisse... hab anscheinend vergessen das zu pushen
Enthalten ist:
- Unit "Utility" zum parsen und ausgeben von DTMCs
- Klasse Formula und Subclasses für PCTL-Formeln
- Interface für den Model Checker
12 years ago