Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/17 16:52:36 (8 years ago)
Author:
abeham
Message:

#2457: working on MemPR integration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.Analysis.FitnessLandscape/3.3/CharacteristicCalculator/AdaptiveWalkCalculator.cs

    r13920 r14776  
    5858      characteristics = cloner.Clone(original.characteristics);
    5959    }
    60     public AdaptiveWalkCalculator() {
     60    public AdaptiveWalkCalculator() : this(new AdaptiveWalk()) { }
     61    public AdaptiveWalkCalculator(AdaptiveWalk walker) {
    6162      Name = ItemName;
    6263      Description = ItemDescription;
    63       walker = new AdaptiveWalk();
     64      this.walker = walker;
    6465      characteristics = new CheckedItemList<StringValue>(
    6566        new[] { "AutoCorrelation1", "CorrelationLength", "InformationContent",
    66         "PartialInformationContent", "DensityBasinInformation", "InformationStability", 
     67        "PartialInformationContent", "DensityBasinInformation", "InformationStability",
    6768        "Diversity", "Regularity", "TotalEntropy", "PeakInformationContent",
    6869        "PeakDensityBasinInformation" }.Select(x => new StringValue(x)));
Note: See TracChangeset for help on using the changeset viewer.