gereon
3c1cf4819c
Fixed a few other issues. Module renaming seems to work now!
(However, there is still a segfault at some later point...)
12 years ago
gereon
152bcd2f20
Porting Program datastructures to use shared_ptr (at least for the moment...)
some more cleanups
12 years ago
gereon
b92260fed0
A lot of work on PrismParser:
* Created a distinct parser for each expression type and for identifiers
* Removed all expression rules from PrismParser, using new parsers instead
* Reduced excessive usage of boost::lambda, using semantic actions only for single calls
* Moved actual state to new class (-> VariableState, whole two-run-logic can probably implemented there)
* Much cleanup
Work should be finished on expression parser, but not yet on prism parser...
12 years ago
Lanchid
00286b2f01
Added formula classes for CSL
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
gereon
bb37bc49f2
Compiling version of PrismParser.
12 years ago
Lanchid
39ff3240d3
More convenient syntax for time bounded formulas, and respective test
cases.
12 years ago
Lanchid
35baa5ff02
Added parsing of time bounded operators
12 years ago
Lanchid
7e91d5b01e
Test cases for CSL parser
12 years ago
Lanchid
509c1a2b47
Added support for SteadyStateNoBoundOperator into the CSL parser.
12 years ago
Lanchid
08815b8c13
Changed "NoBoundOperator" to "PathNoBoundOperator", as I will implement
a "StateNoBoundOperator" now...
12 years ago
Lanchid
6ff25321d4
First version of CSL parser
TODO:
- Correct path formulas
- Time bounded until
- Steady state operator without bounds
12 years ago
Lanchid
9bc8bb2ca8
Some code style and documentation
12 years ago
Lanchid
c7afcecf4a
Minor changes (mainly improving comments)
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
gereon
840a9b6e07
Somewhat works now. Still has at least one bug and segfaults afterwards :-)
12 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.
12 years ago
gereon
6c19ddb877
Cosmetics: Trailing whitespaces, space indentation, ...
12 years ago
Lanchid
0dcebc8ff0
Start of implementing improved file parser for formulas
12 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.
12 years ago
gereon
341dc50ab7
Added some better error output for basic parsers using errno
12 years ago
gereon
8dce5af515
fixed some warnings (comparison between signed/unsigned)
12 years ago
gereon
752dda4252
fixing error with difference operator in freeIdentifier
12 years ago
dehnert
c7f58ed5f5
Modified parsers such that the reward matrices are of the same size as the transition matrices.
12 years ago
gereon
ba49792d29
Perform two runs in PrismParser.
First run collects all variables, second run uses the declared variables.
12 years ago
PBerger
06d78967df
Fixed MDP Parser, removed parsing of STATES/TRANSITIONS, see #10
Refactored the Sparse Adapters, see #17
12 years ago
dehnert
69acbdef63
Fixed a few things in the parsers and implemented proper treatment of reward files by these parsers.
12 years ago
dehnert
0d7889932c
Fixed bug that gave wrong vector when parsing the state rewards.
12 years ago
dehnert
c0468675c7
Fixed parser to correctly ignore the file header.
12 years ago
dehnert
351421e9e7
Corrected typo.
12 years ago
PBerger
4fe071033b
Removed std:: from uint type specifier (illegal in VS2012)
Removed parsing of STATES and TRANSITIONS from Parsers
12 years ago
gereon
22d8ec76bc
fixed position indication in PrismParser in case of an error.
12 years ago
Lanchid
5b57728d7e
Merge branch master into PrctlParser
12 years ago
Lanchid
9c2d279c47
Reformulation of some documenation texts in PrctlParser (including some
fixed mistakes)
12 years ago
dehnert
0f9f5e67f6
A few minor fixes. Removed test for reward model.
12 years ago
dehnert
d4cf812c5e
Added until-model checking for MDPs. Implemented Prob1A algorithm. Added asynchronous leader example.
12 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.
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
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.
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
fe6061e120
Documentation of parser class
12 years ago
Lanchid
afce8c9d12
Fixed some doxygen warnings
(Remaining warnings all appear because of undocumented function
parameters)
12 years ago
Lanchid
a3837ac76b
Changed WrongFileFormatException to WrongFormatException
Also, start of documentation of PrctlParser and PrctlFileParser
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
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
3833c8af41
Some more test cases for PRCTL formula parsing
12 years ago
Lanchid
b66e1a34db
Some fixes in formulas
Additional test case for reward formulas
12 years ago