Changeset 7669 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Problems.ArtificialAnt/3.4/ArtificialAntProblem.cs
- Timestamp:
- 03/28/12 15:47:26 (12 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:ignore
-
old new 3 3 *.resharper 4 4 *.suo 5 *.user 5 6 *.vsp 6 7 Doxygen 8 FxCopResults.txt 7 9 Google.ProtocolBuffers-0.9.1.dll 8 10 HeuristicLab 3.3.5.1.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Problems.ArtificialAnt/3.4/ArtificialAntProblem.cs
r7270 r7669 151 151 [StorableHook(HookType.AfterDeserialization)] 152 152 private void AfterDeserialization() { 153 AttachEventHandlers();153 RegisterEventHandlers(); 154 154 } 155 155 156 156 private ArtificialAntProblem(ArtificialAntProblem original, Cloner cloner) 157 157 : base(original, cloner) { 158 AttachEventHandlers();158 RegisterEventHandlers(); 159 159 } 160 160 public override IDeepCloneable Clone(Cloner cloner) { … … 174 174 Maximization.Value = true; 175 175 MaximizationParameter.Hidden = true; 176 BestKnownQuality .Value = 89;176 BestKnownQuality = new DoubleValue(89); 177 177 SolutionCreator.SymbolicExpressionTreeParameter.ActualName = "AntTrailSolution"; 178 178 ((ProbabilisticTreeCreator)SolutionCreator).SymbolicExpressionTreeGrammarParameter.ActualName = "ArtificialAntExpressionGrammar"; 179 179 Evaluator.QualityParameter.ActualName = "FoodEaten"; 180 180 InitializeOperators(); 181 AttachEventHandlers();181 RegisterEventHandlers(); 182 182 } 183 183 … … 212 212 213 213 #region Helpers 214 private void AttachEventHandlers() {214 private void RegisterEventHandlers() { 215 215 SolutionCreator.SymbolicExpressionTreeParameter.ActualNameChanged += new EventHandler(SolutionCreator_SymbolicExpressionTreeParameter_ActualNameChanged); 216 216 Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
Note: See TracChangeset
for help on using the changeset viewer.