David_Korzeniewski
7c0dd5eaf5
Fixed build errors on Windows
Former-commit-id: 10929f075d
12 years ago
dehnert
86909937f3
Grammar now supports min/max/floor/ceil functions. Parsing still has errors though.
Former-commit-id: 5af975489b
12 years ago
dehnert
fda9c43e86
Fix for SMT-based minimal command set generator. Minor fixes to string output of expression classes.
Former-commit-id: 316a762d74
12 years ago
dehnert
b6ff62e689
Towards adding more cuts to MaxSAT-based minimal command counterexamples. Some fixes here and there along the way.
Former-commit-id: 15ea8544fd
12 years ago
dehnert
aec2596753
Several fixes for the IR. Weakest precondition computation is now supported for IR expressions.
Former-commit-id: 00387e59fc
12 years ago
dehnert
f7a578e65d
Major change in PRISM grammars and IR: the IR now uses unique pointers instead of shared pointers to express ownership of objects more clearly.
Former-commit-id: 5b0228ee3b
12 years ago
dehnert
20ae92e1ba
Added support for cloning IR expressions.
Former-commit-id: 913269b3a5
12 years ago
dehnert
84e7061a6d
Undefined constants are now undefined again after the explicit adapter has created the model (using specific constant values).
Former-commit-id: 96381b7d37
12 years ago
dehnert
3aeb755e61
Bugfix: undefined constant expressions for the same constant now share a common structure internally that defines their value and definedness.
Former-commit-id: dd2fda5ab5
12 years ago
dehnert
12a92fc6ee
Several fixes and additions to IR. Modifications to CMakeLists.txt of log4cplus to enable proper compilation under Mac OS. Fixes to coin2.nm. Added global variables to grammar and IR. Established basis for defining undefined constants of the model. Started to write MinimalLabelSetGenerator.
Former-commit-id: b65bb063fa
12 years ago
PBerger
47f7bf875d
Fixed static conversion bugs in the IR section
Former-commit-id: 6b63d4900e
12 years ago
dehnert
0473d1a757
Fixed a lot of issues with the IR and the explicit state space generator.
Former-commit-id: fe80aaaf0f
13 years ago
PBerger
68c27f99ef
Mass-added Keyword "override"
13 years ago
dehnert
4dadedf39d
Added methods to retrieve module index by variable name from IR. This fixes an issue in the symbolic adapter.
13 years ago
dehnert
9505f553dd
Added copy-constructors for all IR classes. TODO: make tests run again...
13 years ago
dehnert
23f25beb27
More fixes. Still TODO: copy constructors for IR classes.
13 years ago
dehnert
a0ee0b46c7
Fixed minor bug.
13 years ago
dehnert
7b8b1ebd4f
Further refactoring of IR classes.
13 years ago
dehnert
e30c386f23
On my way of splitting header/source files in IR to make forward-declaration easy.
13 years ago
dehnert
8abc703f6a
Further refactoring of IR and PRISM parser.
13 years ago
Lanchid
ec91dcbe2e
Merge branch master into LTLParser
13 years ago
PBerger
d3c80dca16
Updated CMakeLists.txt
- Added more sub-folders in the source-structure
- Added an option for MSVC to use /bigobj with the Compiler as PrismParser.cpp bloats the object instance count
- Edited CUDD Link Targets for MSVC
Edited SymbolicModelAdapter.h, added an alternative implementation for log2 (NOT part of C90, not of Cxx!)
Edited Program.cpp, promoted vars from int to uint to conquer warnings related to loss of precision
Likewise in DeterministicSparseTransitionParser.cpp, IntegerConstantExpression.h
Edited storm.cpp, reimplemented Usage-Query for non-Unix platforms.
Edited CuddUtility.h, added an include for int Type definitions as they do not fall from the sky
Edited ErrorHandling.h. reimplemented ErrorHandling for non-Unix platforms. Backtraces can not yet be provided.
13 years ago
gereon
dfd4df2884
Removing debug output.
13 years ago
gereon
4222130524
Fixed a few more bugs in clone() of various Expression classes and some in the module renaming.
13 years ago
gereon
c3cfc5404c
Somewhat fixed weird issue during module renaming.
The "fix" is very weird (see VariableState.cpp:55 and following) and still seems to lead to a segfault upon program termination...
13 years ago
gereon
ac313cb997
Removed debug output, fixed DoubleExpressionGrammar
13 years ago
gereon
766a92db3a
Fixed error in *Literal::clone()
13 years ago
gereon
a9edf2aa8c
Removed some debug output.
13 years ago
gereon
3c1cf4819c
Fixed a few other issues. Module renaming seems to work now!
(However, there is still a segfault at some later point...)
13 years ago
gereon
152bcd2f20
Porting Program datastructures to use shared_ptr (at least for the moment...)
some more cleanups
13 years ago
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
dehnert
42693bf0f2
Fixed wrong includes of cuddObj.hh in expression classes. Added missing files of cudd.
13 years ago
gereon
18b6e812a7
Added #include <memory>, as std::shared_ptr is used within this file
13 years ago
dehnert
4d813999e3
Backup commit. On my way of buidling appropriate BDDs.
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
dehnert
edd3a9a20e
Added possibility to evaluate expressions without concrete variables. Fixed some minor things in CUDD Makefiles. Renamed IR adapter.
13 years ago
dehnert
c19418b871
Intermediate commit to switch workplace.
13 years ago
dehnert
d414b93bad
Added some functionality to IR. Introduced case distinction for boolean/integer assignments in updates. Started writing an IR adapter.
13 years ago
dehnert
50f891b9f2
Removed some unnecessary boost stuff from IR expressions. Separated header and source file for all non-expression IR entities (expressions are still to come). Added comments for these classes.
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
dehnert
a44da7d50a
Commit to switch workplace.
13 years ago
dehnert
f7194a416d
Cleaned IR classes a bit and made attributes private. Changed grammar rules accordingly.
13 years ago
dehnert
b381321653
Added more classes to IR. Extended PRISM-format parser.
13 years ago
dehnert
a4b7b27829
Added parsing support for expressions. Now working on parsing probabilistic programs.
13 years ago
dehnert
a7ab5bb309
More fun with Spirit.
13 years ago