Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ExplicitQuantitativeResult.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <vector>
5
6namespace storm {
7namespace storage {
8class BitVector;
9}
10} // namespace storm
11
12namespace storm::gbar {
13namespace abstraction {
14
15template<typename ValueType>
17 public:
19 ExplicitQuantitativeResult(uint64_t numberOfStates);
20 ExplicitQuantitativeResult(std::vector<ValueType>&& values);
21
22 std::vector<ValueType> const& getValues() const;
23 std::vector<ValueType>& getValues();
24 void setValue(uint64_t state, ValueType const& value);
25
26 std::pair<ValueType, ValueType> getRange(storm::storage::BitVector const& states) const;
27
28 private:
29 std::vector<ValueType> values;
30};
31
32} // namespace abstraction
33} // namespace storm::gbar
std::pair< ValueType, ValueType > getRange(storm::storage::BitVector const &states) const
void setValue(uint64_t state, ValueType const &value)
A bit vector that is internally represented as a vector of 64-bit values.
Definition BitVector.h:18
storage::BitVector BitVector
LabParser.cpp.
Definition cli.cpp:18