Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#713 closed enhancement (done)

Hindsight is 20/20: FunctionBase shouldn't extend from OperatorBase

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

Description

FunctionBase disables almost all methods of OperatorBase. In the current GP implementation functions are treated more like symbols than operators and are thus something conceptually different.

Change History (17)

comment:1 Changed 12 years ago by gkronber

  • Status changed from new to assigned

comment:2 Changed 12 years ago by gkronber

Created a branch (already including a large changeset) with r2202.

comment:3 Changed 12 years ago by gkronber

r2210:

  • introduced a plugin for GP interfaces
  • created a new interface IGeneticProgrammingModel which represents GP models in HL scopes instead of IFunctionTree
  • changed interfaces IFunction and IFunctionTree
  • moved some files to new directories (general housekeeping)
  • changed all GP operators and engines to work with IGeneticProgrammingModels
  • removed parameters TreeSize and TreeHeight in all GP operators
  • changed parameter OperatorLibrary to FunctionLibrary in all GP operators

comment:4 Changed 12 years ago by gkronber

r2211:

  • renamed MinArity and MaxArity properties
  • fixed a caching bug in the Dataset
  • renamed BakedTreeEvaluator to HL3TreeEvaluator
  • deleted class BakedFunctionTree

comment:5 Changed 12 years ago by gkronber

r2212:

  • added project GP.Operators
  • moved operators from plugin GP to plugin GP.Operators
  • deleted unused constraints
  • removed dependency of GP plugins on Constraints plugin
  • moved StructID functions into directory Symbols
  • deleted unused class FunView
  • implemented add and remove functionality for the FunctionLibraryView

comment:6 Changed 12 years ago by gkronber

r2215: fixed build errors.

comment:7 Changed 12 years ago by gkronber

r2216:

  • cleaned code
  • reintegrated GP.Boolean and GP.SantaFe
  • worked on serialization of function trees

comment:8 Changed 12 years ago by gkronber

Worked on persistence of function trees with r2218.

comment:9 Changed 12 years ago by gkronber

Fixed serialization of function trees with r2219.

comment:10 Changed 12 years ago by gkronber

Deleted unused file GeneralTreeSerializer.cs and commented code with r2220.

comment:11 Changed 12 years ago by gkronber

Merged changes from GP-refactoring branch back into the trunk with r2222.

branch changesets:

comment:12 Changed 12 years ago by gkronber

deleted GP-Refactoring branch after merge to trunk with r2225.

comment:13 Changed 12 years ago by gkronber

r2226:

  • Added extension method IsAlmost to type double
  • changed evaluation semantics of boolean operations in HL3TreeEvaluator

comment:14 Changed 12 years ago by gkronber

Remove obsolete parameter TreeSize in VariableQualityImpactCalculator with r2241.

comment:15 Changed 12 years ago by gkronber

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

comment:16 Changed 10 years ago by swagner

  • Milestone changed from Iteration 4 to Current

Milestone Iteration 4 deleted

comment:11 Changed 10 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.