Tom Kaitchuck wrote: > OK, so I've finally gotten around to looking at the NGrouting source, and > I have a few questions. Which are hopefully simple to answer. > > First in node/rt/StandardNodeEstimator.java on line 162 ish there is: > if (pDNF==0) > pDNF = pLegitDNF; > Shouldn't this be: > if (pDNF<pLegitDNF) > pDNF = pLegitDNF; > That would seem to make more since, unless 0 indicates something else. > What it's supposed to be checking for is the case when we don't have any data at all. However, I think your version is better, because we should consider any pDNF < pLegitDNF to be suspect, and nudge it up.
_______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
