Free cookie consent management tool by TermsFeed Policy Generator

Changeset 772


Ignore:
Timestamp:
11/18/08 11:10:44 (16 years ago)
Author:
abeham
Message:

[TICKET #367] throw error when quality < 0 in ProportionalSelector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Selection/ProportionalSelector.cs

    r77 r772  
    109109            }
    110110          } else {
     111            if (solutionQuality < 0.0) throw new InvalidOperationException("ERROR in ProportionalSelector: Non-windowing is not working with quality values < 0. Use windowing.");
    111112            if (!maximization) qualities[i] = limit - solutionQuality;
    112113            else qualities[i] = solutionQuality;
Note: See TracChangeset for help on using the changeset viewer.