PPL
1.2
|
#include <Box_defs.hh>
Static Public Member Functions | |
static bool | extract_interval_congruence (const Congruence &cg, dimension_type &cg_num_vars, dimension_type &cg_only_var) |
Related Functions | |
(Note that these are not member functions.) | |
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. More... | |
Definition at line 2245 of file Box_defs.hh.
|
static |
Definition at line 48 of file Box.cc.
References Parma_Polyhedra_Library::Expression_Adapter< T >::all_zeroes(), Parma_Polyhedra_Library::Congruence::expression(), Parma_Polyhedra_Library::Expression_Adapter< T >::first_nonzero(), Parma_Polyhedra_Library::Congruence::is_equality(), and Parma_Polyhedra_Library::Congruence::space_dimension().
Referenced by Parma_Polyhedra_Library::Box< ITV >::add_congruence_no_check().
|
related |
Decodes the constraint c
as an interval constraint.
true
if the constraint c
is an interval constraint; false
otherwise.c | The constraint to be decoded. |
c_num_vars | If true is returned, then it will be set to the number of variables having a non-zero coefficient. The only legal values will therefore be 0 and 1. |
c_only_var | If true is returned and if c_num_vars is not set to 0, then it will be set to the index of the only variable having a non-zero coefficient in c . |
Definition at line 30 of file Box.cc.
References Parma_Polyhedra_Library::Expression_Hide_Last< T >::all_zeroes(), Parma_Polyhedra_Library::Constraint::expression(), Parma_Polyhedra_Library::Expression_Hide_Last< T >::first_nonzero(), and Parma_Polyhedra_Library::Constraint::space_dimension().
Referenced by Parma_Polyhedra_Library::Box< ITV >::add_constraint_no_check(), Parma_Polyhedra_Library::Box< ITV >::get_limiting_box(), Parma_Polyhedra_Library::Box< ITV >::refine_no_check(), Parma_Polyhedra_Library::Box< ITV >::relation_with(), and Parma_Polyhedra_Library::Box< ITV >::wrap_assign().