Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
BooleanVariable.h
Go to the documentation of this file.
1#ifndef STORM_STORAGE_PRISM_BOOLEANVARIABLE_H_
2#define STORM_STORAGE_PRISM_BOOLEANVARIABLE_H_
3
4#include <map>
5
8
9namespace storm {
10namespace prism {
11class BooleanVariable : public Variable {
12 public:
13 // Create default implementations of constructors/assignment.
14 BooleanVariable() = default;
15 BooleanVariable(BooleanVariable const& other) = default;
16 BooleanVariable& operator=(BooleanVariable const& other) = default;
17 BooleanVariable(BooleanVariable&& other) = default;
19
28 BooleanVariable(storm::expressions::Variable const& variable, storm::expressions::Expression const& initialValueExpression, bool observable,
29 std::string const& filename = "", uint_fast64_t lineNumber = 0);
30
37 BooleanVariable substitute(std::map<storm::expressions::Variable, storm::expressions::Expression> const& substitution) const;
39
40 virtual void createMissingInitialValue() override;
41
42 friend std::ostream& operator<<(std::ostream& stream, BooleanVariable const& variable);
43};
44
45} // namespace prism
46} // namespace storm
47
48#endif /* STORM_STORAGE_PRISM_BOOLEANVARIABLE_H_ */
virtual void createMissingInitialValue() override
Equips the variable with an initial value based on its type if not initial value is present.
BooleanVariable substitute(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution) const
Substitutes all identifiers in the boolean variable according to the given map.
BooleanVariable(BooleanVariable &&other)=default
BooleanVariable & operator=(BooleanVariable const &other)=default
BooleanVariable substituteNonStandardPredicates() const
BooleanVariable(BooleanVariable const &other)=default
friend std::ostream & operator<<(std::ostream &stream, BooleanVariable const &variable)
BooleanVariable & operator=(BooleanVariable &&other)=default
LabParser.cpp.
Definition cli.cpp:18