Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
StateStorage.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
6
7namespace storm {
8namespace storage {
9namespace sparse {
10
11// A structure holding information about the reachable state space while building it.
12template<typename StateType>
14 // Creates an empty state storage structure for storing states of the given bit width.
15 StateStorage(uint64_t bitsPerState);
16
17 // This member stores all the states and maps them to their unique indices.
19
20 // A list of initial states in terms of their global indices.
21 std::vector<StateType> initialStateIndices;
22
23 // A list of deadlock states.
24 std::vector<StateType> deadlockStateIndices;
25
26 // A list of unexplored states.
27 std::vector<StateType> unexploredStateIndices;
28
29 // The number of bits of each state.
30 uint64_t bitsPerState;
31
32 // Get the number of states that were found in the exploration so far.
33 uint64_t getNumberOfStates() const;
34};
35
36} // namespace sparse
37} // namespace storage
38} // namespace storm
This class represents a hash-map whose keys are bit vectors.
LabParser.cpp.
Definition cli.cpp:18
std::vector< StateType > unexploredStateIndices
std::vector< StateType > deadlockStateIndices
std::vector< StateType > initialStateIndices
storm::storage::BitVectorHashMap< StateType > stateToId