Commit Graph

31 Commits

Author SHA1 Message Date
Kaspar Fischer 87f1c1ed41 - Made several routines private. 2004-01-22 17:14:36 +00:00
Kaspar Fischer 443533767b - Moved routine pivot() (the basis computation of the LP-algorithm) into
class Support_set.
- Moved is_better() into private namespace.
2004-01-22 16:57:46 +00:00
Kaspar Fischer e1eafb9d55 - The 3 traits models we give now don't use Weighted_point anymore,
but build on std::pair.
2003-12-01 16:40:35 +00:00
Kaspar Fischer 738b9e8538 - Removed #include <Cartesian.h> (and #include <Cartesian_d.h>) from
traits headers.
- Fixed typedef's of Point in the traits classes.
2003-11-14 14:45:59 +00:00
Sylvain Pion ace0a0f1fa - Change all headers to the new format/license. 2003-09-18 10:27:16 +00:00
Andreas Fabri 898a5f93a7 Removed #include <cstddef> again, because it has to get included elsewhere 2003-05-16 10:06:50 +00:00
Andreas Fabri c9cccd6ff8 Added #include <cstddef> for MIPS Pro 2003-05-16 09:53:33 +00:00
Kaspar Fischer eaa2492030 - The input balls are now stored in a separate container, and a new
container (containing only pointers) is used internally for "swapping"
  points.
2003-04-16 12:28:16 +00:00
Kaspar Fischer 3ece2be7be - Fixed bug on MIPSpro 7.3.1 where std::rand/abs/sqrt are not present
in namespace std (and so Min_sphere_of_spheres_d_configure.h puts
  them there).  (This fix is only necessary when the code is used
  without CGAL, as is the case in benchmark.C, for instance.)
2003-04-11 14:48:58 +00:00
Kaspar Fischer fc3e4893a6 - Added another static_cast<int>() to get rid of a warning on
i686_Linux-2.2.18_g++-2.95_LEDA ("comparision between signed and
  unsigned).
2003-04-11 13:58:09 +00:00
Kaspar Fischer 201913593b - Added this-> to member fields of templated subclasses (gcc 3.4 finds
this compilation error).
2003-04-02 09:29:38 +00:00
Kaspar Fischer abbf2f1d0d - Added static_cast<int>() to get rid of a warning on
i686_Linux-2.2.18_g++-2.95_LEDA ("comparision between signed and
  unsigned).
2003-04-02 08:07:06 +00:00
Kaspar Fischer 6988945d4c - Fixed line-widths. 2003-03-07 15:16:14 +00:00
Kaspar Fischer 88de9b3deb - Added support for gcc-2.95.2: Altough this compiler is not supported
by CGAL (anymore), we would like to support it.  There is a file
  Min_sphere_of_spheres_d_gcc2-95-2_fix.h which provides bitset and sstream
  implementations (which are missing under gcc-2.95.2).
2003-03-07 15:11:38 +00:00
Kaspar Fischer fbc5a82ea9 - Fixed bug in update(LPAlgorithm): Termination was not guaranteed until
now which led to an infinite loop on Intel.
2003-03-03 13:18:59 +00:00
Kaspar Fischer 50e6119f74 - Fixed a bug in is_valid() where changing 'int' to 'unsigned int' in
for (int i=e-1; i>=0; --i)

  caused the loop to run forever.
2003-02-26 10:39:49 +00:00
Kaspar Fischer e268079b47 - Added 'unsigned' to some int variables in order to reduce warnings
with GCC 3.3.0.
- Corrected order of intialization of member fields in constructor
  of class Min_sphere_of_spheres_d<Traits> (again, to get rid of warnings).
- Renamed variable D in pivot() to d in order to get rid of 'shadow'
  warnings under CC-5.30_SunOS-5.6.  The same for variable l in routine
  is_valid().
2003-02-22 17:58:09 +00:00
Kaspar Fischer a85e14fa6a - Added 'unsigned' to some int variables in order to reduce warnings
with GCC 3.3.0.
- Corrected order of intialization of member fields in constructor
  of class Min_sphere_of_spheres_d<Traits>.
2003-02-22 10:11:38 +00:00
Kaspar Fischer 94f573635c - The code doesn't store pointers anymore, reference has been updated. 2003-02-20 12:41:04 +00:00
Kaspar Fischer 8571655d34 - Renamed type Coordinate_iterator to Cartesian_const_iterator
(both in class Min_sphere_of_spheres_d<Traits> and in concept
  MinSphereOfSpheresTraits).
- Renamed routine Min_sphere_of_spheres_d<Traits>::center_begin()
  to center_cartesian_begin().  Also added routine center_-
  cartesian_end(), a short hand to center_cartesian_begin()+
  Traits::D.
2003-02-20 11:24:42 +00:00
Kaspar Fischer 79bb93fa11 - Fixed a bug in the traits classed for R^2 and R^3
where the example program crashed because a ref-
  erence-counted Point_2 got destructed while its
  coordinate iterator was still in use.
- Wrote documentation for traits classes for 2D, 3D
  and R^d.
2003-02-20 09:45:44 +00:00
Kaspar Fischer 508a316a2f - Removed routine update() from the specification,
and consequently from all examples/testsuite.
2003-02-19 13:47:28 +00:00
Kaspar Fischer 42b288e926 - More suggestions by Bernd... 2003-02-19 11:20:05 +00:00
Kaspar Fischer 774fa60526 *** empty log message *** 2003-02-17 15:36:20 +00:00
Kaspar Fischer baffd13a40 - Finished documentation for version 1.1.
- Small changes to make the interface more CGAL-like.
2003-02-17 14:57:51 +00:00
Kaspar Fischer a6712877a3 - Version 1.1. 2003-02-14 13:40:19 +00:00
Kaspar Fischer 09afa59399 - Fixed a bug in isZero(). (Actually, this bug hasn't ever
caused any problems...)
2003-01-01 20:23:27 +00:00
Kaspar Fischer d0b3ae5732 - Added missing std:: in interface_check.C.
- Added missing Min_sphere_of_spheres_impl:: in
  Min_sphere_of_spheres_d.C.
2002-12-23 14:47:26 +00:00
Kaspar Fischer fb5f6bab0e - Code cleanup (no changes in functionality). 2002-09-30 13:34:24 +00:00
Kaspar Fischer 103e098d6b - Changed type Wt to Weight and Pt to Point. 2002-09-26 13:05:15 +00:00
Kaspar Fischer 37d8f70982 - Imported sources. 2002-09-25 13:58:43 +00:00