|
PPL C Language Interface 2.0
|
Types and functions for the Pointset_Powerset of C_Polyhedron objects. More...
#include <C_interface.dox.h>
Types and functions for the Pointset_Powerset of C_Polyhedron objects.
The powerset domains can be instantiated by taking as a base domain any fixed semantic geometric description (C and NNC polyhedra, BD and octagonal shapes, boxes and grids). An element of the powerset domain represents a disjunctive collection of base objects (its disjuncts), all having the same space dimension.
Besides the functions that are available in all semantic geometric descriptions (whose documentation is not repeated here), the powerset domain also provides several ad hoc functions. In particular, the iterator types allow for the examination and manipulation of the collection of disjuncts.
|
Drops from the sequence of disjuncts in ps all the non-maximal elements so that ps is non-redundant.
| ps | The borrowed handle to the input object. |
|
Writes to sz the number of disjuncts in ps.
| ps | The borrowed handle to the input object. |
| sz | Receives the value computed by the operation. |
|
Returns a positive integer if powerset x geometrically covers powerset y; returns 0 otherwise.
| x | The borrowed handle to the input object. |
| y | The borrowed handle to the input object. |
x geometrically covers powerset y; returns 0 otherwise.
|
Returns a positive integer if powerset x is geometrically equal to powerset y; returns 0 otherwise.
| x | The borrowed handle to the input object. |
| y | The borrowed handle to the input object. |
x is geometrically equal to powerset y; returns 0 otherwise.
|
Adds to ps a copy of disjunct d.
| ps | The powerset operand. |
| d | The borrowed handle to the input object. |
|
Drops from ps the disjunct pointed to by cit, assigning to it an iterator to the disjunct following cit.
| ps | The powerset operand. |
| cit | The borrowed handle to the input object. |
| it | The iterator handle selecting the current element. |
|
Drops from ps all the disjuncts from first to last (excluded).
| ps | The powerset operand. |
| first | The borrowed handle to the input object. |
| last | The borrowed handle to the input object. |
|
Modifies ps by (recursively) merging together the pairs of disjuncts whose upper-bound is the same as their set-theoretical union.
| ps | The powerset operand. |