14template<
typename VariableType>
17template<
typename VariableType>
264 void substitute(std::map<storm::expressions::Variable, storm::expressions::Expression>
const& substitution,
bool const substituteTranscendentalNumbers);
274 std::vector<std::shared_ptr<Variable>>& getVariableVectorForType(
JaniType const& type);
277 std::vector<std::shared_ptr<Variable>> variables;
280 std::vector<std::shared_ptr<Variable>> booleanVariables;
283 std::vector<std::shared_ptr<Variable>> boundedIntegerVariables;
286 std::vector<std::shared_ptr<Variable>> unboundedIntegerVariables;
289 std::vector<std::shared_ptr<Variable>> realVariables;
292 std::vector<std::shared_ptr<Variable>> arrayVariables;
295 std::vector<std::shared_ptr<Variable>> clockVariables;
298 std::vector<std::shared_ptr<Variable>> continuousVariables;
301 std::vector<std::shared_ptr<Variable>> transientVariables;
304 std::map<std::string, storm::expressions::Variable> nameToVariable;
307 std::map<storm::expressions::Variable, std::shared_ptr<Variable>> variableToVariable;
boost::transform_iterator< Dereferencer< value_type >, input_iterator > iterator
bool containsArrayVariables() const
Retrieves whether the set of variables contains a Array variable.
detail::Variables< Variable > getBoundedIntegerVariables()
Retrieves the bounded integer variables in this set.
bool containsNonTransientRealVariables() const
Retrieves whether the set of variables contains a non-transient real variable.
Variable const & addVariable(Variable const &variable)
Adds the given variable to this set.
bool hasVariable(std::string const &name) const
Retrieves whether this variable set contains a variable with the given name.
uint64_t getNumberOfUnboundedIntegerTransientVariables() const
Retrieves the number of unbounded integer transient variables in this variable set.
detail::Variables< Variable > getUnboundedIntegerVariables()
Retrieves the unbounded integer variables in this set.
detail::Variables< Variable > getRealVariables()
Retrieves the real variables in this set.
uint64_t getNumberOfNumericalTransientVariables() const
Retrieves the number of numerical (i.e.
VariableSet()
Creates an empty variable set.
void substitute(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution, bool const substituteTranscendentalNumbers)
Applies the given substitution to all variables in this set.
detail::Variables< Variable >::iterator end()
Retrieves the end iterator to the variables in this set.
bool hasTransientVariable() const
Retrieves whether this variable set contains a transient variable.
bool containsContinuousVariables() const
Retrieves whether the set of variables contains a clock variable.
bool containsBooleanVariable() const
Retrieves whether the set of variables contains a boolean variable.
std::shared_ptr< Variable > eraseVariable(storm::expressions::Variable const &variable)
Erases the given variable from this set.
Variable const & getVariable(std::string const &name) const
Retrieves the variable with the given name.
detail::Variables< Variable > getContinuousVariables()
Retrieves the continous variables in this set.
uint64_t getNumberOfVariables() const
Total number of variables, including transient variables.
bool containsUnboundedIntegerVariables() const
Retrieves whether the set of variables contains an unbounded integer variable.
uint64_t getNumberOfNontransientVariables() const
bool containsNonTransientUnboundedIntegerVariables() const
Retrieves whether the set of variables contains a non-transient unbounded integer variable.
bool containsBoundedIntegerVariable() const
Retrieves whether the set of variables contains a bounded integer variable.
std::vector< std::shared_ptr< Variable > > dropAllArrayVariables()
Removes all array variables in this set.
bool containsRealVariables() const
Retrieves whether the set of variables contains a real variable.
bool empty() const
Retrieves whether this variable set is empty.
detail::Variables< Variable > getClockVariables()
Retrieves the clock variables in this set.
uint64_t getNumberOfTransientVariables() const
Retrieves the number of transient variables in this variable set.
bool containsVariablesInBoundExpressionsOrInitialValues(std::set< storm::expressions::Variable > const &variables) const
Checks whether any of the provided variables appears in bound expressions or initial values of the va...
void substituteExpressionVariables(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution)
Substitutes the actual variables according to the given substitution.
detail::Variables< Variable >::iterator begin()
Retrieves an iterator to the variables in this set.
bool containsClockVariables() const
Retrieves whether the set of variables contains a clock variable.
std::map< std::string, std::reference_wrapper< Variable const > > getNameToVariableMap() const
Retrieves a mapping from variable names to (references of) the variable objects.
detail::Variables< Variable > getBooleanVariables()
Retrieves the boolean variables in this set.
detail::Variables< Variable > getArrayVariables()
Retrieves the Array variables in this set.
uint64_t getNumberOfRealTransientVariables() const
Retrieves the number of real transient variables in this variable set.
detail::ConstVariables< Variable > getTransientVariables() const
Retrieves the transient variables in this variable set.