Commit adff4742 authored by Shyam Upadhyay's avatar Shyam Upadhyay
Browse files

major bugfix in parrallel

parent 2b52c2a9
......@@ -61,8 +61,8 @@ public abstract class AbstractEvaluation {
ExecutorService executor = Executors.newFixedThreadPool(NUM_THREADS);
for(int i=0;i<NUM_THREADS;i++)
{
System.out.println(i*(testPaths.size()/NUM_THREADS)+" "+((i+1)*(testPaths.size()/NUM_THREADS)-1));
List<String> subList = testPaths.subList(i*(testPaths.size()/NUM_THREADS), ((i+1)*(testPaths.size()/NUM_THREADS)-1));
System.out.println(i*(testPaths.size()/NUM_THREADS)+" "+((i+1)*(testPaths.size()/NUM_THREADS)));
List<String> subList = testPaths.subList(i*(testPaths.size()/NUM_THREADS), ((i+1)*(testPaths.size()/NUM_THREADS)));
LinkingWorker linkingWorker = new LinkingWorker(subList, outputdir,linker, K);
executor.submit(linkingWorker);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment