12template<
typename ValueType>
15 uint64_t
constexpr Undef = std::numeric_limits<uint64_t>::max();
25 for (
auto const s : block) {
30 uint64_t representativeState = block.front();
31 if (preferredRepresentatives) {
33 std::find_if(block.begin(), block.end(), [&preferredRepresentatives](
auto const s) { return preferredRepresentatives->get(s); });
35 representativeState = *it;
Helper class that optionally holds a reference to an object of type T.
Represents a partition of a set of consecutive indices.
std::size_t getNumberOfBlocks() const
Retrieves the number of blocks.
std::size_t getNumberOfElements() const
Retrieves the number of elements.
Block getBlockOfElement(ElementIndex element) const
The index mappings between an input model and its bisimulation quotient, derived from a partition of ...
std::vector< uint64_t > toRepresentativeState
std::vector< uint64_t > toQuotientState
QuotientData(storm::bisimulation::Partition const &partition, storm::OptionalRef< storm::storage::BitVector const > preferredRepresentatives=storm::NullRef)
Computes the state index mappings between the states (i.e., the elements of the given partition) and ...