Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?
Chronological Thread
- From: "thetis guan" <>
- To:
- Subject: Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?
- Date: Wed, 25 Apr 2007 14:59:52 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=VzUNuZKNxR/WobN1+RN1EPOGc7wZTL+GBtcXWus2oFFT1pUPY1e4OO9yN8irTBHwdqvqAzm2jeh/XQk4MSx2iYiXJJOHuUHm7BQHd8gaaN5/+FSN6SGs+t43j/el7ziQgIOZ/C7+yFwddW+S0oOqji15Z4qBXcGwdbhx4Wp5sZk=
hi
Johannes
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.
[...]
Distance tr_dist;
// want to compute build time
Distance tr_dist;
// want to compute build time
DWORD dwStart = GetTickCount();
tree.build(); //builds the tree!!!
DWORD dwEnd = GetTickCount();
DWORD dwTimeTaken = dwEnd - dwStart; //this is build time result about 30s
Neighbor_search N1( tree, query, K, 0.0, false); // eps=10.0,
nearest=false
DWORD dwTimeTaken = dwEnd - dwStart; //this is build time result about 30s
Neighbor_search N1( tree, query, K, 0.0, false); // eps=10.0,
nearest=false
[...]
cheers,
thetis
- how to improve spatial searching efficiency and reduce searching time?, thetis guan, 04/19/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, Johannes Otepka, 04/20/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, thetis guan, 04/24/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, Johannes Otepka, 04/24/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, thetis guan, 04/25/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, Johannes Otepka, 04/25/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, thetis guan, 04/25/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, Johannes Otepka, 04/24/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, thetis guan, 04/24/2007
- Re: [cgal-discuss] how to improve spatial searching efficiency and reduce searching time?, Johannes Otepka, 04/20/2007
Archive powered by MHonArc 2.6.16.