Re: [Tech] node swapping algorithm

Top Page
Delete this message
Reply to this message
Author: Michael Rogers
Date:  
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