gereon
840a9b6e07
Somewhat works now. Still has at least one bug and segfaults afterwards :-)
13 years ago
gereon
e55fca3836
Implemented module renaming.
This includes clone() routines (that accept the renaming information) for all ir::expressions classes, additional constructors for all ir classes and additional rules in PrismParser.
This is the first version that has the chance to work and actually compiles. (Insert some swearing here...)
Testing is to be done, as this will most probably not work yet.
13 years ago
gereon
6c19ddb877
Cosmetics: Trailing whitespaces, space indentation, ...
13 years ago
Lanchid
0dcebc8ff0
Start of implementing improved file parser for formulas
13 years ago
dehnert
102f38322d
Fixed several bugs in several modules (bit vector, parser, etc.). Topological value iteration now works for the consensus protocol and the two dice example.
13 years ago
gereon
341dc50ab7
Added some better error output for basic parsers using errno
13 years ago
gereon
8dce5af515
fixed some warnings (comparison between signed/unsigned)
13 years ago
gereon
752dda4252
fixing error with difference operator in freeIdentifier
13 years ago
dehnert
c7f58ed5f5
Modified parsers such that the reward matrices are of the same size as the transition matrices.
13 years ago
gereon
ba49792d29
Perform two runs in PrismParser.
First run collects all variables, second run uses the declared variables.
13 years ago
PBerger
06d78967df
Fixed MDP Parser, removed parsing of STATES/TRANSITIONS, see #10
Refactored the Sparse Adapters, see #17
13 years ago
dehnert
69acbdef63
Fixed a few things in the parsers and implemented proper treatment of reward files by these parsers.
13 years ago
dehnert
0d7889932c
Fixed bug that gave wrong vector when parsing the state rewards.
13 years ago
dehnert
c0468675c7
Fixed parser to correctly ignore the file header.
13 years ago
dehnert
351421e9e7
Corrected typo.
13 years ago
PBerger
4fe071033b
Removed std:: from uint type specifier (illegal in VS2012)
Removed parsing of STATES and TRANSITIONS from Parsers
13 years ago
gereon
22d8ec76bc
fixed position indication in PrismParser in case of an error.
13 years ago
Lanchid
5b57728d7e
Merge branch master into PrctlParser
13 years ago
Lanchid
9c2d279c47
Reformulation of some documenation texts in PrctlParser (including some
fixed mistakes)
13 years ago
dehnert
0f9f5e67f6
A few minor fixes. Removed test for reward model.
13 years ago
dehnert
d4cf812c5e
Added until-model checking for MDPs. Implemented Prob1A algorithm. Added asynchronous leader example.
13 years ago
dehnert
8a9d766c73
Changed input format for non-deterministic models to PRISMs output format. Added min/max capability to probabilistic operator without bounds. Implemented Prob0E. Added a simple MDP model to example suite.
13 years ago
dehnert
8c248c05c5
Renamed NonDeterministic to Nondeterministic in all places. Fixed (hopefully) all occurrences of these names. Implemented Prob0A algorithm.
13 years ago
dehnert
19cbe13691
Prepared methods for performing reachability searches for non-deterministic models. Removed storage of backward transition relation: it is now (re-)created on demand in the model checkers.
13 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.
13 years ago
Lanchid
fe6061e120
Documentation of parser class
13 years ago
Lanchid
afce8c9d12
Fixed some doxygen warnings
(Remaining warnings all appear because of undocumented function
parameters)
13 years ago
Lanchid
a3837ac76b
Changed WrongFileFormatException to WrongFormatException
Also, start of documentation of PrctlParser and PrctlFileParser
13 years ago
gereon
718608622f
added Ctmdp model, changed MdpParser to NonDetModelParser
13 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.
13 years ago
gereon
47cb1aa4d9
renamed BoundOperator to PathBoundOperator (StateBoundOperator is coming soon...)
renamed modelChecker to modelchecker
13 years ago
Lanchid
ab4174183b
Changed PrctlParser to directly parse the input string as formula, and
added PrctlFileParser to parse formulae from a file
13 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
13 years ago
Lanchid
3833c8af41
Some more test cases for PRCTL formula parsing
13 years ago
Lanchid
b66e1a34db
Some fixes in formulas
Additional test case for reward formulas
13 years ago
Lanchid
02528f2bd9
Test cases for Prctl parser
13 years ago
gereon
86965ff12a
removed obsolete typedef
13 years ago
gereon
54565ddd55
changed rowMapping to vector<int>
13 years ago
gereon
583ebf62bd
made rowMapping from NDSTParser available in MDP model class
13 years ago
gereon
1d1f9da315
made rowMapping from NDSTParser available in MDP model class
13 years ago
Lanchid
7e87f35e95
First test case for prctl parser, and some necessary modifications for
the code
13 years ago
PBerger
a598d3751c
The DeterministicSparseTransitionParser.cpp was still broken, rewrote it in a simpler and more convenient way.
All Deterministic Tests complete now.
13 years ago
dehnert
6fb56748a6
Bugfix for correctly counting the number of values the parser inserts.
13 years ago
dehnert
726569d5f1
Fixed bug in parser that inserted 0-entries on the diagonal at the wrong places. Enabled link-time-optimizations for Release-Build when using clang. Fixed bug in base exception: what() returned a pointer to a char array belonging to a local variable, which got deallocated and thus invalidates the char array content.
13 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...
13 years ago
dehnert
1edd306032
Silenced warning of clang: Changed NULL to nullptr as this should be used in C++11.
13 years ago
dehnert
c4af78b859
Added singleton utility class for CUDD-based things. Added some first methods to expression classes to generate ADDs, but this should be moved to a separate class implementing the expression visitor pattern.
13 years ago
Lanchid
d23b3dbee5
First compiling version of PRCTL parser
13 years ago
gereon
df91728da0
first "kind of working" version.
13 years ago
dehnert
a17c99902b
The PRISM parser can now parse DTMC models that do not use synchronization.
13 years ago