gereon
3b76126f6b
Split PrismParser and PrismGrammar in differenc object files.
Added reset method for grammars, now we can parse multiple files in one program execution.
Added test for mdp parsing.
12 years ago
gereon
63e9ad1f0a
Adding test for prism parser
12 years ago
gereon
7fe4c8c813
fixing signed/unsigned comparisons in ParseMdpTest
12 years ago
Lanchid
d0adf9d1b3
Some more test cases and, resulting from those, minor changes in LTL
parser.
12 years ago
Lanchid
01b1efc12d
Some improvements/corrections to the LTL parser and some test cases for
it
12 years ago
Lanchid
00286b2f01
Added formula classes for CSL
12 years ago
Lanchid
45867c33c1
Prctl works now.
12 years ago
Lanchid
f513e49084
Almost finished restruction of PRCTL formulas; adapted code (including
test cases) to work correctly with the new structure
12 years ago
Lanchid
f996829836
Some minor changes in output of formulas
12 years ago
Lanchid
39ff3240d3
More convenient syntax for time bounded formulas, and respective test
cases.
12 years ago
Lanchid
7e91d5b01e
Test cases for CSL parser
12 years ago
Lanchid
895c2b6aad
Convenient file parser for PRCTL, and correct reward formula parsing
(together with some necessary code for that)
12 years ago
dehnert
d266d9effe
Fixed another bug in sparse matrix. Fixed bug in test.
12 years ago
dehnert
00b4797948
Further refactoring. Other classes are now adapted to the changes in the sparse matrix class.
12 years ago
dehnert
43f11ccc5f
Refactoring of modelchecker folder.
12 years ago
Lanchid
0dcebc8ff0
Start of implementing improved file parser for formulas
12 years ago
dehnert
8870fa5f94
Changed all existing examples to 0-based indexing. Also, fixed the tests for these examples.
12 years ago
dehnert
f1c379bbe3
Moved model checking functionality for MDPs for general superclass such that specialized model checkers only need to implement certain operations. Fixed tests.
12 years ago
dehnert
34b85b956e
Moved model checking of DTMCs to superclass. Now, each DTMC model checker only needs to implement matrix-vector multiplication and linear equation solving to be able to fully model check DTMCs. Added subset/disjoint functionality to bit vector. Changed tests for MDP and DTMC model checking a bit.
12 years ago
dehnert
a6ae3d713a
Fixed test for nondeterministic model parser.
12 years ago
dehnert
abae304719
Included tests for model checkers in test suite.
12 years ago
PBerger
06d78967df
Fixed MDP Parser, removed parsing of STATES/TRANSITIONS, see #10
Refactored the Sparse Adapters, see #17
12 years ago
Lanchid
5b57728d7e
Merge branch master into PrctlParser
12 years ago
dehnert
0f9f5e67f6
A few minor fixes. Removed test for reward model.
12 years ago
dehnert
8c248c05c5
Renamed NonDeterministic to Nondeterministic in all places. Fixed (hopefully) all occurrences of these names. Implemented Prob0A algorithm.
12 years ago
dehnert
7d95a45633
Fixed bug in AbstractModelChecker: it does now correctly inherit from a lot more interface classes. NOTE: checking a formula on a model checker that does not support it failed silently. This should NOT be the case. Re-enabled DEBUG option for cmake. NOTE: why was this disabled anyway? Introduced another layer AbstractDeterministicModel and AbstractNonDeterministicModel in model hierarchy to allow for easily distinguishing these classes. Made necessary adaptions in (hopefully) all classes. Move the graph analyzer to utility folder.
12 years ago
Lanchid
a3837ac76b
Changed WrongFileFormatException to WrongFormatException
Also, start of documentation of PrctlParser and PrctlFileParser
12 years ago
Lanchid
b5fcc7e590
Also, deleted the output.dot file...
12 years ago
Lanchid
96a833d605
Added /test/parser/output.dot to gitignore (output file is automatically
generated by ParseDtmcTest and should not be in the repository)
12 years ago
Lanchid
bfce1a5655
Removed brackets in output of until formulas
12 years ago
gereon
718608622f
added Ctmdp model, changed MdpParser to NonDetModelParser
12 years ago
Lanchid
f6196c7429
Some error messages on "unparsable" formulas
PrctlParser now throws an error in all cases a formula could not be
parsed successfully.
12 years ago
gereon
47cb1aa4d9
renamed BoundOperator to PathBoundOperator (StateBoundOperator is coming soon...)
renamed modelChecker to modelchecker
12 years ago
Lanchid
bb34e94eac
Changed the output function of the formulae to produce a string in the
same format as the input
12 years ago
Lanchid
ab4174183b
Changed PrctlParser to directly parse the input string as formula, and
added PrctlFileParser to parse formulae from a file
12 years ago
Lanchid
e829e613c0
Changed grammar such that brackets are not necessary around each binary
operator, and changed some test cases to check that it works
12 years ago
Lanchid
e2f6b4b265
Extended parseComplexFormulaTest to use nested path formulas
12 years ago
gereon
10e25fbd61
fixed warnings in ParseMdpTest
12 years ago
Lanchid
3833c8af41
Some more test cases for PRCTL formula parsing
12 years ago
dehnert
e52379bb54
Added XCode stuff to .gitignore. Fixed a few tests to compile with clang under -Werror.
12 years ago
Lanchid
b66e1a34db
Some fixes in formulas
Additional test case for reward formulas
12 years ago
Lanchid
02528f2bd9
Test cases for Prctl parser
12 years ago
Lanchid
7e87f35e95
First test case for prctl parser, and some necessary modifications for
the code
12 years ago
PBerger
a598d3751c
The DeterministicSparseTransitionParser.cpp was still broken, rewrote it in a simpler and more convenient way.
All Deterministic Tests complete now.
12 years ago
PBerger
02cb1a2418
Replaced all calls to Matrix->toEigenSparseMatrix with calls to the adapter.
12 years ago
PBerger
9a9cd968d9
Added a test to verify the RowSum Function in the Sparse Matrix.
Added an option to the settings for auto-fixing missing no-selfloop states. Kind of a super-option above fix-nodeadlocks, perhaps some Cleanup later on.
Modified tra Files to comply with formats...
12 years ago
PBerger
4bb76d0268
Added EigenAdapter and a Test for the Adapter.
Fixed a type in EigenDtmcPrctlModelChecker.h
Added missing transitions in one example input file
12 years ago
gereon
f9923bac95
Fixed memory leaks involving Settings class
Settings (being a singleton) will now free it's instance itself upon program termination.
12 years ago
gereon
c2669ccec4
"Creating" DeterministicModelParser
this new parser is actually the old DtmcParser.
It can now also create Ctmc models...
12 years ago
gereon
3a1b0f0433
adding sloppy mode for Settings, load settings in tests
sloppy mode will not check for requirements of arguments.
this is somewhat ugly, as it might not even check for correct type (I'm not sure about that, as we only have strings right now), but it's only the tests-binary anyway...
12 years ago