9template<
typename ValueType>
16template<
typename ValueType>
23template<
typename ValueType>
30 constraintStates.
reset(defaultConstraintStates);
33 prob01States |= prob1States;
41template<
typename ValueType>
45 if (!dir.has_value()) {
46 return transform(targetStates, constraintStates);
51 constraintStates.
reset(defaultConstraintStates);
59 prob01States |= prob1States;
Helper class that optionally holds a reference to an object of type T.
T & value()
Accesses the contained reference (if any).
bool has_value() const
Yields true iff this contains a reference.
void reset()
Unsets the reference.
This class caches the backward transitions of a given forward transition matrix.
A class that holds a possibly non-square matrix in the compressed row storage format.
#define STORM_LOG_ASSERT(cond, message)
bool constexpr minimize(OptimizationDirection d)
std::pair< storm::storage::BitVector, storm::storage::BitVector > performProb01(storm::models::sparse::DeterministicModel< T > const &model, storm::storage::BitVector const &phiStates, storm::storage::BitVector const &psiStates)
Computes the sets of states that have probability 0 or 1, respectively, of satisfying phi until psi i...
std::pair< storm::storage::BitVector, storm::storage::BitVector > performProb01Max(storm::storage::SparseMatrix< T > const &transitionMatrix, std::vector< uint_fast64_t > const &nondeterministicChoiceIndices, storm::storage::SparseMatrix< T > const &backwardTransitions, storm::storage::BitVector const &phiStates, storm::storage::BitVector const &psiStates)
std::pair< storm::storage::BitVector, storm::storage::BitVector > performProb01Min(storm::storage::SparseMatrix< T > const &transitionMatrix, std::vector< uint_fast64_t > const &nondeterministicChoiceIndices, storm::storage::SparseMatrix< T > const &backwardTransitions, storm::storage::BitVector const &phiStates, storm::storage::BitVector const &psiStates)
std::conditional_t< storm::NumberTraits< ValueType >::HasInfinity, ValueType, ExtendedNumber< ValueType > > ExtendedValueType
The type to use for values that may be infinite.
constexpr NullRefType NullRef
Specifies a total reward query: The goal is to compute (bounds on) the optimal total reward that is c...