Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithm.cs
r16782 r16861 444 444 base.OnProblemChanged(); 445 445 ParameterizeStochasticOperator(Problem.SolutionCreator); 446 ParameterizeStochasticOperatorForLayer(Problem.Evaluator);447 446 foreach (var @operator in Problem.Operators.OfType<IOperator>()) 448 447 ParameterizeStochasticOperator(@operator); 448 ParameterizeStochasticOperatorForLayer(Problem.Evaluator); 449 449 450 450 ParameterizeIterationBasedOperators(); … … 478 478 base.Problem_SolutionCreatorChanged(sender, e); 479 479 ParameterizeStochasticOperator(Problem.SolutionCreator); 480 ParameterizeStochasticOperatorForLayer(Problem.Evaluator);481 480 482 481 Problem.Evaluator.QualityParameter.ActualNameChanged += Evaluator_QualityParameter_ActualNameChanged; … … 487 486 protected override void Problem_EvaluatorChanged(object sender, EventArgs e) { 488 487 base.Problem_EvaluatorChanged(sender, e); 489 490 488 ParameterizeStochasticOperatorForLayer(Problem.Evaluator); 491 492 foreach (var @operator in Problem.Operators.OfType<IOperator>())493 ParameterizeStochasticOperator(@operator);494 489 495 490 UpdateAnalyzers(); … … 502 497 base.Problem_OperatorsChanged(sender, e); 503 498 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 499 ParameterizeStochasticOperatorForLayer(Problem.Evaluator); 504 500 ParameterizeIterationBasedOperators(); 505 501 UpdateCrossovers(); -
trunk/HeuristicLab.Algorithms.ALPS/3.3/AlpsOffspringSelectionGeneticAlgorithm.cs
r16783 r16861 507 507 base.OnProblemChanged(); 508 508 ParameterizeStochasticOperator(Problem.SolutionCreator); 509 ParameterizeStochasticOperatorForLayer(Problem.Evaluator);510 509 foreach (var @operator in Problem.Operators.OfType<IOperator>()) 511 510 ParameterizeStochasticOperator(@operator); 511 ParameterizeStochasticOperatorForLayer(Problem.Evaluator); 512 512 513 513 ParameterizeIterationBasedOperators(); … … 541 541 base.Problem_SolutionCreatorChanged(sender, e); 542 542 ParameterizeStochasticOperator(Problem.SolutionCreator); 543 ParameterizeStochasticOperatorForLayer(Problem.Evaluator);544 543 545 544 Problem.Evaluator.QualityParameter.ActualNameChanged += Evaluator_QualityParameter_ActualNameChanged; … … 550 549 protected override void Problem_EvaluatorChanged(object sender, EventArgs e) { 551 550 base.Problem_EvaluatorChanged(sender, e); 552 foreach (var @operator in Problem.Operators.OfType<IOperator>()) 553 ParameterizeStochasticOperator(@operator); 551 ParameterizeStochasticOperatorForLayer(Problem.Evaluator); 554 552 555 553 UpdateAnalyzers(); … … 562 560 base.Problem_OperatorsChanged(sender, e); 563 561 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 562 ParameterizeStochasticOperatorForLayer(Problem.Evaluator); 564 563 ParameterizeIterationBasedOperators(); 565 564 UpdateCrossovers(); -
trunk/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r16565 r16861 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 30 31 using HeuristicLab.Optimization.Operators; 31 32 using HeuristicLab.Parameters; 32 using HEAL.Attic;33 33 using HeuristicLab.PluginInfrastructure; 34 34 using HeuristicLab.Random; … … 372 372 protected override void OnProblemChanged() { 373 373 ParameterizeStochasticOperator(Problem.SolutionCreator); 374 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 374 375 ParameterizeStochasticOperatorForIsland(Problem.Evaluator); 375 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op);376 376 ParameterizeSolutionsCreator(); 377 377 ParameterizeMainLoop(); … … 402 402 protected override void Problem_OperatorsChanged(object sender, EventArgs e) { 403 403 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 404 ParameterizeStochasticOperatorForIsland(Problem.Evaluator); 404 405 ParameterizeIterationBasedOperators(); 405 406 UpdateCrossovers();
Note: See TracChangeset
for help on using the changeset viewer.