- Timestamp:
- 05/04/12 14:41:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimization.cs
r7512 r7781 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.