Consistency and backward compatibility of OptHistory
Created by: MorrisNein
Changelist:
-
GraphOptimiser
andInitialGenerationBuilder
now useinitial_individuals
instead ofinitial_graphs
in favor ofOptHistory
consistency. - Individual serialization: fitness that was saved as
float
in older histories is now converted toSingleObjFitness
when loaded. -
OptHistory.load()
is now able to getos.Pathlike
objects, as its signature says. - A new test for backward compatibility of
OptHistory.load()
is added. -
ParentOperator
class is temporary imported atopt_history
until the issue is closed.