Opened 13 days ago

Last modified 13 days ago

#3020 reviewing defect

The MutatorParameter of genetic algortihms is replaced during deserialization

Reported by: mkommend Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.17
Component: Algorithms.GeneticAlgorithm Version: trunk
Keywords: Cc:

Description

#2792 changed the mutator parameter of genetic algorithms from an optional value parameter to a value parameter. This has been implemented for backwards compatibility in the after deserialization hook by checking if the parameter is an optional value parameter and replacing it accordingly. However, value parameters are derived from optional value parameters and thus the parameter gets always replace regardless of whether it is already of the correct type.

Change History (2)

comment:1 Changed 13 days ago by mkommend

  • Status changed from new to accepted

comment:2 Changed 13 days ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from accepted to reviewing

r17198: Adapated AfterDeserializationHook of genetic algorithms to check if the mutator parameter already has the correct type. In detail the following algorithms have been adapted: ALPS-GA, ALPS-OSGA, GA, Island-GA, NSGA-2, Island-OSGA, OSGA, SASEGASA.

Note: See TracTickets for help on using tickets.