PPL  1.2
NNC_Polyhedron_defs.hh
Go to the documentation of this file.
1 /* NNC_Polyhedron class declaration.
2  Copyright (C) 2001-2010 Roberto Bagnara <bagnara@cs.unipr.it>
3  Copyright (C) 2010-2016 BUGSENG srl (http://bugseng.com)
4 
5 This file is part of the Parma Polyhedra Library (PPL).
6 
7 The PPL is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 The PPL is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software Foundation,
19 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
20 
21 For the most up-to-date information see the Parma Polyhedra Library
22 site: http://bugseng.com/products/ppl/ . */
23 
24 #ifndef PPL_NNC_Polyhedron_defs_hh
25 #define PPL_NNC_Polyhedron_defs_hh 1
26 
27 #include "NNC_Polyhedron_types.hh"
28 #include "C_Polyhedron_types.hh"
29 #include "Polyhedron_defs.hh"
30 #include "Grid_types.hh"
31 
33 
47 public:
49 
62  explicit NNC_Polyhedron(dimension_type num_dimensions = 0,
64 
66 
72  explicit NNC_Polyhedron(const Constraint_System& cs);
73 
75 
88 
90 
99  explicit NNC_Polyhedron(const Generator_System& gs);
100 
102 
118 
120 
128  explicit NNC_Polyhedron(const Congruence_System& cgs);
129 
131 
145 
147 
154  explicit NNC_Polyhedron(const C_Polyhedron& y,
155  Complexity_Class complexity = ANY_COMPLEXITY);
156 
158 
173  template <typename Interval>
174  explicit NNC_Polyhedron(const Box<Interval>& box,
175  Complexity_Class complexity = ANY_COMPLEXITY);
176 
178 
189  explicit NNC_Polyhedron(const Grid& grid,
190  Complexity_Class complexity = ANY_COMPLEXITY);
191 
193 
204  template <typename U>
205  explicit NNC_Polyhedron(const BD_Shape<U>& bd,
206  Complexity_Class complexity = ANY_COMPLEXITY);
207 
209 
220  template <typename U>
221  explicit NNC_Polyhedron(const Octagonal_Shape<U>& os,
222  Complexity_Class complexity = ANY_COMPLEXITY);
223 
226  Complexity_Class complexity = ANY_COMPLEXITY);
227 
233 
236 
238  ~NNC_Polyhedron();
239 
249 
252 
263 };
264 
265 #include "NNC_Polyhedron_inlines.hh"
266 
267 #endif // !defined(PPL_NNC_Polyhedron_defs_hh)
size_t dimension_type
An unsigned integral type for representing space dimensions.
bool upper_bound_assign_if_exact(const NNC_Polyhedron &y)
Same as poly_hull_assign_if_exact(y).
void positive_time_elapse_assign(const Polyhedron &y)
Assigns to *this (the best approximation of) the result of computing the positive time-elapse between...
Complexity_Class
Complexity pseudo-classes.
The base class for convex polyhedra.
NNC_Polyhedron(dimension_type num_dimensions=0, Degenerate_Element kind=UNIVERSE)
Builds either the universe or the empty NNC polyhedron.
Degenerate_Element
Kinds of degenerate abstract elements.
A not necessarily closed convex polyhedron.
A not necessarily closed, iso-oriented hyperrectangle.
Definition: Box_defs.hh:299
A closed convex polyhedron.
The universe element, i.e., the whole vector space.
bool poly_hull_assign_if_exact(const NNC_Polyhedron &y)
If the poly-hull of *this and y is exact it is assigned to *this and true is returned, otherwise false is returned.
A bounded difference shape.
NNC_Polyhedron & operator=(const NNC_Polyhedron &y)
The assignment operator. (*this and y can be dimension-incompatible.)