Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/12 16:48:59 (12 years ago)
Author:
jkarder
Message:

#1331:

  • added EvaluatedSolutions parameter
  • SingleObjectiveTestFunctionImprovementOperator now retrieves the bounds from the scope tree
  • SingleObjectiveTestFunctionProblem now assigns the bounds to the similarity calculator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ScatterSearch (trunk integration)/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearch.cs

    r7789 r7954  
    194194      Placeholder solutionEvaluator = new Placeholder();
    195195      Placeholder solutionImprover = new Placeholder();
     196      SubScopesCounter subScopesCounter = new SubScopesCounter();
     197      ResultsCollector resultsCollector = new ResultsCollector();
    196198      BestSelector bestSelector = new BestSelector();
    197199      ScatterSearchMainLoop mainLoop = new ScatterSearchMainLoop();
     
    210212
    211213      uniformSubScopesProcessor.Operator = solutionImprover;
    212       uniformSubScopesProcessor.Successor = bestSelector;
     214      uniformSubScopesProcessor.Successor = subScopesCounter;
    213215
    214216      solutionImprover.Name = "SolutionImprover";
     
    219221      solutionEvaluator.OperatorParameter.ActualName = "Evaluator";
    220222      solutionEvaluator.Successor = null;
     223
     224      subScopesCounter.Name = "Initialize EvaluatedSolutions";
     225      subScopesCounter.ValueParameter.ActualName = "EvaluatedSolutions";
     226      subScopesCounter.Successor = resultsCollector;
     227
     228      resultsCollector.Name = "ResultsCollector";
     229      resultsCollector.CollectedValues.Add(new LookupParameter<IntValue>("EvaluatedSolutions", null, "EvaluatedSolutions"));
     230      resultsCollector.Successor = bestSelector;
    221231
    222232      bestSelector.NumberOfSelectedSubScopesParameter.ActualName = NumberOfHighQualitySolutionsParameter.Name;
Note: See TracChangeset for help on using the changeset viewer.