00001 /* NNC_Polyhedron class declaration. 00002 Copyright (C) 2001-2006 Roberto Bagnara <bagnara@cs.unipr.it> 00003 00004 This file is part of the Parma Polyhedra Library (PPL). 00005 00006 The PPL is free software; you can redistribute it and/or modify it 00007 under the terms of the GNU General Public License as published by the 00008 Free Software Foundation; either version 2 of the License, or (at your 00009 option) any later version. 00010 00011 The PPL is distributed in the hope that it will be useful, but WITHOUT 00012 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00013 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00014 for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software Foundation, 00018 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA. 00019 00020 For the most up-to-date information see the Parma Polyhedra Library 00021 site: http://www.cs.unipr.it/ppl/ . */ 00022 00023 #ifndef PPL_NNC_Polyhedron_defs_hh 00024 #define PPL_NNC_Polyhedron_defs_hh 1 00025 00026 #include "C_Polyhedron.types.hh" 00027 #include "NNC_Polyhedron.types.hh" 00028 #include "Polyhedron.defs.hh" 00029 00031 00044 class Parma_Polyhedra_Library::NNC_Polyhedron : public Polyhedron { 00045 public: 00047 00060 explicit NNC_Polyhedron(dimension_type num_dimensions = 0, 00061 Degenerate_Element kind = UNIVERSE); 00062 00064 00070 explicit NNC_Polyhedron(const Constraint_System& cs); 00071 00073 00081 explicit NNC_Polyhedron(Constraint_System& cs); 00082 00084 00093 explicit NNC_Polyhedron(const Generator_System& gs); 00094 00096 00107 explicit NNC_Polyhedron(Generator_System& gs); 00108 00110 00118 explicit NNC_Polyhedron(const Congruence_System& cgs); 00119 00121 00130 explicit NNC_Polyhedron(Congruence_System& cgs); 00131 00133 explicit NNC_Polyhedron(const C_Polyhedron& y); 00134 00136 00153 template <typename Box> 00154 NNC_Polyhedron(const Box& box, From_Bounding_Box dummy); 00155 00157 NNC_Polyhedron(const NNC_Polyhedron& y); 00158 00163 NNC_Polyhedron& operator=(const NNC_Polyhedron& y); 00164 00166 NNC_Polyhedron& operator=(const C_Polyhedron& y); 00167 00169 ~NNC_Polyhedron(); 00170 00179 bool poly_hull_assign_if_exact(const NNC_Polyhedron& y); 00180 00182 bool upper_bound_assign_if_exact(const NNC_Polyhedron& y); 00183 }; 00184 00185 #include "NNC_Polyhedron.inlines.hh" 00186 00187 #endif // !defined(PPL_NNC_Polyhedron_defs_hh)