Lanchid
afb0373358
Added DtmcParser class that parses a whole DTMC, making use of the
labeling and transitions parser.
Removed the parseDtmc function from IoUtility, as it became obsolete
with the DtmcParser class, fitted test cases accordingly.
12 years ago
Lanchid
383f34e745
Function renaming
12 years ago
Lanchid
daa5cf297a
Changed type of parameter filename to std::string const & (was const
char*)
12 years ago
Lanchid
64784d4e92
Renamed LabParser to AtomicPropositionLabelingParser
12 years ago
Lanchid
3c741fae4a
Changed filename parameter for DeterministicSparseTransitionParser to a
const reference to an std::string, instead of char pointer
12 years ago
Lanchid
2da19207de
Removed check for valid probablilities, as we want to use the
DeterministicSparseTransitionParser for CTMCs (which have edges that are
not labeled with probabilities, but with weights) later on
12 years ago
Lanchid
b0b8c98f6b
Renamed TraParser to DeterministicSparseTransitionParser
12 years ago
PBerger
01ea2c8427
Moved os specific includes into OsDetection.h
12 years ago
PBerger
9e5b69b211
Further naming scheme enforcement.
12 years ago
PBerger
08f87d545c
Some more refactoring, renaming, adding #ifndef guards...
Fixed a warning in SquareSparseMatrix.h regarding a conversion from uint64 to uint
12 years ago
gereon
64bf554cad
some more reformatting
12 years ago
PBerger
cce8391e44
Refactored everything to match naming scheme.
12 years ago
gereon
25ee8f906a
added a few words about the current state of the PRCTLParser
12 years ago
PBerger
1f36724cc2
Refactored StringOutput to use std::to_string
Fixed Reference/Pointer bugs in all formulas.
Implemented EigenDtmcPrctlModelChecker
Replaced uses of int32 with 64bits
12 years ago
PBerger
851e3a631d
Fixed CMakeLists.txt, made everything compile under Windows/MSVC
Added popcnt for MSVC
Fixed line ending detection in parser
12 years ago
gereon
4095e87282
changing pointer to std::shared_ptr
parsers return some kind of object and it is not clear who owns this object,
i.e. who is responsible to delete it.
12 years ago
gereon
c436586303
fixing error if lab file contains no trailing newline
12 years ago
gereon
07ac945794
some more documentation
also call delete for objects created in parsers
as you can see, this is kind of ugly, maybe we should use a different structure there...
12 years ago
gereon
71c824b91a
hunting for memory erros
adding make targets to call mrmc and mrmc-tests with valgrind
fixing some memory errors in SSM, SSMTest, BitVector
adding an additional check to readLabFile
12 years ago
gereon
57f7adee55
added <double> to occurences of PCTLFormula
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
dd03c85fea
porting PRCTLParser to class API
12 years ago
gereon
f960e20e53
porting LabParser and TraParser from c-style API to class API
12 years ago
gereon
f311f043bc
some documentation for parser namespace
12 years ago
dehnert
b76f392df1
Added newlines to end of files, because clang++ complains about that. Added case distinction of struct definition in parser.h for Mac OS to work correctly with parser.cpp.
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
f2006d4889
fixing doxygen
12 years ago
gereon
19b55ef9a0
fixed handling of invalid floats in Tra parser and converted tra files still containing floats with comma
Sorry for large commit, but crowds-file has to be converted at some point...
12 years ago
gereon
3782122ac6
adding log output with LOG4CPLUS macros
12 years ago
gereon
5ce8355d2b
removing pantheios (new logger will be added soon) and fixed a warning
12 years ago
gereon
8d89375c6e
integrated renaming within master branch into code merged from parser branch
12 years ago
gereon
7e9ba03ec6
added boost header for uint_fastX types
12 years ago
gereon
9156fa6d61
moving implementation of MappedFile and helper functions to .cpp
12 years ago
gereon
bb1dae23fc
Lab and Tra parser pass test cases
Some more fixing, error handling and restructuring.
Both parsers now pass all test cases.
12 years ago
gereon
82b502970e
patched tra parser, test cases work now
12 years ago
gereon
93d568bd82
working on prctl parser
12 years ago
PBerger
4f7cbd450a
Fixed bugs in the Windows Part of the parser, refactored includes to meet Windows Requirements.
Deleted a #warning
12 years ago
gereon
925a9bd8c0
changing pragma to ifdef, starting implementation of PRCTLParser
12 years ago
gereon
2eb08a603a
made stuff compile with new CMakeLists
started a parser built with boost::spirit.
It compiles, but does not do anything useful yet...
12 years ago
dehnert
378fe3f532
Renamed and refactored atomic propositions labeling.
12 years ago
dehnert
8911b0b71a
Fixed wrong namespace for bit vector and square sparse matrix classes.
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
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
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
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