Storm
1.13.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
StateStorage.cpp
Go to the documentation of this file.
1
#include "
storm/storage/sparse/StateStorage.h
"
2
3
namespace
storm
{
4
namespace
storage
{
5
namespace
sparse
{
6
7
template
<
typename
StateType>
8
StateStorage<StateType>::StateStorage
(uint64_t
bitsPerState
) :
stateToId
(
bitsPerState
, 100000),
bitsPerState
(
bitsPerState
) {
9
// Intentionally left empty.
10
}
11
12
template
<
typename
StateType>
13
uint_fast64_t
StateStorage<StateType>::getNumberOfStates
()
const
{
14
return
stateToId
.size();
15
}
16
17
template
struct
StateStorage<uint32_t>
;
18
template
struct
StateStorage<uint_fast64_t>
;
19
}
// namespace sparse
20
}
// namespace storage
21
}
// namespace storm
StateStorage.h
storm::storage::sparse
Definition
ChoiceOrigins.cpp:13
storm::storage
Definition
DFTBuilder.h:15
storm
Definition
AutomaticSettings.cpp:13
storm::storage::sparse::StateStorage
Definition
StateStorage.h:13
storm::storage::sparse::StateStorage::getNumberOfStates
uint64_t getNumberOfStates() const
Definition
StateStorage.cpp:13
storm::storage::sparse::StateStorage::stateToId
storm::storage::BitVectorHashMap< StateType > stateToId
Definition
StateStorage.h:18
storm::storage::sparse::StateStorage::bitsPerState
uint64_t bitsPerState
Definition
StateStorage.h:30
storm::storage::sparse::StateStorage::StateStorage
StateStorage(uint64_t bitsPerState)
Definition
StateStorage.cpp:8
src
storm
storage
sparse
StateStorage.cpp
Generated by
1.15.0