Free cookie consent management tool by TermsFeed Policy Generator

Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#112 closed enhancement (done)

Refactor functions plugin and adapt structId operators

Reported by: gkronber Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.0
Component: Functions Version: 3.1
Keywords: Cc:

Description

It's better to split class IFunction (which is an IOperator) into two classes. IFunction which is the definition of the function (can't have sub-trees) and IFunctionTree which is the application of a function in a tree. IFunctionTree contains a reference to the original function, stores local variables (different for each application point) and has sub-trees for function-arguments.

This also requires that all operators in StructureIdentification are adapted to the new data structure.

Change History (6)

comment:1 Changed 16 years ago by gkronber

  • Status changed from new to assigned

comment:2 Changed 16 years ago by gkronber

worked on ticket in a separate branch in r142, r143, r144, r145, r146, r147, r148, r149, r152, r153.

comment:3 Changed 16 years ago by gkronber

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

merged refactoring branch back into the trunk with r155. effects:

  • code is cleaner
  • some bugs squashed
  • gain in RAM efficiency
  • small loss in CPU-time efficiency (variable lookup in Constant and Variable)

comment:4 Changed 15 years ago by swagner

  • Milestone changed from 3.1 to Iteration 0

Milestone 3.1 deleted

comment:5 Changed 13 years ago by swagner

  • Milestone changed from Iteration 0 to Current

Milestone Iteration 0 deleted

comment:11 Changed 13 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.