Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/25/14 11:37:58 (9 years ago)
Author:
pfleck
Message:

#2269 Implemented AlpsGeneticAlgorithmMainLoop.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithm.cs

    r11578 r11580  
    184184    }
    185185
     186    private AlpsGeneticAlgorithmMainLoop MainLoop {
     187      get { return OperatorGraph.Iterate().OfType<AlpsGeneticAlgorithmMainLoop>().First(); }
     188    }
     189
    186190    [Storable]
    187191    private BestAverageWorstQualityAnalyzer qualityAnalyzer;
     
    232236      var initializeGlobalEvaluatedSolutions = new DataReducer() { Name = "Initialize EvaluatedSolutions" };
    233237      var resultsCollector = new ResultsCollector();
    234       var mainLoop = new CombinedOperator();
     238      var mainLoop = new AlpsGeneticAlgorithmMainLoop();
     239
    235240      OperatorGraph.InitialOperator = globalRandomCreator;
    236241
     
    366371    }
    367372    private void ParameterizeMainLoop() {
    368       // TODO
     373      MainLoop.BestKnownQualityParameter.ActualName = Problem.BestKnownQualityParameter.Name;
     374      MainLoop.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name;
     375      MainLoop.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;
     376      MainLoop.BestKnownQualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName;
    369377    }
    370378    private void ParameterizeSelectors() {
Note: See TracChangeset for help on using the changeset viewer.