00001 /* C_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_C_Polyhedron_defs_hh 00024 #define PPL_C_Polyhedron_defs_hh 1 00025 00026 #include "C_Polyhedron.types.hh" 00027 #include "NNC_Polyhedron.types.hh" 00028 #include "Polyhedron.defs.hh" 00029 00031 00055 class Parma_Polyhedra_Library::C_Polyhedron : public Polyhedron { 00056 public: 00058 00071 explicit C_Polyhedron(dimension_type num_dimensions = 0, 00072 Degenerate_Element kind = UNIVERSE); 00073 00075 00084 explicit C_Polyhedron(const Constraint_System& cs); 00085 00087 00098 explicit C_Polyhedron(Constraint_System& cs); 00099 00101 00111 explicit C_Polyhedron(const Generator_System& gs); 00112 00114 00126 explicit C_Polyhedron(Generator_System& gs); 00127 00129 00137 explicit C_Polyhedron(const Congruence_System& cgs); 00138 00140 00149 explicit C_Polyhedron(Congruence_System& cgs); 00150 00155 explicit C_Polyhedron(const NNC_Polyhedron& y); 00156 00158 00179 template <typename Box> 00180 C_Polyhedron(const Box& box, From_Bounding_Box dummy); 00181 00183 C_Polyhedron(const C_Polyhedron& y); 00184 00189 C_Polyhedron& operator=(const C_Polyhedron& y); 00190 00192 C_Polyhedron& operator=(const NNC_Polyhedron& y); 00193 00195 ~C_Polyhedron(); 00196 00205 bool poly_hull_assign_if_exact(const C_Polyhedron& y); 00206 00208 bool upper_bound_assign_if_exact(const C_Polyhedron& y); 00209 }; 00210 00211 #include "C_Polyhedron.inlines.hh" 00212 00213 #endif // !defined(PPL_C_Polyhedron_defs_hh)