Changeset 8410
- Timestamp:
- 08/04/12 23:54:39 (12 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers-3.3.csproj
r8382 r8410 102 102 <Compile Include="Plugin.cs" /> 103 103 <Compile Include="Properties\AssemblyInfo.cs" /> 104 <Compile Include="VariableDuplicator.cs" /> 104 105 </ItemGroup> 105 106 <ItemGroup> -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/MutationPerformanceAnalyzer.cs
r8352 r8410 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Data; 28 using HeuristicLab.Encodings.PermutationEncoding; 28 29 using HeuristicLab.Operators; 29 30 using HeuristicLab.Optimization; 31 using HeuristicLab.Optimization.Operators; 30 32 using HeuristicLab.Parameters; 31 33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 58 60 get { return (ILookupParameter<DoubleValue>)Parameters["QualityAfterMutation"]; } 59 61 } 62 public ILookupParameter<Permutation> PermutationBeforeMutationParameter { 63 get { return (ILookupParameter<Permutation>)Parameters["PermutationBeforeMutation"]; } 64 } 65 public ILookupParameter<Permutation> PermutationAfterMutationParameter { 66 get { return (ILookupParameter<Permutation>)Parameters["PermutationAfterMutation"]; } 67 } 68 public IValueParameter<SingleObjectiveSolutionSimilarityCalculator> SimilarityCalculatorParameter { 69 get { return (IValueParameter<SingleObjectiveSolutionSimilarityCalculator>)Parameters["SimilarityCalculator"]; } 70 } 60 71 #endregion 61 72 … … 66 77 #endregion 67 78 68 ScatterPlot plot ;69 DataRow dtRow ;79 ScatterPlot plot, diversityPlot; 80 DataRow dtRow, dtDivRow; 70 81 int cnt = 0; 71 82 … … 83 94 Parameters.Add(new LookupParameter<DoubleValue>("QualityAfterMutation", "The evaluated quality of the child solution.")); 84 95 QualityAfterMutationParameter.ActualName = "TSPTourLengthM"; 96 97 Parameters.Add(new LookupParameter<Permutation>("PermutationBeforeMutation")); 98 QualityAfterMutationParameter.ActualName = "TSPTourClone"; 99 100 Parameters.Add(new LookupParameter<Permutation>("PermutationAfterMutation")); 101 QualityAfterMutationParameter.ActualName = "TSPTour"; 102 103 Parameters.Add(new ValueParameter<SingleObjectiveSolutionSimilarityCalculator>("SimilarityCalculator")); 85 104 } 86 105 … … 141 160 plot.VisualProperties.YAxisTitle = "Absolut Quality Difference"; 142 161 } 162 163 private void InitializeDiversityPlot() { 164 diversityPlot = new ScatterPlot("Mutation Diversity", null); 165 diversityPlot.VisualProperties.XAxisTitle = "Solution Index"; 166 diversityPlot.VisualProperties.YAxisTitle = "Diversity"; 167 } 143 168 } 144 169 }
Note: See TracChangeset
for help on using the changeset viewer.