6#include <unordered_map>
46 using ConstraintIndex = std::unordered_map<std::size_t, ConstraintSet>;
49 std::shared_ptr<storm::expressions::ExpressionManager> expressionManager;
58 ConstraintIndex wellformedConstraintIndex;
65 ConstraintIndex graphPreservingConstraintIndex;
68 std::set<storm::RationalFunctionVariable> variableSet;
156 std::set<storm::RationalFunctionVariable>
const&
getVariables()
const;
ConstraintSet const & getGraphPreservingConstraints() const
Returns the set of graph-preserving constraints.
std::set< storm::RationalFunctionVariable > const & getVariables() const
Returns the set of variables in the model.
ConstraintCollector(storm::models::sparse::Model< storm::RationalFunction > const &model)
Constructs a constraint collector for the given model.
void operator()(storm::models::sparse::Model< storm::RationalFunction > const &model)
Constructs the constraints for the given model by calling the process method.
ConstraintSet const & getWellformedConstraints() const
Returns the set of wellformed-ness constraints.
std::vector< storm::expressions::Expression > ConstraintSet
The type of the collected constraints.
This class is responsible for managing a set of typed variables and all expressions using these varia...
Computes a hash of an expression such that syntactically equal expressions hash to the same value.
Base class for all sparse models.
RelationType
An enum type specifying the different relations applicable.
carl::RationalFunction< Polynomial, true > RationalFunction
carl::MultivariatePolynomial< RationalFunctionCoefficient > RawPolynomial