You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to ensure proper handling of different data types of genes in the parallel GA they should be stored inside a dict using the Manager class from multiprocessing. Chromosome class should take a list of genes and an instance of the Manager class as input in the constructor. Next, in the field genome a manager.dict with genes as values should be remembered to allow child processes using them for fitness evaluation.
The text was updated successfully, but these errors were encountered:
In order to ensure proper handling of different data types of genes in the parallel GA they should be stored inside a
dict
using theManager
class frommultiprocessing
.Chromosome
class should take a list of genes and an instance of theManager
class as input in the constructor. Next, in the fieldgenome
amanager.dict
with genes as values should be remembered to allow child processes using them for fitness evaluation.The text was updated successfully, but these errors were encountered: