Changeset 4086
- Timestamp:
- 07/22/10 16:33:58 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.NSGA2/3.3/HeuristicLab.Algorithms.NSGA2-3.3.csproj
r4065 r4086 101 101 <None Include="HeuristicLab.snk" /> 102 102 <None Include="HeuristicLabAlgorithmsNSGA2Plugin.cs.frame" /> 103 <Compile Include="BasicMultiObjectiveQualityAnalyzer.cs" /> 103 104 <Compile Include="CrowdedComparisonSorter.cs" /> 104 105 <Compile Include="CrowdedTournamentSelector.cs" /> -
trunk/sources/HeuristicLab.Algorithms.NSGA2/3.3/NSGA2.cs
r4068 r4086 139 139 #endregion 140 140 141 [Storable] 142 private BasicMultiObjectiveQualityAnalyzer basicMOQualityAnalyzer; 143 141 144 [StorableConstructor] 142 145 public NSGA2(bool deserializing) : base(deserializing) { } … … 157 160 RankAndCrowdingSorter rankAndCrowdingSorter = new RankAndCrowdingSorter(); 158 161 NSGA2MainLoop mainLoop = new NSGA2MainLoop(); 162 159 163 OperatorGraph.InitialOperator = randomCreator; 160 164 … … 191 195 ParameterizeSelectors(); 192 196 197 basicMOQualityAnalyzer = new BasicMultiObjectiveQualityAnalyzer(); 198 basicMOQualityAnalyzer.RankParameter.ActualName = "Rank"; 199 basicMOQualityAnalyzer.RankParameter.Depth = 1; 200 basicMOQualityAnalyzer.ResultsParameter.ActualName = "Results"; 201 ParameterizeAnalyzers(); 202 UpdateAnalyzers(); 203 193 204 AttachEventHandlers(); 194 205 } … … 298 309 } 299 310 private void ParameterizeAnalyzers() { 300 // TODO: Parameterize Analyzers 311 if (Problem != null) { 312 basicMOQualityAnalyzer.QualitiesParameter.ActualName = Problem.Evaluator.QualitiesParameter.ActualName; 313 basicMOQualityAnalyzer.QualitiesParameter.Depth = 1; 314 } 301 315 } 302 316 private void ParameterizeIterationBasedOperators() { … … 337 351 } 338 352 } 353 Analyzer.Operators.Add(basicMOQualityAnalyzer); 339 354 } 340 355 #endregion -
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/Analyzers/BestSingleObjectiveTestFunctionSolutionAnalyzer.cs
r4068 r4086 70 70 } 71 71 72 [StorableConstructor] 72 73 protected BestSingleObjectiveTestFunctionSolutionAnalyzer(bool deserializing) : base(deserializing) { } 73 74 public BestSingleObjectiveTestFunctionSolutionAnalyzer()
Note: See TracChangeset
for help on using the changeset viewer.