Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#393 closed enhancement (done)

Refactor GP crossover operators to extract common code into the abstract base class GPCrossoverBase

Reported by: gkronber Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.0
Component: ZZZ OBSOLETE: GP Version: 3.2
Keywords: Cc:

Description (last modified by gkronber)

  • StandardCrossover
  • LangdonHomologousCrossover
  • SizefairCrossover

Change History (8)

comment:1 Changed 12 years ago by gkronber

  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed 12 years ago by gkronber

simplified StandardCrossOver to a simple sub-tree swapping crossover with max size and height constraints with r832. The old version should probably be revived as HL2StandardCrossover.

comment:3 Changed 12 years ago by gkronber

improved sizefair crossover operator with r833.

comment:4 Changed 12 years ago by gkronber

with r835:

  • added another abstract base class for GP crossover operators with maxsize and maxheight constraints
  • changed StandardCrossOver to inherit from SizeConstrictedGPCrossoverBase
  • changed SizeFairCrossOver to inherit from SizeConstrictedGPCrossoverBase
  • generally improved code of SizeFairCrossOver
  • changed LangdonHomologousCrossOver to inherit from SizeFairCrossOver and implemented only the method to finally select branches.

comment:5 Changed 12 years ago by gkronber

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 12 years ago by swagner

  • Milestone changed from 3.2 to Iteration 0

Milestone 3.2 deleted

comment:7 Changed 11 years ago by swagner

  • Milestone changed from Iteration 0 to Current

Milestone Iteration 0 deleted

comment:11 Changed 11 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.