View Single Post
Old 10-02-2008, 07:16 AM   #14
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by Antartica View Post
Here it is, attached is v1.2 of xepdmgr.
This release has at least two bugs related to the multiple tracked areas part:
1. Due to a badly put end condition (tracked_areas_num instead of tracked_areas_num-1) in the code to search for the best candidate merge areas, it will merge always with the first area, as he last one always has merge_with==0, merge_overhead==0.
2.I forgot to consider intersections of the tracked_areas when calculating the final area span. It's simply a matter of putting the code to calculate the intersection of two areas used in the MergeOne function in a separate function and use it when calculating the final area span.

I'll do it soon .
Antartica is offline   Reply With Quote