[Biopython-dev] [Bug 2489] KDTree NN search without specifying radius

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Apr 15 14:19:04 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2489





------- Comment #1 from samnemo at gmail.com  2008-04-15 10:19 EST -------
Created an attachment (id=908)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=908&action=view)
updated CPP file

added public function void KDTree::search_nn(float* coord,bool allowzero)
and private function 
void KDTree::_search_r(Node* node,float* coord,bool allowzero)

other changes include leaving coordinates as squared distances when storing
them. the user is then responsible for calling sqrt if desired.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list