You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
746 B
21 lines
746 B
#include "storm/storage/sparse/StateStorage.h"
|
|
|
|
namespace storm {
|
|
namespace storage {
|
|
namespace sparse {
|
|
|
|
template <typename StateType>
|
|
StateStorage<StateType>::StateStorage(uint64_t bitsPerState) : stateToId(bitsPerState, 10000000), initialStateIndices(), deadlockStateIndices(), bitsPerState(bitsPerState) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
template <typename StateType>
|
|
uint_fast64_t StateStorage<StateType>::getNumberOfStates() const {
|
|
return stateToId.size();
|
|
}
|
|
|
|
template struct StateStorage<uint32_t>;
|
|
template struct StateStorage<uint_fast64_t>;
|
|
}
|
|
}
|
|
}
|