25 #include "ppl-config.h"
28 #include "assertions.hh"
34 : num_equalities(0), num_proper_congruences(0) {
90 PPL_ASSERT(OK() && y.
OK());
Grid_Generator_System gen_sys
The system of generators.
dimension_type space_dimension() const
Returns the dimension of the vector space enclosing *this.
The convergence certificate for the Grid widening operator.
bool empty() const
Returns true if and only if *this has no generators.
Congruence_System con_sys
The system of congruences.
int compare(const Grid_Certificate &y) const
The comparison function for certificates.
Grid_Certificate()
Default constructor.
dimension_type num_equalities() const
Returns the number of equalities.
static bool simplify(Congruence_System &cgs, Dimension_Kinds &dim_kinds)
Converts cgs to upper triangular (i.e. minimized) form.
bool congruences_are_up_to_date() const
Returns true if the system of congruences is up-to-date.
void set_generators_minimized()
Sets status to express that generators are minimized.
dimension_type num_proper_congruences
dimension_type num_proper_congruences() const
Returns the number of proper congruences.
int compare(const Linear_Expression &x, const Linear_Expression &y)
bool generators_are_up_to_date() const
Returns true if the system of generators is up-to-date.
The entire library is confined to this namespace.
bool OK() const
Check if gathered information is meaningful.
bool marked_empty() const
Returns true if the grid is known to be empty.
dimension_type num_rows() const
Returns the number of rows (generators) in the system.
bool congruences_are_minimized() const
Returns true if the system of congruences is minimized.
Dimension_Kinds dim_kinds
#define PPL_USED(v)
No-op macro that allows to avoid unused variable warnings from the compiler.
dimension_type num_parameters() const
Returns the number of parameters in the system.
bool generators_are_minimized() const
Returns true if the system of generators is minimized.
dimension_type num_equalities
void set_congruences_minimized()
Sets status to express that congruences are minimized.