Archived
0

use always modify ucs for search

This commit is contained in:
iMoHax
2015-08-20 17:33:52 +03:00
parent 3bc74482db
commit 2d6c0f8f9e

View File

@@ -150,12 +150,8 @@ public class Crawler<T> {
setTarget(target);
int maxDeep = s.isEntry(target) ? maxSize - graph.getMinJumps() * 2 : graph.getMinLevel();
if (maxDeep < 0) maxDeep = 0;
if (maxSize - maxDeep <= SPLIT_SIZE){
found = ucs(start(s), maxDeep, count);
} else {
found = ucs2(start(s), maxDeep, count);
}
}
LOG.debug("Found {} paths", found);
callback.endSearch();
setTarget(null);