X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Frssearch.c;h=f14b0cd7a87670e6785d6a34bcc2d0adca4e3a22;hp=eb5e9583a3ef92c4c8e02a0fc30b2bd739d625b9;hb=b5f936bf08ab82b34f9529b72946c0cd66ef5a62;hpb=5500706eb06699d2ffe27cd1ca257748949f597a diff --git a/yarrg/rssearch.c b/yarrg/rssearch.c index eb5e958..f14b0cd 100644 --- a/yarrg/rssearch.c +++ b/yarrg/rssearch.c @@ -2,6 +2,8 @@ #include "rscommon.h" +DEBUG_DEFINE_DEBUGF(search); + typedef struct Neighbour { struct Neighbour *next; int islandid; @@ -35,6 +37,13 @@ static Neighbour *get_neighbours(int isle) { static double best_absolute, best_perleague; static void process_route(int nports, int totaldist) { + int i; + + debugf("========== ROUTE"); + for (i=0; i