Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/03/12 17:13:31 (12 years ago)
Author:
epitzer
Message:

improve information analysis #1696

  • fixed a bug in quality delta filtering
  • report finer-grained results
  • add total entropy
  • add peak values to results
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Analysis/InformationAnalysisCalculator.cs

    r7128 r8725  
    2525      get { return (LookupParameter<IntValue>)Parameters["Regularity"]; }
    2626    }
     27    public LookupParameter<IntValue> DiversityParameter {
     28      get { return (LookupParameter<IntValue>)Parameters["Diversity"]; }
     29    }
    2730    public LookupParameter<DoubleArray> InformationContentParameter {
    2831      get { return (LookupParameter<DoubleArray>)Parameters["InformationContent"]; }
     
    3437      get { return (LookupParameter<DoubleArray>)Parameters["DensityBasinInformation"]; }
    3538    }
     39    public LookupParameter<DoubleArray> TotalEntropyParameter {
     40      get { return (LookupParameter<DoubleArray>)Parameters["TotalEntropy"]; }
     41    }
    3642    public LookupParameter<DoubleArray> EpsilonQuantilesParameter {
    3743      get { return (LookupParameter<DoubleArray>)Parameters["EpsilonQuantiles"]; }
     
    4248    [StorableConstructor]
    4349    protected InformationAnalysisCalculator(bool deserializing) : base(deserializing) { }
    44     public InformationAnalysisCalculator()
    45       : base() {
     50    public InformationAnalysisCalculator() {
    4651      Parameters.Add(new LookupParameter<DataTable>("QualityTrail", "Historical quality trail of a walk over a fitness landscape."));
    4752      Parameters.Add(new ValueLookupParameter<IntValue>("NQuantiles", "Number of epsilon quantiles to calculate information analysis."));
    4853      Parameters.Add(new LookupParameter<DoubleValue>("InformationStability"));
    4954      Parameters.Add(new LookupParameter<IntValue>("Regularity"));
     55      Parameters.Add(new LookupParameter<IntValue>("Diversity"));
    5056      Parameters.Add(new LookupParameter<DoubleArray>("InformationContent"));
    5157      Parameters.Add(new LookupParameter<DoubleArray>("PartialInformationContent"));
    5258      Parameters.Add(new LookupParameter<DoubleArray>("DensityBasinInformation"));
     59      Parameters.Add(new LookupParameter<DoubleArray>("TotalEntropy"));
    5360      Parameters.Add(new LookupParameter<DoubleArray>("EpsilonQuantiles", "Considered values of epsilon, selected as quantiles of actual quality differences"));
    5461    }
     
    6673        NQuantilesParameter.ActualValue.Value);
    6774      RegularityParameter.ActualValue = new IntValue(analysis.Regularity);
     75      DiversityParameter.ActualValue = new IntValue(analysis.Diversity);
    6876      InformationStabilityParameter.ActualValue = new DoubleValue(analysis.InformationStability);
    6977      InformationContentParameter.ActualValue = new DoubleArray(analysis.InformationContent.ToArray());
    7078      PartialInformationContentParameter.ActualValue = new DoubleArray(analysis.PartialInformationContent.ToArray());
    7179      DensityBasinInformationParameter.ActualValue = new DoubleArray(analysis.DensityBasinInformation.ToArray());
     80      TotalEntropyParameter.ActualValue = new DoubleArray(analysis.TotalEntropy.ToArray());
    7281      EpsilonQuantilesParameter.ActualValue = new DoubleArray(analysis.QualityDelta.ToArray());
    7382      return base.Apply();
Note: See TracChangeset for help on using the changeset viewer.