Changeset 7842 for branches/HeuristicLab.TimeSeries/HeuristicLab.Algorithms.ParticleSwarmOptimization
- Timestamp:
- 05/16/12 16:28:49 (13 years ago)
- Location:
- branches/HeuristicLab.TimeSeries
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries
- Property svn:mergeinfo changed
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimization.cs
r7615 r7842 258 258 } 259 259 260 public override void Prepare() {261 if (Problem != null && ParticleCreator != null && ParticleUpdater != null) {262 base.Prepare();263 }264 }265 266 260 #region Events 267 261 protected override void OnProblemChanged() { … … 412 406 if (Problem != null) { 413 407 solutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 414 solutionsCreator.SolutionCreatorParameter.ActualName = ParticleCreatorParameter.Name; 408 if (ParticleCreatorParameter.Value != null) 409 solutionsCreator.SolutionCreatorParameter.ActualName = ParticleCreatorParameter.Name; 410 else 411 solutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name; 415 412 } 416 413 }
Note: See TracChangeset
for help on using the changeset viewer.