idaks / PW-explorer

Apache License 2.0
16 stars 1 forks source link

Add Clingo threading support #35

Open sahil1105 opened 4 years ago

sahil1105 commented 4 years ago

Add an option to run clingo operations using multiple threads using the -t flag. e.g.

clingo -n0 foo.pl -t8

would run clingo on foo.pl with 8 threads, potentially speeding up the computation significantly. Would go in the run_clingo(..) function most likely. Will also need to add this flag to the NB-extension.