Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?


Chronological Thread 
  • From: Johannes Otepka <>
  • To:
  • Subject: Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?
  • Date: Wed, 25 Apr 2007 09:22:06 +0200

Thetis,

accoding to your method, i add a sentence "tree.build();" to codes,but i found another question too:
the building tree time is too long , it take 30s to build tree.

I don't know - You have to find out by yourself or maybe someone else knows the answer.
I can only give you 2 hints:
* compile it in release mode (debug mode is especially slow in the tree building process)
* as already mentoined I have no experience with Cartesian_d Kernel. But if you only require 2d points, use the "normal" Cartesian<double>::Point_2 class. Maybe that's the problem...

Cheers,
Johannes




Archive powered by MHonArc 2.6.16.

Top of Page