Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DiscreteTimeSparseModelSimulator.h
Go to the documentation of this file.
1#include <cstdint>
4
5namespace storm {
6namespace simulator {
7
16template<typename ValueType, typename RewardModelType = storm::models::sparse::StandardRewardModel<ValueType>>
18 public:
20 void setSeed(uint64_t);
21 bool step(uint64_t action);
22 bool randomStep();
23 std::vector<ValueType> const& getLastRewards() const;
24 uint64_t getCurrentState() const;
25 bool resetToInitial();
26
27 protected:
29 uint64_t currentState;
30 std::vector<ValueType> lastRewards;
31 std::vector<ValueType> zeroRewards;
33};
34} // namespace simulator
35} // namespace storm
Base class for all sparse models.
Definition Model.h:33
This class is a low-level interface to quickly sample from Discrete-Time Models stored explicitly as ...
storm::models::sparse::Model< ValueType, RewardModelType > const & model
storm::utility::RandomProbabilityGenerator< ValueType > generator
LabParser.cpp.
Definition cli.cpp:18