Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/12/12 19:31:53 (12 years ago)
Author:
ascheibe
Message:

#1745

  • disabled parallel solution creation and evaluation because of the hive engine
  • improved parameter lookup in reduction operators
  • added ReductionTypes
Location:
branches/HiveHiveEngine/HeuristicLab.Algorithms.GeneticAlgorithm/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveHiveEngine/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/ParallelIslandGeneticAlgorithm.cs

    r7288 r7322  
    256256
    257257      solutionsCreator.NumberOfSolutionsParameter.ActualName = PopulationSizeParameter.Name;
     258      //don't create solutions in parallel because the hive engine would distribute these tasks
     259      solutionsCreator.ParallelParameter.Value = new BoolValue(false);
    258260      solutionsCreator.Successor = null;
    259261
  • branches/HiveHiveEngine/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/ParallelIslandGeneticAlgorithmMainLoop.cs

    r7310 r7322  
    240240      subScopesRemover.RemoveAllSubScopes = true;
    241241
    242       uniformSubScopesProcessor3.Parallel.Value = true;
    243 
    244242      evaluator.Name = "Evaluator (placeholder)";
    245243      evaluator.OperatorParameter.ActualName = EvaluatorParameter.Name;
     
    270268
    271269      generationsReducer.Name = "Increment Generations";
    272       generationsReducer.ParameterToReduce.Value = new StringValue(islandGenerationsCounter.ValueParameter.ActualName);
     270      generationsReducer.ParameterToReduce.ActualName = islandGenerationsCounter.ValueParameter.ActualName;
    273271      generationsReducer.TargetParameterName.Value = new StringValue("Generations");
    274272
    275273      evaluatedSolutionsReducer.Name = "Increment Evaluated Solutions";
    276       evaluatedSolutionsReducer.ParameterToReduce.Value = new StringValue(IslandEvaluatedSolutions.Name);
     274      evaluatedSolutionsReducer.ParameterToReduce.ActualName = IslandEvaluatedSolutions.Name;
    277275      evaluatedSolutionsReducer.TargetParameterName.Value = new StringValue(EvaluatedSolutionsParameter.Name);
    278276
Note: See TracChangeset for help on using the changeset viewer.