|
Storm 1.11.1.1
A Modern Probabilistic Model Checker
|
#include <Assignment.h>


Public Member Functions | |
| Assignment (storm::expressions::Variable const &variable, storm::expressions::Expression const &expression, std::string const &filename="", uint_fast64_t lineNumber=0) | |
| Constructs an assignment using the given variable name and expression. | |
| Assignment ()=default | |
| Assignment (Assignment const &other)=default | |
| Assignment & | operator= (Assignment const &other)=default |
| Assignment (Assignment &&other)=default | |
| Assignment & | operator= (Assignment &&other)=default |
| std::string const & | getVariableName () const |
| Retrieves the name of the variable that this assignment targets. | |
| storm::expressions::Variable const & | getVariable () const |
| Retrieves the variable that is written to by this assignment. | |
| storm::expressions::Expression const & | getExpression () const |
| Retrieves the expression that is assigned to the variable. | |
| Assignment | substitute (std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution) const |
| Substitutes all variables in the assignment according to the given map. | |
| Assignment | substituteNonStandardPredicates () const |
| bool | isIdentity () const |
| Checks whether the assignment is an identity (lhs equals rhs) | |
Public Member Functions inherited from storm::prism::LocatedInformation | |
| LocatedInformation (std::string const &filename, uint_fast64_t lineNumber) | |
| Constructs a located information with the given filename and line number. | |
| LocatedInformation ()=default | |
| LocatedInformation (LocatedInformation const &other)=default | |
| LocatedInformation & | operator= (LocatedInformation const &other)=default |
| LocatedInformation (LocatedInformation &&other)=default | |
| LocatedInformation & | operator= (LocatedInformation &&other)=default |
| std::string const & | getFilename () const |
| Retrieves the name of the file in which the information was found. | |
| void | setFilename (std::string const &filename) |
| Sets the filename of this information. | |
| uint_fast64_t | getLineNumber () const |
| Retrieves the line number in which the information was found. | |
| void | setLineNumber (uint_fast64_t lineNumber) |
| Sets the line number of this information. | |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, Assignment const &assignment) |
Definition at line 12 of file Assignment.h.
| storm::prism::Assignment::Assignment | ( | storm::expressions::Variable const & | variable, |
| storm::expressions::Expression const & | expression, | ||
| std::string const & | filename = "", |
||
| uint_fast64_t | lineNumber = 0 |
||
| ) |
Constructs an assignment using the given variable name and expression.
| variable | The variable that this assignment targets. |
| expression | The expression to assign to the variable. |
| filename | The filename in which the assignment is defined. |
| lineNumber | The line number in which the assignment is defined. |
Definition at line 5 of file Assignment.cpp.
|
default |
|
default |
|
default |
| storm::expressions::Expression const & storm::prism::Assignment::getExpression | ( | ) | const |
Retrieves the expression that is assigned to the variable.
Definition at line 19 of file Assignment.cpp.
| storm::expressions::Variable const & storm::prism::Assignment::getVariable | ( | ) | const |
Retrieves the variable that is written to by this assignment.
Definition at line 15 of file Assignment.cpp.
| std::string const & storm::prism::Assignment::getVariableName | ( | ) | const |
Retrieves the name of the variable that this assignment targets.
Definition at line 11 of file Assignment.cpp.
| bool storm::prism::Assignment::isIdentity | ( | ) | const |
Checks whether the assignment is an identity (lhs equals rhs)
Definition at line 31 of file Assignment.cpp.
|
default |
|
default |
| Assignment storm::prism::Assignment::substitute | ( | std::map< storm::expressions::Variable, storm::expressions::Expression > const & | substitution | ) | const |
Substitutes all variables in the assignment according to the given map.
| substitution | The substitution to perform. |
Definition at line 23 of file Assignment.cpp.
| Assignment storm::prism::Assignment::substituteNonStandardPredicates | ( | ) | const |
Definition at line 27 of file Assignment.cpp.
|
friend |
Definition at line 39 of file Assignment.cpp.