Changeset 11975 for branches/ALPS/HeuristicLab.Analysis
- Timestamp:
- 02/10/15 09:57:29 (10 years ago)
- Location:
- branches/ALPS
- Files:
-
- 15 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS
- Property svn:mergeinfo changed
-
branches/ALPS/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Analysis merged: 11703,11854,11856,11914,11970
- Property svn:mergeinfo changed
-
branches/ALPS/HeuristicLab.Analysis/3.3/AlleleFrequencyAnalysis/AlleleFrequencyAnalyzer.cs
r11171 r11975 37 37 [Item("AlleleFrequencyAnalyzer", "An operator for analyzing the frequency of alleles.")] 38 38 [StorableClass] 39 public abstract class AlleleFrequencyAnalyzer<T> : SingleSuccessorOperator, IAnalyzer where T : class, IItem {39 public abstract class AlleleFrequencyAnalyzer<T> : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator where T : class, IItem { 40 40 public virtual bool EnabledByDefault { 41 41 get { return false; } -
branches/ALPS/HeuristicLab.Analysis/3.3/BestScopeSolutionAnalyzer.cs
r11677 r11975 37 37 [Item("BestScopeSolutionAnalyzer", "An operator that extracts the scope containing the best quality.")] 38 38 [StorableClass] 39 public class BestScopeSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {39 public class BestScopeSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator { 40 40 41 41 public virtual bool EnabledByDefault { … … 73 73 [StorableHook(HookType.AfterDeserialization)] 74 74 private void AfterDeserialization() { 75 // BackwardsCompatibility3.3 76 #region Backwards compatible code, remove with 3.4 75 77 if (!Parameters.ContainsKey("BestSolution ResultName")) 76 78 Parameters.Add(new FixedValueParameter<StringValue>("BestSolution ResultName", "The name of the result for storing the best solution.", new StringValue("Best Solution"))); 79 if (Parameters.ContainsKey("BestSolution")) Parameters.Remove("BestSolution"); 80 if (Parameters.ContainsKey("BestKnownSolution")) Parameters.Remove("BestKnownSolution"); 81 #endregion 77 82 } 78 83 #endregion … … 114 119 if (!results.ContainsKey(BestSolutionResultName)) { 115 120 var cloner = new Cloner(); 116 //avoid cloning of subscopes 121 //avoid cloning of subscopes and the results collection that the solution is put in 122 cloner.RegisterClonedObject(results, new ResultCollection()); 117 123 cloner.RegisterClonedObject(currentBestScope.SubScopes, new ScopeList()); 118 124 var solution = cloner.Clone(currentBestScope); … … 127 133 || !max && qualities[i].Value < bestQuality) { 128 134 var cloner = new Cloner(); 129 //avoid cloning of subscopes 135 //avoid cloning of subscopes and the results collection that the solution is put in 136 cloner.RegisterClonedObject(results, new ResultCollection()); 130 137 cloner.RegisterClonedObject(currentBestScope.SubScopes, new ScopeList()); 131 138 var solution = cloner.Clone(currentBestScope); -
branches/ALPS/HeuristicLab.Analysis/3.3/DataVisualization/DataRow.cs
r11171 r11975 76 76 this.values = new ObservableList<double>(original.values); 77 77 } 78 public DataRow() : this("DataRow") { } 78 79 public DataRow(string name) 79 80 : base(name) { … … 116 117 OnVisualPropertiesChanged(); 117 118 } 119 protected override void OnNameChanged() { 120 base.OnNameChanged(); 121 VisualProperties.DisplayName = Name; 122 } 118 123 } 119 124 } -
branches/ALPS/HeuristicLab.Analysis/3.3/HeuristicLab.Analysis-3.3.csproj
r11677 r11975 159 159 <Compile Include="QualityAnalysis\QualityDistributionAnalyzer.cs" /> 160 160 <Compile Include="QualityAnalysis\ScaledQualityDifferenceAnalyzer.cs" /> 161 <Compile Include="Statistics\BonferroniHolm.cs" /> 162 <Compile Include="Statistics\EnumerableStatisticsExtension.cs" /> 163 <Compile Include="Statistics\Fitting\ExpFitting.cs" /> 164 <Compile Include="Statistics\Fitting\IFitting.cs" /> 165 <Compile Include="Statistics\KruskalWallisTest.cs" /> 166 <Compile Include="Statistics\Fitting\LinearLeastSquaresFitting.cs" /> 167 <Compile Include="Statistics\Fitting\LogFitting.cs" /> 161 168 <Compile Include="Statistics\NormalDistribution.cs" /> 169 <Compile Include="Statistics\PairwiseTest.cs" /> 170 <Compile Include="Statistics\SampleSizeDetermination.cs" /> 162 171 <Compile Include="ValueAnalysis\SingleValueAnalyzer.cs" /> 163 172 <Compile Include="ValueAnalysis\MinAverageMaxValueAnalyzer.cs" /> -
branches/ALPS/HeuristicLab.Analysis/3.3/MultiObjective/ParetoFrontAnalyzer.cs
r11171 r11975 31 31 [Item("ParetoFrontAnalyzer", "Analyzer for multiobjective problems that collects and presents the current Pareto front as double matrix as well as the solution scopes that lie on the current front.")] 32 32 [StorableClass] 33 public abstract class ParetoFrontAnalyzer : SingleSuccessorOperator, IAnalyzer {33 public abstract class ParetoFrontAnalyzer : SingleSuccessorOperator, IAnalyzer, IMultiObjectiveOperator { 34 34 public virtual bool EnabledByDefault { 35 35 get { return true; } -
branches/ALPS/HeuristicLab.Analysis/3.3/PopulationDiversityAnalysis/PopulationDiversityAnalyzer.cs
r11171 r11975 40 40 [Item("PopulationDiversityAnalyzer", "An operator for analyzing the solution diversity in a population.")] 41 41 [StorableClass] 42 public abstract class PopulationDiversityAnalyzer<T> : SingleSuccessorOperator, IAnalyzer where T : class, IItem {42 public abstract class PopulationDiversityAnalyzer<T> : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator where T : class, IItem { 43 43 public virtual bool EnabledByDefault { 44 44 get { return false; } -
branches/ALPS/HeuristicLab.Analysis/3.3/PopulationDiversityAnalysis/SingleObjectivePopulationDiversityAnalyzer.cs
r11171 r11975 36 36 [Item("SingleObjectivePopulationDiversityAnalyzer", "An operator for analyzing the solution diversity in a population.")] 37 37 [StorableClass] 38 public class SingleObjectivePopulationDiversityAnalyzer : SingleSuccessorOperator, IAnalyzer, ISimilarityBasedOperator {38 public class SingleObjectivePopulationDiversityAnalyzer : SingleSuccessorOperator, IAnalyzer, ISimilarityBasedOperator, ISingleObjectiveOperator { 39 39 #region ISimilarityBasedOperator Members 40 40 [Storable] -
branches/ALPS/HeuristicLab.Analysis/3.3/QualityAnalysis/BestAverageWorstQualityAnalyzer.cs
r11171 r11975 36 36 [Item("BestAverageWorstQualityAnalyzer", "An operator which analyzes the best, average and worst quality of solutions in the scope tree.")] 37 37 [StorableClass] 38 public sealed class BestAverageWorstQualityAnalyzer : AlgorithmOperator, IAnalyzer {38 public sealed class BestAverageWorstQualityAnalyzer : AlgorithmOperator, IAnalyzer, ISingleObjectiveOperator { 39 39 #region Parameter properties 40 40 public ValueLookupParameter<BoolValue> MaximizationParameter { -
branches/ALPS/HeuristicLab.Analysis/3.3/QualityAnalysis/BestAverageWorstQualityCalculator.cs
r11171 r11975 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Operators; 26 using HeuristicLab.Optimization; 26 27 using HeuristicLab.Parameters; 27 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 33 34 [Item("BestAverageWorstQualityCalculator", "An operator which calculates the best, average and worst quality of solutions in the scope tree.")] 34 35 [StorableClass] 35 public sealed class BestAverageWorstQualityCalculator : SingleSuccessorOperator {36 public sealed class BestAverageWorstQualityCalculator : SingleSuccessorOperator, ISingleObjectiveOperator { 36 37 public ValueLookupParameter<BoolValue> MaximizationParameter { 37 38 get { return (ValueLookupParameter<BoolValue>)Parameters["Maximization"]; } -
branches/ALPS/HeuristicLab.Analysis/3.3/QualityAnalysis/BestQualityMemorizer.cs
r11171 r11975 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Operators; 26 using HeuristicLab.Optimization; 26 27 using HeuristicLab.Parameters; 27 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 33 34 [Item("BestQualityMemorizer", "An operator that updates the best quality found so far with those qualities contained in the scope tree.")] 34 35 [StorableClass] 35 public class BestQualityMemorizer : SingleSuccessorOperator {36 public class BestQualityMemorizer : SingleSuccessorOperator, ISingleObjectiveOperator { 36 37 public ValueLookupParameter<BoolValue> MaximizationParameter { 37 38 get { return (ValueLookupParameter<BoolValue>)Parameters["Maximization"]; } -
branches/ALPS/HeuristicLab.Analysis/3.3/QualityAnalysis/QualityAnalyzer.cs
r11171 r11975 36 36 [Item("QualityAnalyzer", "An operator which analyzes the quality of solutions in the scope tree.")] 37 37 [StorableClass] 38 public sealed class QualityAnalyzer : AlgorithmOperator, IAnalyzer {38 public sealed class QualityAnalyzer : AlgorithmOperator, IAnalyzer, ISingleObjectiveOperator { 39 39 #region Parameter properties 40 40 public ValueLookupParameter<BoolValue> MaximizationParameter { -
branches/ALPS/HeuristicLab.Analysis/3.3/QualityAnalysis/QualityDistributionAnalyzer.cs
r11171 r11975 32 32 [Item("QualityDistributionAnalyzer", "Analyzes the distribution of the quality values in that it adds a Histogram of them into the result collection.")] 33 33 [StorableClass] 34 public class QualityDistributionAnalyzer : SingleSuccessorOperator, IAnalyzer, IIterationBasedOperator {34 public class QualityDistributionAnalyzer : SingleSuccessorOperator, IAnalyzer, IIterationBasedOperator, ISingleObjectiveOperator { 35 35 36 36 #region Parameter properties -
branches/ALPS/HeuristicLab.Analysis/3.3/QualityAnalysis/ScaledQualityDifferenceAnalyzer.cs
r11171 r11975 33 33 A value towards 0 always means that it's closer to the better fitness value, while a value towards 1 means that it's closer to the worse fitness value.")] 34 34 [StorableClass] 35 public class ScaledQualityDifferenceAnalyzer : SingleSuccessorOperator, IAnalyzer {35 public class ScaledQualityDifferenceAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator { 36 36 public virtual bool EnabledByDefault { 37 37 get { return true; }
Note: See TracChangeset
for help on using the changeset viewer.