diff --git a/Packages/Convex_hull_2/examples/ConvexHull/include/CGAL/ch_timing_2.C b/Packages/Convex_hull_2/examples/ConvexHull/include/CGAL/ch_timing_2.C deleted file mode 100644 index db16b311c79..00000000000 --- a/Packages/Convex_hull_2/examples/ConvexHull/include/CGAL/ch_timing_2.C +++ /dev/null @@ -1,127 +0,0 @@ -// ============================================================================ -// -// Copyright (c) 1999 The CGAL Consortium -// -// -// -// -// -// ---------------------------------------------------------------------------- -// release : -// release_date : -// -// file : examples/Convex_hull_2/ch_timing_2.C -// revision : $Revision$ -// revision_date : $Date$ -// author(s) : Stefan Schirra -// -// coordinator : MPI, Saarbruecken -// ============================================================================ - - -#ifndef CGAL_CH_TIMING_2_C -#define CGAL_CH_TIMING_2_C - -#ifndef CGAL_CH_TIMING_2_H -#include -#endif // CGAL_CH_TIMING_2_H - -CGAL_BEGIN_NAMESPACE -template -void -ch_timing( ForwardIterator first, ForwardIterator last, - OutputIterator result, - int iterations, - const Traits& ch_traits) -{ - int i; - CGAL::Timer Clck; - double delta_t; - - std::cout << std::endl; - OutputIterator restart = result; - - Clck.start(); - - for (i=0; i < iterations; i++) - { - result = restart; - ch_akl_toussaint( first, last , result, ch_traits); - } - Clck.stop(); - delta_t = Clck.time(); - Clck.reset(); - - std::cout << "ch_akl_toussaint: " << delta_t << std::endl; - - Clck.start(); - - for (i=0; i < iterations; i++) - { - result = restart; - ch_eddy( first, last , result, ch_traits); - } - Clck.stop(); - delta_t = Clck.time(); - Clck.reset(); - - std::cout << "ch_eddy: " << delta_t << std::endl; - - Clck.start(); - - for (i=0; i < iterations; i++) - { - result = restart; - ch_bykat( first, last , result, ch_traits); - } - Clck.stop(); - delta_t = Clck.time(); - Clck.reset(); - - std::cout << "ch_bykat " << delta_t << std::endl; - - Clck.start(); - - for (i=0; i < iterations; i++) - { - result = restart; - ch_bykat_with_threshold( first, last , result, ch_traits); - } - Clck.stop(); - delta_t = Clck.time(); - Clck.reset(); - - std::cout << "ch_bykat_with_threshold: " << delta_t << std::endl; - - Clck.start(); - - for (i=0; i < iterations; i++) - { - result = restart; - ch_graham_andrew( first, last , result, ch_traits); - } - Clck.stop(); - delta_t = Clck.time(); - Clck.reset(); - - std::cout << "ch_graham_andrew: " << delta_t << std::endl; - - Clck.start(); - - for (i=0; i < iterations; i++) - { - result = restart; - ch_jarvis( first, last , result, ch_traits); - } - Clck.stop(); - delta_t = Clck.time(); - Clck.reset(); - - std::cout << "ch_jarvis: " << delta_t << std::endl; - -} - -CGAL_END_NAMESPACE - -#endif // CGAL_CH_TIMING_2_C - diff --git a/Packages/Convex_hull_2/examples/ConvexHull/include/CGAL/ch_timing_2.h b/Packages/Convex_hull_2/examples/ConvexHull/include/CGAL/ch_timing_2.h deleted file mode 100644 index a15e1d31ff6..00000000000 --- a/Packages/Convex_hull_2/examples/ConvexHull/include/CGAL/ch_timing_2.h +++ /dev/null @@ -1,43 +0,0 @@ -// ============================================================================ -// -// Copyright (c) 1999 The CGAL Consortium -// -// -// -// -// -// ---------------------------------------------------------------------------- -// release : -// release_date : -// -// file : examples/Convex_hull_2/include/CGAL/ch_timing_2.h -// revision : $Revision$ -// revision_date : $Date$ -// author(s) : Stefan Schirra -// -// coordinator : MPI, Saarbruecken -// ============================================================================ - - -#ifndef CGAL_CH_TIMING_2_H -#define CGAL_CH_TIMING_2_H - -#include - - -CGAL_BEGIN_NAMESPACE -template -void -ch_timing( ForwardIterator first, ForwardIterator last, - OutputIterator result, - int iterations, - const Traits& ch_traits); - -CGAL_END_NAMESPACE - -#ifdef CGAL_CFG_NO_AUTOMATIC_TEMPLATE_INCLUSION -#include -#endif // CGAL_CFG_NO_AUTOMATIC_TEMPLATE_INCLUSION - -#endif // CGAL_CH_TIMING_2_H -