Browse Source

let MDP helper return type store choiceValues

tempestpy_adaptions
Stefan Pranger 4 years ago
parent
commit
c9d5e2959a
  1. 17
      src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h

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

@ -9,31 +9,34 @@ namespace storm {
namespace storage {
class BitVector;
}
namespace modelchecker {
namespace helper {
template<typename ValueType>
struct MDPSparseModelCheckingHelperReturnType {
MDPSparseModelCheckingHelperReturnType(MDPSparseModelCheckingHelperReturnType const&) = delete;
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)) {
// Intentionally left empty.
}
virtual ~MDPSparseModelCheckingHelperReturnType() {
// Intentionally left empty.
}
// The values computed for the states.
std::vector<ValueType> values;
// The values computed for the available choices.
std::vector<ValueType> choiceValues;
// A scheduler, if it was computed.
std::unique_ptr<storm::storage::Scheduler<ValueType>> scheduler;
};
}
}
}

Loading…
Cancel
Save