Changeset 9042 for branches/HeuristicLab.Analysis.AlgorithmBehavior
- Timestamp:
- 12/12/12 22:10:04 (12 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/AfterMutationCombinedOperator.cs
r8711 r9042 38 38 } 39 39 40 [Storable] 41 protected MutationPerformanceAnalyzer mAnalyzer; 42 [Storable] 43 protected VariableRemover varRemover; 44 [Storable] 45 protected IEvaluator evaluatorClone; 46 40 47 [StorableConstructor] 41 48 protected AfterMutationCombinedOperator(bool deserializing) : base(deserializing) { } 42 49 protected AfterMutationCombinedOperator(AfterMutationCombinedOperator original, Cloner cloner) 43 50 : base(original, cloner) { 51 this.mAnalyzer = (MutationPerformanceAnalyzer)original.mAnalyzer.Clone(cloner); 52 this.varRemover = (VariableRemover)original.varRemover.Clone(cloner); 44 53 } 45 54 … … 52 61 } 53 62 54 void SimilarityCalculatorParameter_ValueChanged(object sender, System.EventArgs e) {63 protected virtual void SimilarityCalculatorParameter_ValueChanged(object sender, System.EventArgs e) { 55 64 SimilarityCalculatorParameter.Value.QualityVariableName = "TSPTourLength"; 56 65 SimilarityCalculatorParameter.Value.SolutionVariableName = "TSPTour"; … … 62 71 63 72 public override void InitializeOperators() { 64 varevaluatorClone = (IEvaluator)EvaluatorParameter.ActualValue.Clone();73 evaluatorClone = (IEvaluator)EvaluatorParameter.ActualValue.Clone(); 65 74 ((ILookupParameter)evaluatorClone.Parameters["Quality"]).ActualName = "TSPTourLengthM"; 66 varmAnalyzer = new MutationPerformanceAnalyzer();67 var varRemover = new VariableRemover();75 mAnalyzer = new MutationPerformanceAnalyzer(); 76 varRemover = new VariableRemover(); 68 77 69 78 Operators.Add(evaluatorClone); -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers-3.3.csproj
r9032 r9042 120 120 <Compile Include="AfterCrossoverCombinedOperator.cs" /> 121 121 <Compile Include="AfterMutationCombinedOperator.cs" /> 122 <Compile Include="TSPAfterMutationCombinedOperator.cs" /> 123 <Compile Include="TSPAfterCrossoverCombinedOperator.cs" /> 124 <Compile Include="QAPAfterMutationCombinedOperator.cs" /> 122 125 <Compile Include="QAPAfterCrossoverCombinedOperator.cs" /> 123 126 <Compile Include="InitializableOperator.cs" />
Note: See TracChangeset
for help on using the changeset viewer.