Browse Source

extended MDPModelCheckingHelperReturnType with maybeStates and choiceValues

tempestpy_adaptions
Lukas Posch 3 years ago
committed by Stefan Pranger
parent
commit
053f0a8d19
  1. 8
      src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h

8
src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h

@ -18,7 +18,7 @@ namespace storm {
MDPSparseModelCheckingHelperReturnType(MDPSparseModelCheckingHelperReturnType const&) = delete; MDPSparseModelCheckingHelperReturnType(MDPSparseModelCheckingHelperReturnType const&) = delete;
MDPSparseModelCheckingHelperReturnType(MDPSparseModelCheckingHelperReturnType&&) = default; MDPSparseModelCheckingHelperReturnType(MDPSparseModelCheckingHelperReturnType&&) = default;
MDPSparseModelCheckingHelperReturnType(std::vector<ValueType>&& values, std::unique_ptr<storm::storage::Scheduler<ValueType>>&& scheduler = nullptr) : values(std::move(values)), scheduler(std::move(scheduler)) {
MDPSparseModelCheckingHelperReturnType(std::vector<ValueType>&& values, storm::storage::BitVector&& maybeStates = nullptr, std::unique_ptr<storm::storage::Scheduler<ValueType>>&& scheduler = nullptr, std::vector<ValueType>&& choiceValues = nullptr) : values(std::move(values)), maybeStates(maybeStates), scheduler(std::move(scheduler)), choiceValues(std::move(choiceValues)) {
// Intentionally left empty. // Intentionally left empty.
} }
@ -29,8 +29,14 @@ namespace storm {
// The values computed for the states. // The values computed for the states.
std::vector<ValueType> values; std::vector<ValueType> values;
// The maybe states of the model
storm::storage::BitVector maybeStates;
// A scheduler, if it was computed. // A scheduler, if it was computed.
std::unique_ptr<storm::storage::Scheduler<ValueType>> scheduler; std::unique_ptr<storm::storage::Scheduler<ValueType>> scheduler;
// The values computed for the available choices.
std::vector<ValueType> choiceValues;
}; };
} }

Loading…
Cancel
Save