From 30dd79e8cb4f5f93e645ef66c296065ccabba8c4 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Thu, 2 Apr 2015 08:32:07 +0300 Subject: [PATCH] Update ag2_exact_traits_sqrt.cpp [Apollonius_graph_2][examples] add warnings (in the form of comments) indicating that an exact kernel should not be chosen when efficiency is an issue. --- .../examples/Apollonius_graph_2/ag2_exact_traits_sqrt.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Apollonius_graph_2/examples/Apollonius_graph_2/ag2_exact_traits_sqrt.cpp b/Apollonius_graph_2/examples/Apollonius_graph_2/ag2_exact_traits_sqrt.cpp index 4b7d9278e34..86c0e9e746d 100644 --- a/Apollonius_graph_2/examples/Apollonius_graph_2/ag2_exact_traits_sqrt.cpp +++ b/Apollonius_graph_2/examples/Apollonius_graph_2/ag2_exact_traits_sqrt.cpp @@ -12,6 +12,12 @@ # include #endif +// *** WARNING *** +// The use of a kernel based on an exact number type is highly inefficient. +// It is used in this example primarily for illustration purposes. +// In an efficiency critical context, and/or for the purposes of +// benchmarking the Apollonius_graph_filtered_traits_2<> class should +// be used. #if defined CGAL_USE_LEDA // If LEDA is present use leda_real as the exact number type