PPL
1.2
|
The convergence certificate for the Grid widening operator. More...
#include <Grid_Certificate_defs.hh>
Classes | |
struct | Compare |
A total ordering on Grid certificates. More... | |
Public Member Functions | |
Grid_Certificate () | |
Default constructor. More... | |
Grid_Certificate (const Grid &gr) | |
Constructor: computes the certificate for gr . More... | |
Grid_Certificate (const Grid_Certificate &y) | |
Copy constructor. More... | |
~Grid_Certificate () | |
Destructor. More... | |
int | compare (const Grid_Certificate &y) const |
The comparison function for certificates. More... | |
int | compare (const Grid &gr) const |
Compares *this with the certificate for grid gr . More... | |
bool | is_stabilizing (const Grid &gr) const |
Returns true if and only if the certificate for grid gr is strictly smaller than *this . More... | |
bool | OK () const |
Check if gathered information is meaningful. More... | |
Private Attributes | |
dimension_type | num_equalities |
dimension_type | num_proper_congruences |
The convergence certificate for the Grid widening operator.
Convergence certificates are used to instantiate the BHZ03 framework so as to define widening operators for the finite powerset domain.
Definition at line 43 of file Grid_Certificate_defs.hh.
|
inline |
Default constructor.
Definition at line 32 of file Grid_Certificate_inlines.hh.
References OK().
Parma_Polyhedra_Library::Grid_Certificate::Grid_Certificate | ( | const Grid & | gr | ) |
Constructor: computes the certificate for gr
.
Definition at line 33 of file Grid_Certificate.cc.
References Parma_Polyhedra_Library::Grid::con_sys, Parma_Polyhedra_Library::Grid::congruences_are_minimized(), Parma_Polyhedra_Library::Grid::congruences_are_up_to_date(), Parma_Polyhedra_Library::Grid::dim_kinds, Parma_Polyhedra_Library::Implementation::BD_Shapes::empty, Parma_Polyhedra_Library::Grid_Generator_System::empty(), Parma_Polyhedra_Library::Grid::gen_sys, Parma_Polyhedra_Library::Grid::generators_are_minimized(), Parma_Polyhedra_Library::Grid::generators_are_up_to_date(), Parma_Polyhedra_Library::Grid::marked_empty(), num_equalities, Parma_Polyhedra_Library::Congruence_System::num_equalities(), Parma_Polyhedra_Library::Grid_Generator_System::num_parameters(), num_proper_congruences, Parma_Polyhedra_Library::Congruence_System::num_proper_congruences(), Parma_Polyhedra_Library::Grid_Generator_System::num_rows(), PPL_USED, Parma_Polyhedra_Library::Grid::set_congruences_minimized(), Parma_Polyhedra_Library::Grid::set_generators_minimized(), Parma_Polyhedra_Library::Grid::simplify(), and Parma_Polyhedra_Library::Grid::space_dimension().
|
inline |
Copy constructor.
Definition at line 39 of file Grid_Certificate_inlines.hh.
|
inline |
int Parma_Polyhedra_Library::Grid_Certificate::compare | ( | const Grid_Certificate & | y | ) | const |
The comparison function for certificates.
*this
is smaller than, equal to, or greater than y
, respectively. Definition at line 89 of file Grid_Certificate.cc.
References num_equalities, num_proper_congruences, and OK().
Referenced by is_stabilizing(), and Parma_Polyhedra_Library::Grid_Certificate::Compare::operator()().
int Parma_Polyhedra_Library::Grid_Certificate::compare | ( | const Grid & | gr | ) | const |
Compares *this
with the certificate for grid gr
.
Definition at line 103 of file Grid_Certificate.cc.
References Parma_Polyhedra_Library::compare().
|
inline |
Returns true
if and only if the certificate for grid gr
is strictly smaller than *this
.
Definition at line 49 of file Grid_Certificate_inlines.hh.
References compare().
bool Parma_Polyhedra_Library::Grid_Certificate::OK | ( | ) | const |
Check if gathered information is meaningful.
Definition at line 109 of file Grid_Certificate.cc.
Referenced by compare(), and Grid_Certificate().
|
private |
Number of a equalities in a minimized congruence system for the grid.
Definition at line 95 of file Grid_Certificate_defs.hh.
Referenced by compare(), and Grid_Certificate().
|
private |
Number of a proper congruences in a minimized congruence system for the grid.
Definition at line 98 of file Grid_Certificate_defs.hh.
Referenced by compare(), and Grid_Certificate().