Re: [Tech] node swapping algorithm
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
This message is part of the following thread:
the complete thread tree sorted by date
Daniel Cheng at
2008-04-15 03:44
Matthew Toseland at
2008-04-15 10:28
Author:
Michael Rogers
Date:
2008-04-15 08:28
UTC
To:
tech
Subject:
Re: [Tech] node swapping algorithm
Daniel Cheng wrote:
> 750 if(Math.abs(friendLocs[i] - myLoc) <=
> Double.MIN_VALUE*2) continue;
What's the purpose of this check and why does it use Math.abs instead of
Location.distance?
Cheers,
Michael