Free cookie consent management tool by TermsFeed Policy Generator

Opened 14 years ago

Last modified 14 years ago

#1308 closed defect

Michalewicz Manipulators fail when used in MultiRealVectorManipulator — at Version 2

Reported by: cneumuel Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.3
Component: Encodings.RealVectorEncoding Version: 3.3.3
Keywords: Cc:

Description (last modified by abeham)

Exception when MichalewiczNonUniformOnePositionManipulator or MichalewiczNonUniformAllPositionsManipulator are used in MultiRealVectorManipulator: "MichalewiczNonUniformOnePositionManipulator: Parameter Iterations could not be found."

Reason:

  • The ActualName of the parameter Iterations is not set correctly (only when used in an MultiRealVectorManipulator). The ActualName should be set to Generations.

Steps to reproduce:

  • Create genetic algorithm
  • Add single objective test function as problem
  • In algorithm parameters select MultiRealVectorManipulator as Mutator
  • Start the algorithm

Change History (2)

comment:1 Changed 14 years ago by cneumuel

  • Description modified (diff)

comment:2 Changed 14 years ago by abeham

  • Description modified (diff)
  • Milestone changed from HeuristicLab x.x.x to HeuristicLab 3.3.3

That's true and an ugly problem. In order to wire this correctly the MultiRealVectorManipulator would need to translate the parameter. Which means that all Multi(Manipulator|Crossover) operators would need to translate all parameters of all the operators that they hold. This can't be done dynamically because the operator needs to implement the respective interface.

In any case we should fix this in the next release.

Note: See TracTickets for help on using tickets.