temporary fix to make jrpm extension compilable with my netbeans environment

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1151 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2005-12-01 23:03:54 +00:00
parent 8c0d982191
commit ecf765ec33
2 changed files with 5 additions and 1 deletions

BIN
libx/jrpm-SNAPSHOT.jar Normal file

Binary file not shown.

View File

@ -207,7 +207,7 @@ public class plasmaRankingCRProcess {
public static int genrci(File cr_in, File rci_out) throws IOException { public static int genrci(File cr_in, File rci_out) throws IOException {
if (!(cr_in.exists())) return 0; if (!(cr_in.exists())) return 0;
final kelondroAttrSeq cr = new kelondroAttrSeq(cr_in, false); kelondroAttrSeq cr = new kelondroAttrSeq(cr_in, false);
//if (rci_out.exists()) rci_out.delete(); // we want only fresh rci here (during testing) //if (rci_out.exists()) rci_out.delete(); // we want only fresh rci here (during testing)
if (!(rci_out.exists())) { if (!(rci_out.exists())) {
kelondroAttrSeq rcix = new kelondroAttrSeq("Global Ranking Reverse Citation Index", kelondroAttrSeq rcix = new kelondroAttrSeq("Global Ranking Reverse Citation Index",
@ -258,9 +258,13 @@ public class plasmaRankingCRProcess {
l = java.lang.Math.max(1, (System.currentTimeMillis() - start) / 1000); l = java.lang.Math.max(1, (System.currentTimeMillis() - start) / 1000);
System.out.println("processed " + count + " citations, " + (count / l) + " per second, rci.size = " + rci.size() + ", " + ((size - count) / (count / l)) + " seconds remaining; mem = " + Runtime.getRuntime().freeMemory()); System.out.println("processed " + count + " citations, " + (count / l) + " per second, rci.size = " + rci.size() + ", " + ((size - count) / (count / l)) + " seconds remaining; mem = " + Runtime.getRuntime().freeMemory());
} }
i.remove();
} }
// finished. write to file // finished. write to file
cr = null;
cr_in = null;
System.gc();
rci.toFile(rci_out); rci.toFile(rci_out);
return count; return count;
} }