mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
make concurrent calc available
This commit is contained in:
parent
a0ac5b9935
commit
323dbbfa87
1 changed files with 9 additions and 9 deletions
|
|
@ -398,16 +398,16 @@ public class ComputationalLaboratory {
|
|||
for(final BenchmarkInstance p : benchmarkInstances){
|
||||
for(int run=0;run<runs;run++){
|
||||
final int r = run;
|
||||
runAlgorithm(p, algorithm, r+1);
|
||||
// runAlgorithm(p, algorithm, r+1);
|
||||
|
||||
// executor.submit(new Runnable(){
|
||||
//
|
||||
// @Override
|
||||
// public void run() {
|
||||
// ;
|
||||
// }
|
||||
//
|
||||
// });
|
||||
executor.submit(new Runnable(){
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
runAlgorithm(p, algorithm, r+1);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue