Browse Source

Abstract equation solver: added getOptionalRelevantValues

tempestpy_adaptions
Tim Quatmann 4 years ago
parent
commit
1b2a78e9ac
  1. 5
      src/storm/solver/AbstractEquationSolver.cpp
  2. 1
      src/storm/solver/AbstractEquationSolver.h

5
src/storm/solver/AbstractEquationSolver.cpp

@ -66,6 +66,11 @@ namespace storm {
return relevantValues.get();
}
template<typename ValueType>
boost::optional<storm::storage::BitVector> const& AbstractEquationSolver<ValueType>::getOptionalRelevantValues() const {
return relevantValues;
}
template<typename ValueType>
void AbstractEquationSolver<ValueType>::setRelevantValues(storm::storage::BitVector&& relevantValues) {
this->relevantValues = std::move(relevantValues);

1
src/storm/solver/AbstractEquationSolver.h

@ -52,6 +52,7 @@ namespace storm {
* Retrieves the relevant values (if there are any).
*/
storm::storage::BitVector const& getRelevantValues() const;
boost::optional<storm::storage::BitVector> const& getOptionalRelevantValues() const;
/*!
* Sets the relevant values.

Loading…
Cancel
Save