24 #ifndef PPL_algorithms_hh
25 #define PPL_algorithms_hh 1
33 #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
41 #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
42 template <
typename PH>
44 poly_hull_assign_if_exact(PH& p,
const PH& q);
46 #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
48 #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
49 template <
typename PH>
54 poly_hull.poly_hull_assign(q);
55 std::pair<PH, Pointset_Powerset<NNC_Polyhedron> >
56 partition = linear_partition(q, poly_hull);
59 for (iter i = s.
begin(), s_end = s.
end(); i != s_end; ++i) {
63 if (!nnc_p.
contains(i->pointset())) {
73 #endif // !defined(PPL_algorithms_hh)
iterator begin()
Returns an iterator pointing to the first disjunct, if *this is not empty; otherwise, returns the past-the-end iterator.
bool poly_hull_assign_if_exact(PH &p, const PH &q)
A not necessarily closed convex polyhedron.
iterator end()
Returns the past-the-end iterator.
A const_iterator on a sequence of read-only objects.
The powerset construction instantiated on PPL pointset domains.
The entire library is confined to this namespace.
bool contains(const Polyhedron &y) const
Returns true if and only if *this contains y.