Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ExplicitGameStrategy.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <ostream>
5#include <vector>
6
7namespace storm {
8namespace storage {
9
11 public:
12 static const uint64_t UNDEFINED;
13
14 ExplicitGameStrategy(uint64_t numberOfStates);
15 ExplicitGameStrategy(std::vector<uint64_t>&& choices);
16
17 uint64_t getNumberOfStates() const;
18 uint64_t getChoice(uint64_t state) const;
19 void setChoice(uint64_t state, uint64_t choice);
20 bool hasDefinedChoice(uint64_t state) const;
21 void undefineAll();
22
23 uint64_t getNumberOfUndefinedStates() const;
24
25 private:
26 std::vector<uint64_t> choices;
27};
28
29std::ostream& operator<<(std::ostream& out, ExplicitGameStrategy const& strategy);
30
31} // namespace storage
32} // namespace storm
bool hasDefinedChoice(uint64_t state) const
void setChoice(uint64_t state, uint64_t choice)
uint64_t getChoice(uint64_t state) const
std::ostream & operator<<(std::ostream &out, ParameterRegion< ParametricType > const &region)
LabParser.cpp.
Definition cli.cpp:18