Subject: CGAL users discussion list
List archive
- From: KHartmann <>
- To:
- Subject: [cgal-discuss] Data structure performance differences
- Date: Mon, 18 Apr 2016 09:59:13 -0700 (PDT)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:yqmo9BN7ik5FGXAn69wl6mtUPXoX/o7sNwtQ0KIMzox0KPn5rarrMEGX3/hxlliBBdydsKIUzbSM+Pm4CCQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTnkb7osMSLMk1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv/hpCvurOv1gBfwDVGxnYCgJ45jguhDHCAeO/XABSX4+kxxSAgGD4gupcI32t37ZluNnxCyTO8u+GbM0UC6+6q5tTjfhgyJBMCQ2pjKEwvdshb5W9Uvy7yd0xJTZNdrNbPc=
Hi,
I have used both the 2D Triangulation and 2D Arrangement classes.
I have found that adding constraint edges to a Triangulation is
extremely fast regardless of how large the Triangulation grows.
But I have found, when adding edges to an Arrangement, the insertion
time gets longer and longer as the Arrangement grows. (I am only adding
straight line segments and x_monotone arcs).
Is this to be expected? What is the order of these two Algorithms?
It seems that adding a constraint edge to a Triangulation might be
constant time O(1). But perhaps adding edges to an Arrangement is somewhat
more expensive O( n-squared )?
Are there any tricks that I might use to speed up insertion time into
an Arrangement? Right now I'm adding edges one at a time in arbitrary
order.
Thanks,
Kevin
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Data-structure-performance-differences-tp4661842.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Data structure performance differences, KHartmann, 04/18/2016
- Re: [cgal-discuss] Data structure performance differences, Efi Fogel, 04/18/2016
- Re: [cgal-discuss] Data structure performance differences, KHartmann, 04/18/2016
- Re: [cgal-discuss] Data structure performance differences, Efi Fogel, 04/18/2016
Archive powered by MHonArc 2.6.18.