Skip to content

Commit

Permalink
feat: Tested all
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrover112 committed Jun 20, 2021
1 parent 96d901d commit f211e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mp.py
Expand Up @@ -5,7 +5,7 @@
import time
from multiprocessing import Lock, Pool, Process, Queue

from algorithms import genetic_algorithm, hill_climb, random_search, simulated_annealing
from algorithms import genetic_algorithm, genetic_algorithm_reversed, hill_climb, random_search, simulated_annealing
from flightscheduling import domain, fitness_function

"""def f(l, i):
Expand Down Expand Up @@ -41,7 +41,7 @@

# inputs=[(d,f)]
# Multiprocessing starts here
start = time.time()
start = time.time()
pool = multiprocessing.Pool(multiprocessing.cpu_count())
result = pool.starmap_async(genetic_algorithm, inputs) # Async run
pool.close()
Expand Down

0 comments on commit f211e7a

Please sign in to comment.