dehnert
0a3ff157f7
constants defaulting to type int and allowing model type everywhere (on top level) of PRISM program
9 years ago
dehnert
e09e3f3f75
making the phoenix rise from the ashes (aka boost 1.63)
9 years ago
dehnert
8d6b029d67
next batch of fixing warnings
9 years ago
Sebastian Junges
d246517757
removed src prefix in all includes
9 years ago
Sebastian Junges
e1d201c85e
c++ code compiles again after rename
9 years ago
Sebastian Junges
3a7ee7867b
rename files (does not compile)
9 years ago
sjunges
2365f62f23
minor updates of parsers
Former-commit-id: 0572366e05 [formerly 6c4c2e9154 ]
Former-commit-id: 5a2a185571
9 years ago
sjunges
5cc1a86f10
No - I won't wait for those parsers no more. Part one of some compiliation speed up stuff.
Former-commit-id: 20f6996581 [formerly 680bcd1cbb ]
Former-commit-id: 2c60f08dd3
9 years ago
dehnert
92932fced1
support for initial constructs in PRISM programs
Former-commit-id: 0c8132aa43
10 years ago
dehnert
9db10e7849
added all composition operators of PRISM
Former-commit-id: f9a25fbcb1
10 years ago
sjunges
1e1400d68d
merge
Former-commit-id: eb9efc4bb2
10 years ago
dehnert
f72f556018
improved spirit error handling a bit
Former-commit-id: 8d4b24a336
10 years ago
dehnert
4ca64a913a
main executable compiling again, started to debug
Former-commit-id: f255c48a3d
11 years ago
dehnert
6133c3462a
symbolic models can now have several reward models, adapted reward generation in model builders, probably introduced quite some bugs
Former-commit-id: 1fae8bcf12
11 years ago
dehnert
e631dbd1a0
more work on new reward models
Former-commit-id: 661c7b5b24
11 years ago
sjunges
a129983ae9
cleaning includes for better compilation times
Former-commit-id: e2878ae043
11 years ago
dehnert
8f4a4397e0
Started working on Markovian commands in PRISM programs.
Former-commit-id: 94ed3c747c
11 years ago
dehnert
1699732dce
More work on logic classes.
Former-commit-id: 9d94e02b74
11 years ago
dehnert
ab0caf79e8
Replaced action names by indices in PRISM programs.
Former-commit-id: e66820c247
11 years ago
dehnert
3260a6203c
Started improving performance of explicit model generation.
Former-commit-id: 318a97aedc
11 years ago
dehnert
7ec3e8b214
Further fixes for new variable handling. libstorm now compiles again, yay.
Former-commit-id: a9ac5c0356
11 years ago
dehnert
e49814d391
Modified pctl/csl/ltl options to now take formulas instead of files. Prefixed the macros with STORM_. Moved these macros into a file in the utilities. Modified architecture of the exception classes slightly. Threw away all the contents of main(). This will now be build from scratch.
Former-commit-id: 89d94f7957
12 years ago
dehnert
40c698af90
Some fixes to make new SMT framework compile with clang under Mac OS (includes fixes to some initializiation ordering warnings). Bugfix for PRISM parser to correctly handle formulas.
Former-commit-id: d513476066
12 years ago
dehnert
478f5ee38c
Started separating expression parsing from PRISM model parsing.
Former-commit-id: 84d1354f97
12 years ago
dehnert
c76e0e8d4d
Added class for initial construct of PRISM programs (to capture position information). Added more validity checks for programs and tests for them (not all though).
Former-commit-id: cf4e985684
12 years ago
dehnert
873d80cd2d
If a module is renamed from some other module, this is now kept track of in the respective PRISM classes.
Former-commit-id: c07e25ac55
12 years ago
dehnert
82836f1ad1
Added some checks for validity of identifiers in PRISM programs. Added some illegal tests to test suite.
Former-commit-id: fc44db75a7
12 years ago
dehnert
d0d80cf5e1
Started on making the PrismParser more robust.
Former-commit-id: 7ce1351d0c
12 years ago
dehnert
39ec9401ef
Fixed the PrismParser so the exact format of PRISMs boolean expressions can now be parsed.
Former-commit-id: bb08ec1646
12 years ago
PBerger
0a501b6e76
Added a constructor for GlobalProgramInformation as MSVC fails to default bool to false.
Former-commit-id: bd50a770c8
12 years ago
dehnert
311247ff0c
Added support for Xor in expression classes and added parsing functionality for Xor, Implies and Iff.
Former-commit-id: 16e023cf26
12 years ago
PBerger
94b25c02ca
Fixed bugs in some files.
Made LTL a little better to compile under WIN32.
Former-commit-id: 71377f0672
12 years ago
dehnert
164c8225fd
Fixed some minor issues.
Former-commit-id: 80f0ae4c9c
12 years ago
dehnert
199b6576a9
Added ternary operator. Parsing standard PRISM models into the PRISM classes now works. Included tests for parsing stuff. ToDo: add remaining semantic checks for parsing/PRISM classes and fix explicit model adapter.
Former-commit-id: cb37c98f1f
12 years ago
dehnert
f6587b424d
Further work on PrismParser and the related PRISM classes...
Former-commit-id: be4ae055dd
12 years ago
dehnert
cc0c327668
Removed superfluous grammars and started working on making one PRISM grammar to rule them all.
Former-commit-id: 375acb4699
12 years ago
PBerger
89909fe8dc
Edited all Parsers to lose its class.
Modified many classes to provide a reference-constructor.
Fixed a few bugs in Tests.
Former-commit-id: c31fe95aae
13 years ago
PBerger
f4050e5b18
Edited Parsers, re factored interface into a single function without an encapsulating class. Warning, this is work in Progress and not yet compiling.
13 years ago
Lanchid
ec91dcbe2e
Merge branch master into LTLParser
13 years ago
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.
13 years ago
gereon
014ecd8597
Fixed some glitches, producing meaningful error if sum of probabilities for a command is not one
13 years ago
gereon
9613d099bb
Removed shared_ptr for module, program and rewardmodel objects.
13 years ago
gereon
1878962dea
Fixed another nullptr, removed shared_ptr for Update and Command objects.
13 years ago
gereon
152bcd2f20
Porting Program datastructures to use shared_ptr (at least for the moment...)
some more cleanups
13 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...
13 years ago
gereon
bb37bc49f2
Compiling version of PrismParser.
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
dehnert
a82c8b3153
Moved implementation of PrismParser completely to source file. Fixed some minor things in IR classes.
13 years ago
dehnert
4b7c6a8941
Splitted PrismParser class into header and implementation file. Commented both files properly. Cleaned interface of PrismParser.
13 years ago
dehnert
f52201466c
Parsing labels works now.
13 years ago