Browse Source

Merge branch 'master' into deterministicScheds

tempestpy_adaptions
TimQu 6 years ago
parent
commit
6d67a3671b
  1. 2
      CHANGELOG.md
  2. 2
      src/storm/storage/Scheduler.cpp

2
CHANGELOG.md

@ -12,6 +12,8 @@ Version 1.3.x
- Allow to quickly check a benchmark from the [Quantitative Verification Benchmark Set](http://qcomp.org/benchmarks/) using the --qvbs option. - Allow to quickly check a benchmark from the [Quantitative Verification Benchmark Set](http://qcomp.org/benchmarks/) using the --qvbs option.
- Added script resources/examples/download_qvbs.sh to download the QVBS. - Added script resources/examples/download_qvbs.sh to download the QVBS.
- If an option is unknown, Storm now prints a hint to similar option names. - If an option is unknown, Storm now prints a hint to similar option names.
- Support for the new `round` operator in the PRISM language
- Support for parsing of exact time bounds for properties, e.g., `P=? [F=27 "goal"]`
- JANI: Allow bounded types for constants - JANI: Allow bounded types for constants
- JANI: Support for non-trivial reward accumulations. - JANI: Support for non-trivial reward accumulations.
- JANI: Fixed support for reward expressions over non-transient variables. - JANI: Fixed support for reward expressions over non-transient variables.

2
src/storm/storage/Scheduler.cpp

@ -17,7 +17,7 @@ namespace storm {
template <typename ValueType> template <typename ValueType>
Scheduler<ValueType>::Scheduler(uint_fast64_t numberOfModelStates, boost::optional<storm::storage::MemoryStructure>&& memoryStructure) : memoryStructure(std::move(memoryStructure)) { Scheduler<ValueType>::Scheduler(uint_fast64_t numberOfModelStates, boost::optional<storm::storage::MemoryStructure>&& memoryStructure) : memoryStructure(std::move(memoryStructure)) {
uint_fast64_t numOfMemoryStates = memoryStructure ? memoryStructure->getNumberOfStates() : 1;
uint_fast64_t numOfMemoryStates = this->memoryStructure ? this->memoryStructure->getNumberOfStates() : 1;
schedulerChoices = std::vector<std::vector<SchedulerChoice<ValueType>>>(numOfMemoryStates, std::vector<SchedulerChoice<ValueType>>(numberOfModelStates)); schedulerChoices = std::vector<std::vector<SchedulerChoice<ValueType>>>(numOfMemoryStates, std::vector<SchedulerChoice<ValueType>>(numberOfModelStates));
numOfUndefinedChoices = numOfMemoryStates * numberOfModelStates; numOfUndefinedChoices = numOfMemoryStates * numberOfModelStates;
numOfDeterministicChoices = 0; numOfDeterministicChoices = 0;

Loading…
Cancel
Save