Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/12/14 21:01:02 (11 years ago)
Author:
mkommend
Message:

#1997: Added reevaluation of all indidviduals after migration to island algorithms and fixed symbolic data analysis evaluators for island algorithms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithmMainLoop.cs

    r10197 r10591  
    123123    }
    124124
    125     public ValueLookupParameter<BoolValue> ReevaluateImmigrants {
    126       get { return (ValueLookupParameter<BoolValue>)Parameters["ReevaluateImmigrants"]; }
     125    public ValueLookupParameter<BoolValue> ReevaluateIndividualsAfterMigration {
     126      get { return (ValueLookupParameter<BoolValue>)Parameters["ReevaluateIndividualsAfterMigration"]; }
    127127    }
    128128    #endregion
     
    167167      Parameters.Add(new ValueLookupParameter<BoolValue>("Migrate", "Migrate the island?"));
    168168      Parameters.Add(new LookupParameter<BoolValue>("RunAnalysis", "Run Analyzers?"));
    169       Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateImmigrants", "Flag which indicates if inviduals should be reevaluated before they are immigrated."));
     169      Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateIndividualsAfterMigration", "Flag which indicates if inviduals should be reevaluated after migration."));
    170170      #endregion
    171171
     
    217217      Assigner evaluatedSolutionsAssigner2 = new Assigner();
    218218      UniformSubScopesProcessor uniformSubScopesProcessor6 = new UniformSubScopesProcessor();
    219       SubScopesProcessor subScopesProcessor3 = new SubScopesProcessor();
     219      UniformSubScopesProcessor uniformSubScopesProcessor8 = new UniformSubScopesProcessor();
    220220      DataReducer evaluatedSolutionsReducer2 = new DataReducer();
    221221      UniformSubScopesProcessor uniformSubScopesProcessor7 = new UniformSubScopesProcessor();
     
    457457      uniformSubScopesProcessor6.Successor = evaluatedSolutionsReducer2;
    458458      uniformSubScopesProcessor6.Operator = evaluatedSolutionsAssigner2;
     459      evaluatedSolutionsAssigner2.Successor = uniformSubScopesProcessor8;
     460      uniformSubScopesProcessor8.Operator = uniformSubScopesProcessor3;
     461      uniformSubScopesProcessor8.Successor = null;
    459462      evaluatedSolutionsReducer2.Successor = null;
    460       evaluatedSolutionsAssigner2.Successor = subScopesProcessor3;
    461       subScopesProcessor3.Operators.Add(new EmptyOperator());
    462       subScopesProcessor3.Operators.Add(uniformSubScopesProcessor3);
    463463      uniformSubScopesProcessor7.Operator = immigrationReplacer;
    464464      uniformSubScopesProcessor7.Successor = generationsComparator;
Note: See TracChangeset for help on using the changeset viewer.