Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/12/20 15:35:34 (4 years ago)
Author:
dleko
Message:

#2825 Add generation count to results. Minor refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2825-NSGA3/HeuristicLab.Algorithms.NSGA3/3.3/Utility.cs

    r17658 r17664  
    116116        internal static Tuple<TIn, TOut> MinArgMin<TIn, TOut>(Func<TIn, TOut> func, IEnumerable<TIn> inputs) where TOut : IComparable
    117117        {
     118            if (func == null) throw new ArgumentNullException(nameof(func));
    118119            if (inputs == null) throw new ArgumentNullException(nameof(inputs));
    119120            var it = inputs.GetEnumerator();
     
    162163        internal static Tuple<TIn, TOut> MaxArgMax<TIn, TOut>(Func<TIn, TOut> func, IEnumerable<TIn> inputs) where TOut : IComparable
    163164        {
     165            if (func == null) throw new ArgumentNullException(nameof(func));
    164166            if (inputs == null) throw new ArgumentNullException(nameof(inputs));
    165167            var it = inputs.GetEnumerator();
Note: See TracChangeset for help on using the changeset viewer.