Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/21/20 16:51:58 (4 years ago)
Author:
dleko
Message:

#2825 The reference points and the fronts are no longer stored.
Minor restructuring in NSGA3.

File:
1 edited

Legend:

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

    r17615 r17617  
    11using System.Collections.Generic;
    2 using HEAL.Attic;
    3 using HeuristicLab.Common;
    42
    53namespace HeuristicLab.Algorithms.NSGA3
     
    119     */
    1210
    13     [StorableType("96DCBD85-7C8B-4546-B6F5-FB4AE0DF7158")]
    14     internal class ReferencePoint : IDeepCloneable
     11    public class ReferencePoint
    1512    {
    16         #region Storable Properties
     13        #region Properties
    1714
    1815        public double[] Values { get; }
    19 
    20         #endregion Storable Properties
    21 
    22         #region Properties
    23 
    2416        public int NumberOfDimensions => Values.Length;
    2517
    2618        #endregion Properties
     19
     20        #region Constructors
    2721
    2822        public ReferencePoint(int numberOfDimensions)
     
    3832        }
    3933
    40         public IDeepCloneable Clone(Cloner cloner)
    41         {
    42             // no cloner is required to copy a Reference Point
    43             return new ReferencePoint(this);
    44         }
    45 
    46         public object Clone()
    47         {
    48             return new Cloner().Clone(this);
    49         }
     34        #endregion Constructors
    5035
    5136        // todo: use this (for optimization)
Note: See TracChangeset for help on using the changeset viewer.