Free cookie consent management tool by TermsFeed Policy Generator

Opened 12 years ago

Closed 12 years ago

#1871 closed enhancement (done)

Selectors should check for double.Nan and infinity qualities

Reported by: mkommend Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.7
Component: Selection Version: 3.3.7
Keywords: Cc:

Description

Currently all selectors assume that only valid quality values are passed to them. However, double.Nan and double.Infinity values can occur by a division through zero, logarithm of a negative number, etc. and are processed by the selectors without any notification yielding in an unpredictable behavior of the algorithm. Therefore, a check for invalid quality values should be added to all quality dependent selectors that throws an exception to avoid implementation errors.

Change History (8)

comment:1 Changed 12 years ago by mkommend

  • Milestone changed from HeuristicLab 3.3.x Backlog to HeuristicLab 3.3.7
  • Status changed from new to accepted

comment:2 Changed 12 years ago by mkommend

r7995: Added quality checks in all SingleObjectiveSelectors.

comment:3 Changed 12 years ago by mkommend

r7996: Improved performance of ProportionalSelector.

comment:4 Changed 12 years ago by mkommend

  • Owner changed from mkommend to gkronber
  • Status changed from accepted to reviewing

comment:5 Changed 12 years ago by gkronber

reviewed changes r7995 and r7996.

comment:6 Changed 12 years ago by gkronber

waiting a few days until the build server executed some tests ...

comment:7 Changed 12 years ago by gkronber

  • Status changed from reviewing to readytorelease

comment:8 Changed 12 years ago by gkronber

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.6 to 3.3.7
Note: See TracTickets for help on using tickets.