Am Donnerstag 04 Oktober 2007 schrieb Melchior FRANZ: > The last point is done with weighting factors, which are for > now configurable in the property tree and might need some more > adjustment. Please check problem cases and report any unwanted > behavior.
I'd prefer the evaluation formula changed to: good = 1e-20 + LENWGT*... The reason is that in if all 3 runway weights (len, width, surface) were zero, the heading hint would be completely ignored because runway quality will always be zero thus picking the first runway. Forcing all weights to nonzero always takes length/width/... into account, which might not be wanted in certain situations. Using the proposed change it is possible to get the original behaviour of the method (FGRunwayList::search) with a weight set of (0,0,0,1). Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel