Browse Source
fetch choice values from until vi computation
fetch choice values from until vi computation
- added an SMGModelCheckingHelperReturnTypetempestpy_adaptions
Stefan Pranger
4 years ago
7 changed files with 63 additions and 13 deletions
-
3src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h
-
9src/storm/modelchecker/rpatl/SparseSmgRpatlModelChecker.cpp
-
43src/storm/modelchecker/rpatl/helper/SMGModelCheckingHelperReturnType.h
-
8src/storm/modelchecker/rpatl/helper/SparseSmgRpatlHelper.cpp
-
4src/storm/modelchecker/rpatl/helper/SparseSmgRpatlHelper.h
-
8src/storm/modelchecker/rpatl/helper/internal/GameViHelper.cpp
-
1src/storm/modelchecker/rpatl/helper/internal/GameViHelper.h
@ -0,0 +1,43 @@ |
|||
#pragma once |
|||
|
|||
#include <vector> |
|||
#include <memory> |
|||
#include "storm/storage/Scheduler.h" |
|||
|
|||
namespace storm { |
|||
namespace storage { |
|||
class BitVector; |
|||
} |
|||
|
|||
namespace modelchecker { |
|||
namespace helper { |
|||
template<typename ValueType> |
|||
struct SMGSparseModelCheckingHelperReturnType { |
|||
|
|||
SMGSparseModelCheckingHelperReturnType(SMGSparseModelCheckingHelperReturnType const&) = delete; |
|||
SMGSparseModelCheckingHelperReturnType(SMGSparseModelCheckingHelperReturnType&&) = default; |
|||
|
|||
SMGSparseModelCheckingHelperReturnType(std::vector<ValueType>&& values, storm::storage::BitVector& relevantStates, std::unique_ptr<storm::storage::Scheduler<ValueType>>&& scheduler = nullptr, std::vector<ValueType>&& choiceValues = nullptr) : values(std::move(values)), relevantStates(relevantStates), scheduler(std::move(scheduler)), choiceValues(std::move(choiceValues)) { |
|||
// Intentionally left empty. |
|||
} |
|||
|
|||
virtual ~SMGSparseModelCheckingHelperReturnType() { |
|||
// Intentionally left empty. |
|||
} |
|||
|
|||
// The values computed for the states. |
|||
std::vector<ValueType> values; |
|||
|
|||
// The relevant states for which choice values have been computed. |
|||
storm::storage::BitVector relevantStates; |
|||
|
|||
// A scheduler, if it was computed. |
|||
std::unique_ptr<storm::storage::Scheduler<ValueType>> scheduler; |
|||
|
|||
// The values computed for the available choices. |
|||
std::vector<ValueType> choiceValues; |
|||
}; |
|||
} |
|||
|
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue