#3020 closed defect (done)

The MutatorParameter of genetic algortihms is replaced during deserialization

Reported by: mkommend Owned by: mkommend
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 (5)

comment:1 Changed 16 months ago by mkommend

  • Status changed from new to accepted

comment:2 Changed 16 months 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.

comment:3 Changed 14 months ago by abeham

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

Reviewed r17198: thanks for fixing this!

comment:4 Changed 12 months ago by mkommend

r17352: Merged r17198 into stable.

comment:5 Changed 12 months ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed
Note: See TracTickets for help on using tickets.