Author: noodles
Date: 2002/09/08 10:33:51
Changing to output the max path when we've found it.
struct ll *curkey;
unsigned long distance, loop;
struct ll *curkey;
unsigned long distance, loop;
- printf("In findmaxpath\n");
distance = 0;
from = to = tmp = NULL;
hash_getkeysigs(0xF1BD4BE45B430367);
distance = 0;
from = to = tmp = NULL;
hash_getkeysigs(0xF1BD4BE45B430367);
from->keyid,
to->keyid,
distance);
from->keyid,
to->keyid,
distance);
+ dofindpath(to->keyid, from->keyid, false);
}
int main(int argc, char *argv[])
}
int main(int argc, char *argv[])
findmaxpath(30);
printf("--------\n");
findmaxpath(30);
findmaxpath(30);
printf("--------\n");
findmaxpath(30);
cleanupdb();
return EXIT_SUCCESS;
cleanupdb();
return EXIT_SUCCESS;