STAMINA/STORM 0.1
Infinite state-space truncator which generates a probability within a window
IterativeExplorationThread.h
1
8#ifndef STAMINA_BUILDER_THREADS_ITERATIVEEXPLORATIONTHREAD_H
9#define STAMINA_BUILDER_THREADS_ITERATIVEEXPLORATIONTHREAD_H
10
11#include "ExplorationThread.h"
12
13namespace stamina {
14 namespace builder {
15 namespace threads {
16 template <typename StateType, typename RewardModelType, typename ValueType>
17 class IterativeExplorationThread : public ExplorationThread<StateType, RewardModelType, ValueType> {
18 public:
28 , uint8_t threadIndex
30 , uint32_t stateSize
32 , std::shared_ptr<storm::generator::PrismNextStateGenerator<ValueType, StateType>> const& generator
33 , std::function<StateType (CompressedState const&)> stateToIdCallback
34 );
35
36 virtual void enqueueSuccessors(CompressedState & state) override;
37 protected:
38 virtual void exploreStates() override;
39 virtual void exploreState(StateAndProbability & stateProbability) override;
40 private:
41 uint32_t numberTerminal;
42 bool isCtmc;
43 };
44 } // namespace threads
45 } // namespace builder
46} // namespace stamina
47
48#endif // STAMINA_BUILDER_THREADS_ITERATIVEEXPLORATIONTHREAD_H
Definition: ProbabilityState.h:11
Definition: ControlThread.h:30
Definition: ExplorationThread.h:22
Definition: IterativeExplorationThread.h:17
IterativeExplorationThread(StaminaModelBuilder< ValueType, RewardModelType, StateType > *parent, uint8_t threadIndex, ControlThread< StateType, RewardModelType, ValueType > &controlThread, uint32_t stateSize, util::StateIndexArray< StateType, ProbabilityState< StateType > > *stateMap, std::shared_ptr< storm::generator::PrismNextStateGenerator< ValueType, StateType > > const &generator, std::function< StateType(CompressedState const &)> stateToIdCallback)
Definition: IterativeExplorationThread.cpp:11
Definition: StateIndexArray.h:27
Definition: ExplicitTruncatedModelBuilder.cpp:40