Free cookie consent management tool by TermsFeed Policy Generator

Opened 4 years ago

Closed 4 years ago

#3081 closed enhancement (done)

Add static calculation methods to all DiscreteDoubleValueModifiers

Reported by: dpiringe Owned by: dpiringe
Priority: medium Milestone: HeuristicLab 3.3.17
Component: Optimization.Operators Version: trunk
Keywords: Cc:

Description

The reason behind this change is to prevent the use of ILookupParameter and IValueLookupParameter. It should be possible to use this modifiers within a single line of code.

Change History (7)

comment:1 Changed 4 years ago by dpiringe

  • Status changed from new to accepted

comment:2 Changed 4 years ago by dpiringe

r17729

  • added static calculation method in:
    • ExponentialDiscreteDoubleValueModifier
    • GeneralizedExponentialDiscreteDoubleValueModifier
    • LinearDiscreteDoubleValueModifier
    • QuadraticDiscreteDoubleValueModifier
    • SquareRootDiscreteDoubleValueModifier

comment:3 Changed 4 years ago by dpiringe

  • Version set to trunk

comment:4 Changed 4 years ago by dpiringe

r17730

  • renamed method Calculate -> Apply
  • copied/added comments of the method Modify -> Apply

comment:5 Changed 4 years ago by dpiringe

  • Owner changed from dpiringe to swagner
  • Status changed from accepted to reviewing

comment:6 Changed 4 years ago by swagner

  • Owner changed from swagner to dpiringe
  • Status changed from reviewing to readytorelease

ok, thanks

comment:7 Changed 4 years ago by dpiringe

  • Resolution set to done
  • Status changed from readytorelease to closed

r17732: merged r17729:17730 into stable

Note: See TracTickets for help on using tickets.