Changeset 9054
- Timestamp:
- 12/14/12 11:06:24 (12 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/AfterCrossoverCombinedOperator.cs
r9053 r9054 35 35 36 36 [Storable] 37 protected SolutionToPopulationAnalyzer solToPopAnalyzer; 38 39 [Storable] 37 40 protected VariableDuplicator varDuplicator; 38 41 … … 50 53 cxAnalyzer = original.cxAnalyzer != null ? (CrossoverPerformanceAnalyzer)original.cxAnalyzer.Clone(cloner) : null; 51 54 varDuplicator = original.varDuplicator != null ? (VariableDuplicator)original.cxAnalyzer.Clone(cloner) : null; 55 solToPopAnalyzer = original.solToPopAnalyzer != null ? (SolutionToPopulationAnalyzer)original.solToPopAnalyzer.Clone(cloner) : null; 52 56 } 53 57 … … 73 77 cxAnalyzer.SimilarityCalculatorParameter.Value = SimilarityCalculatorParameter.Value; 74 78 varDuplicator = new VariableDuplicator(); 79 solToPopAnalyzer = new SolutionToPopulationAnalyzer(); 80 solToPopAnalyzer.ChartPostfixParameter.Value = new Data.StringValue("after Crossover"); 75 81 76 82 Operators.Add(EvaluatorParameter.ActualValue); 77 83 Operators.Add(cxAnalyzer); 78 84 Operators.Add(varDuplicator); 85 Operators.Add(solToPopAnalyzer); 79 86 } 80 87 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/AfterMutationCombinedOperator.cs
r9053 r9054 44 44 [Storable] 45 45 protected IEvaluator evaluatorClone; 46 [Storable] 47 protected SolutionToPopulationAnalyzer solToPopAnalyzer; 46 48 47 49 [StorableConstructor] … … 49 51 protected AfterMutationCombinedOperator(AfterMutationCombinedOperator original, Cloner cloner) 50 52 : base(original, cloner) { 51 this.mAnalyzer = original.mAnalyzer != null ? (MutationPerformanceAnalyzer)original.mAnalyzer.Clone(cloner) : null; 52 this.varRemover = original.varRemover != null ? (VariableRemover)original.varRemover.Clone(cloner) : null; 53 mAnalyzer = original.mAnalyzer != null ? (MutationPerformanceAnalyzer)original.mAnalyzer.Clone(cloner) : null; 54 varRemover = original.varRemover != null ? (VariableRemover)original.varRemover.Clone(cloner) : null; 55 solToPopAnalyzer = original.solToPopAnalyzer != null ? (SolutionToPopulationAnalyzer)original.solToPopAnalyzer.Clone(cloner) : null; 53 56 } 54 57 … … 76 79 varRemover = new VariableRemover(); 77 80 81 solToPopAnalyzer = new SolutionToPopulationAnalyzer(); 82 solToPopAnalyzer.ChartPostfixParameter.Value = new Data.StringValue("after Mutation"); 83 78 84 Operators.Add(evaluatorClone); 79 85 Operators.Add(mAnalyzer); 80 86 Operators.Add(varRemover); 87 Operators.Add(solToPopAnalyzer); 81 88 } 82 89 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CombinedOperators/QAPAfterCrossoverCombinedOperator.cs
r9050 r9054 60 60 umAnalyzer.SolutionVariableName = "Assignment"; 61 61 cxAnalyzer.UnwantedMutationAnalyzerParameter.Value = umAnalyzer; 62 63 solToPopAnalyzer.SolutionParameter.ActualName = "Assignment"; 64 solToPopAnalyzer.QualityParameter.ActualName = "Quality"; 62 65 } 63 66 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CombinedOperators/QAPAfterMutationCombinedOperator.cs
r9045 r9054 56 56 57 57 varRemover.VariableNameParameter.Value.Value = "AssignmentClone"; 58 solToPopAnalyzer.SolutionParameter.ActualName = "Assignment"; 59 solToPopAnalyzer.QualityParameter.ActualName = "Quality"; 58 60 } 59 61 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CombinedOperators/TFAfterCrossoverCombinedOperator.cs
r9044 r9054 57 57 varDuplicator.CloneParameter.ActualName = "PointClone"; 58 58 59 solToPopAnalyzer.SolutionParameter.ActualName = "Point"; 60 solToPopAnalyzer.QualityParameter.ActualName = "Quality"; 59 61 //TODO: add unwanted mutation analyzer for TF 60 62 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CombinedOperators/TFAfterMutationCombinedOperator.cs
r9045 r9054 58 58 59 59 varRemover.VariableNameParameter.Value.Value = "PointClone"; 60 solToPopAnalyzer.SolutionParameter.ActualName = "Point"; 61 solToPopAnalyzer.QualityParameter.ActualName = "Quality"; 60 62 } 61 63 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CombinedOperators/VRPAfterCrossoverCombinedOperator.cs
r9050 r9054 56 56 varDuplicator.OriginalParameter.ActualName = "VRPTours"; 57 57 varDuplicator.CloneParameter.ActualName = "VRPToursClone"; 58 59 solToPopAnalyzer.SolutionParameter.ActualName = "VRPTours"; 60 solToPopAnalyzer.QualityParameter.ActualName = "Quality"; 58 61 } 59 62 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CombinedOperators/VRPAfterMutationCombinedOperator.cs
r9050 r9054 56 56 57 57 varRemover.VariableNameParameter.Value.Value = "VRPToursClone"; 58 solToPopAnalyzer.SolutionParameter.ActualName = "VRPTours"; 59 solToPopAnalyzer.QualityParameter.ActualName = "Quality"; 58 60 } 59 61 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/CrossoverPerformanceAnalyzer.cs
r9050 r9054 73 73 get { return ResultsParameter.ActualValue; } 74 74 } 75 76 [Storable] 77 private ScatterPlotHelper worseParentCrossoverPerformancePlot, betterParentCrossoverPerformancePlot, childDiversityToWorseParentHelper, childDiversityToBetterParentHelper, parentDiversityHelper, parentQualityHelper, unwantedMutationsHelper; 78 [Storable] 79 private DataTableHelper successHelper, equalParentsHelper; 80 [Storable] 81 private int cnt = 0; 82 [Storable] 83 private int[] success; 84 [Storable] 85 private int lastGeneration = 0; 86 [Storable] 87 private int equalParents = 0; 75 88 #endregion 76 89 77 [Storable]78 private ScatterPlotHelper worseParentCrossoverPerformancePlot, betterParentCrossoverPerformancePlot, childDiversityToWorseParentHelper, childDiversityToBetterParentHelper, parentDiversityHelper, parentQualityHelper, unwantedMutationsHelper;79 [Storable]80 private DataTableHelper successHelper, equalParentsHelper;81 [Storable]82 private int cnt = 0;83 [Storable]84 private int[] success;85 [Storable]86 private int lastGeneration = 0;87 [Storable]88 private int equalParents = 0;89 90 90 91 [StorableConstructor] -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers-3.3.csproj
r9053 r9054 134 134 <Compile Include="CombinedOperators\QAPAfterCrossoverCombinedOperator.cs" /> 135 135 <Compile Include="InitializableOperator.cs" /> 136 <Compile Include="SolutionToPopulationAnalyzer.cs" /> 136 137 <Compile Include="UnwantedMutationAnalyzers\PermutationUnwantedMutationAnalyzer.cs" /> 137 138 <Compile Include="UnwantedMutationAnalyzers\IUnwantedMutationAnalyzer.cs" />
Note: See TracChangeset
for help on using the changeset viewer.