dehnert
171a9fa161
Started refactoring bit vector class.
12 years ago
dehnert
2d80eb39b3
Changed logging format and minor formatting fix.
12 years ago
gereon
0e90636d4b
print help when loading settings fails.
12 years ago
dehnert
32fc15db46
Fixed some unix-specific issues.
12 years ago
dehnert
cfe9f86ccd
Added logging with log4cplus to sparse matrix class.
12 years ago
dehnert
e748c35268
Added logging for both main files.
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
dehnert
5a8c2a8d0e
Added iterator functionality to bit vector. Minor cosmetics here and there.
12 years ago
dehnert
ee081fd570
Fixed a lot of memory access violations, memory leaks, warnings. Enabled -Werror for gcc, as there are currently no warnings.
12 years ago
gereon
bb071d829a
fixed a simple warning...
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
gereon
ad0c802fcc
minor cleanups, added documentation.
12 years ago
gereon
ea8504a84e
some fixes to new parser, calculate maximum node number manually
12 years ago
gereon
408290d72b
moved file mapping logic to parser.h
12 years ago
gereon
2cf8f3baec
more work on refactoring / rewriting parsers
12 years ago
dehnert
3560d10481
Added comment for destructor.
12 years ago
dehnert
d5919f2fdf
Removed unnecessary lines.
12 years ago
dehnert
eeddadc096
The columns of non-zero elements of a single row in a sparse matrix can now be iterated using an iterator. These iterator functionality is now used by the computation of the backwards transitions.
12 years ago
dehnert
ed84bfbce7
Adapted sparse matrix class to camel case notation.
12 years ago
dehnert
3c5dbb8483
Changed all indexing to 0-bound. From now on, the available states always start with 0 and end with the state with the highest index used.
Adapted the test cases.
Added comments in the sparse matrix class.
12 years ago
dehnert
12e6a945df
Included new (smaller) test model. Bugfixes and improvements to BackwardTransitions class. Removed performance test code from main() function in favor for creating a simple DTMC from the input parameters.
12 years ago
gereon
e35b950eea
fixing locale issue
12 years ago
gereon
25e5095a7c
now, the parser even works :-)
12 years ago
gereon
6caf95f62e
first version of new parser
12 years ago
dehnert
46e010075a
Fixed include in main file.
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
PBerger
cf4cb5dd8c
Added reward_model with test
12 years ago
dehnert
107ea1e498
Fixed minor typo in comment.
12 years ago
dehnert
b7618fd91a
Refactoring of labeling classes.
12 years ago
dehnert
44fbef62bd
Added capability to compute model size in bytes and corresponding functions in several classes. Added model info output to DTMC class. Added atomic proposition information output to atomic propositions labeling class.
12 years ago
dehnert
0ec2369459
Added support for 1-based indices for atomic proposition labeling. Fixed some whitespace typos.
12 years ago
dehnert
c33dfac505
Renamed classes for atomic proposition labeling storage.
Added some methods to DTMC class stub.
12 years ago
dehnert
88101ef238
Fixed comment typo.
12 years ago
dehnert
b7eaeab11f
Renamed dtmc folder to models, corrected namespace in contained classes and fixed includes in affected files.
Added DTMC class stub.
12 years ago
PBerger
f5dce8d33a
Added a test for reported bug by CDehnert: Sparse Matrix to Eigen conversion loses the diagonal entries
Fixed static_sparse_matrix.h
12 years ago
PBerger
840b818c61
Fixed a typo in labeling.h
12 years ago
Thomas Heinemann
f3a600550a
(not much)
12 years ago
Thomas Heinemann
b63d168192
1) Excluded the constant templates from the SparseMatrix class, as gcc forbids
explicit specializations of function templates inside classes.
2) Added a parameter to these templates which allows the inference of the type
of the template parameter (gcc seems to need this)
3) Added DOT file output to the SparseMatrix.
12 years ago
PBerger
6d384967fc
Added BitVector, a simple boolean array
Edited AtomicProposition to make use of BitVector
Edited mrmc-cpp.cpp, now comes with speed tests for some tasks
Edited static_sparse_matrix.h, added a copy constructor, added template conversion functions, applied template parameters to all relevant functions/variables
Removed eigen_sparse_additions.h from internal files
12 years ago
PBerger
a4f5794419
Added conversion routines from/to Eigen Sparse Matrix Format
Added tests for aforementioned conversion routines.
Changed call parameters for sparse/static_sparse_matrix.h
Minor ICL 13.x changes.
12 years ago
PBerger
1643901c5a
Big bunch of fixes, including memory leaks, bad code pathes, insufficent error reporting, uninitialized variables, etc, etc.
Edited sparse/static_sparse_matrix.h, added an internal state enum to represent errors and the like.
12 years ago
PBerger
c10a0ee734
Fixed two typos in src/sparse/static_sparse_matrix.h
12 years ago