24 #include "ppl-config.h"
34 PPL_ASSERT(c_num_vars == 0 && c_only_var == 0);
52 PPL_ASSERT(cg_num_vars == 0 && cg_only_var == 0);
static bool extract_interval_congruence(const Congruence &cg, dimension_type &cg_num_vars, dimension_type &cg_only_var)
A linear equality or inequality.
size_t dimension_type
An unsigned integral type for representing space dimensions.
bool all_zeroes(const Variables_Set &vars) const
Returns true if the coefficient of each variable in vars is zero.
dimension_type space_dimension() const
Returns the dimension of the vector space enclosing *this.
expr_type expression() const
Partial read access to the (adapted) internal expression.
static bool extract_interval_constraint(const Constraint &c, dimension_type &c_num_vars, dimension_type &c_only_var)
Decodes the constraint c as an interval constraint.
dimension_type first_nonzero(dimension_type first, dimension_type last) const
bool is_equality() const
Returns true if *this is an equality.
dimension_type space_dimension() const
Returns the dimension of the vector space enclosing *this.
dimension_type first_nonzero(dimension_type first, dimension_type last) const
The entire library is confined to this namespace.
expr_type expression() const
Partial read access to the (adapted) internal expression.
bool all_zeroes(const Variables_Set &vars) const
Returns true if the coefficient of each variable in vars is zero.