Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/20 20:07:22 (4 years ago)
Author:
dleko
Message:

#2825 Remove unnecessary parameter. Refactoring.

File:
1 edited

Legend:

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

    r17688 r17693  
    44using HeuristicLab.Common;
    55using HeuristicLab.Core;
    6 using HeuristicLab.Optimization;
    76
    87namespace HeuristicLab.Algorithms.NSGA3
     
    109    public class ReferencePoint : IDeepCloneable
    1110    {
    12 
    1311        #region Properties
    1412
     
    109107            int innerPoints = innerDiv == 0 ? 0 : Utility.NCR(nDim + innerDiv - 1, innerDiv);
    110108            return outerPoints + innerPoints;
     109        }
     110
     111        public static int GetPopulationSizeForReferencePoints(int referencePoints)
     112        {
     113            return (referencePoints + 3) / 4 * 4;
    111114        }
    112115
Note: See TracChangeset for help on using the changeset viewer.