Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/30/17 23:10:29 (6 years ago)
Author:
abeham
Message:

#1614:

  • Added LAHC and pLAHC-s
  • Changed all algorithms to update high frequency results only every second
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Evolutionary/ESGQAPSolution.cs

    r15562 r15563  
    2121
    2222using HeuristicLab.Common;
     23using HeuristicLab.Data;
    2324using HeuristicLab.Encodings.IntegerVectorEncoding;
    2425using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    2829
    2930    [Storable]
    30     private double sParam;
     31    internal DoubleValue sParam;
    3132    public double SParam {
    32       get { return sParam; }
     33      get { return sParam.Value; }
    3334      set {
    34         if (sParam == value) return;
    35         sParam = value;
     35        if (sParam.Value == value) return;
     36        sParam.Value = value;
    3637        OnPropertyChanged(nameof(SParam));
    3738      }
     
    4243    protected ESGQAPSolution(ESGQAPSolution original, Cloner cloner)
    4344    : base(original, cloner) {
    44       sParam = original.sParam;
     45      sParam = cloner.Clone(original.sParam);
    4546    }
    4647    public ESGQAPSolution(IntegerVector assignment, Evaluation eval, double sParam)
    4748      : base(assignment, eval) {
    48       this.sParam = sParam;
     49      this.sParam = new DoubleValue(sParam);
    4950    }
    5051   
Note: See TracChangeset for help on using the changeset viewer.