PBerger
01fd3c18e3
Added move constructors, added move-calls where fitting.
Former-commit-id: e73336c816
12 years ago
PBerger
b978a4d311
Added more move constructors.
Former-commit-id: 9770365fbb
13 years ago
Lanchid
ec91dcbe2e
Merge branch master into LTLParser
13 years ago
gereon
cd9e2ba549
Some minor cleanups, added lot of documentation in prismparser
13 years ago
gereon
cb14f2e771
Made choiceIndices work in ExplicitModelAdapter, added code to somehow use --symbolic (parse model, show model information)
13 years ago
gereon
aafdbf7671
Fixed errors due to merging.
13 years ago
gereon
5495456991
Added new log level "trace"
Fixed bug in ExplicitModelAdapter
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
5c25116a24
First version of ExplicitModelAdapter that supports transition rewards.
13 years ago
gereon
5f64fd168b
Cleaned up structure of ExplicitModelAdapter.
- added cpp file
- returns complete models now (missing transition rewards...)
13 years ago
gereon
5976c9e81d
More work for ExplicitModelAdapter
* Removed templates from various functions, as we can only produce double models anyway.
* Added methods to compute state rewards and state labelings
* Added toModel() routine
13 years ago
gereon
84993d24f8
Add documentation for ExplicitModelAdapter.
13 years ago
gereon
dfd601e126
fixed memory leak in addLabeledTransition and removed now obsolete functions.
13 years ago
gereon
52225ecf9c
Fixes to buildInitialStates.
13 years ago
gereon
772c03c070
Added routine to create all initial states.
Variables that have no explicit initial value will cause initial state for all possible values.
13 years ago
gereon
018e7ce056
some minor fixes.
Adapter now produces same result as prism for examples/dtmc/sync/sync.pm except order of nodes.
13 years ago
gereon
17d57e742a
Added code for labeled transitions.
New Adapter is basically finished, but not really tested ;-)
13 years ago
gereon
3464ef20c5
next chunk of code for new ExplicitModelAdapter.
now we have routines to create a result matrix from the intermediate representation, one for DTMCs and one for MDPs.
13 years ago
gereon
6d0d7e21c5
First chunk of code for new ExplicitModelAdapter.
The new adapter will generate an intermediate datastructure that holds all transitions to be inserted.
This will combine the two phases (computing the state space and actually generating the matrix) and can also be used for dtmc and mdp models.
This datastructure is only a list of maps for each state. Each map represents a nondeterministic choice and maps target node ids to their probability.
13 years ago
gereon
8f4f39d510
closed last memory leak...
13 years ago
gereon
34ca097eb3
fixed another more memory leak. One still missing...
13 years ago
gereon
58cf018371
Implemented synchronization in ExplicitModelChecker::buildMatrix().
This seems to produce the correct number of states and produces no valgrind errors. :-)
13 years ago
gereon
c33d319ac3
some minor fixes, now with less memory errors :)
13 years ago
gereon
de268ec3e8
Forgot to remove a *...
13 years ago
gereon
e69c9db266
Implemented synchronization within computeReachableStateSpace.
Added new helper routines:
* getActiveCommandsByAction() retrieves commands that are active (i.e. guard is true) for some action.
* applyUpdate() copies a given state and updates it with a given update.
Added state expansion for synchronized commands.
Made former loop only consider unsynchronized commands.
13 years ago
dehnert
db01eb92d9
Splitted explicit model adapter into several logical functions.
13 years ago
dehnert
34aff4cbd9
Added constructor for ExplicitModelAdapter class.
13 years ago
dehnert
777aa3a914
Intermediate commit to switch workplace.
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
a17c99902b
The PRISM parser can now parse DTMC models that do not use synchronization.
13 years ago
dehnert
aba470960f
Intermediate commit to test code under linux.
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