Changeset 10591
- Timestamp:
- 03/12/14 21:01:02 (11 years ago)
- Location:
- branches/DataAnalysis.IslandAlgorithms
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.DataAnalysis.Symbolic/3.3/SymbolicDataAnalysisIslandGeneticAlgorithm.cs
r10357 r10591 120 120 insertionPoint.Successor = islandIndexAssigner; 121 121 122 //RandomCreator insertionPoint = OperatorGraph.Iterate().OfType<RandomCreator>().Skip(1).First(); 123 //fixedSamplesPartitionCreator.Successor = insertionPoint.Successor; 124 //insertionPoint.Successor = fixedSamplesPartitionCreator; 122 ReevaluateImmigrants = true; 123 ReevaluteElites = true; 125 124 126 125 RegisterParameterEvents(); -
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.DataAnalysis.Symbolic/3.3/SymbolicDataAnalysisIslandOffspringSelectionGeneticAlgorithm.cs
r10357 r10591 120 120 insertionPoint.Successor = islandIndexAssigner; 121 121 122 ReevaluateImmigrants = true; 123 ReevaluteElites = true; 124 122 125 RegisterParameterEvents(); 123 126 RecalculateFixedSamplesPartitions(); -
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithmMainLoop.cs
r10197 r10591 123 123 } 124 124 125 public ValueLookupParameter<BoolValue> ReevaluateI mmigrants{126 get { return (ValueLookupParameter<BoolValue>)Parameters["ReevaluateI mmigrants"]; }125 public ValueLookupParameter<BoolValue> ReevaluateIndividualsAfterMigration { 126 get { return (ValueLookupParameter<BoolValue>)Parameters["ReevaluateIndividualsAfterMigration"]; } 127 127 } 128 128 #endregion … … 167 167 Parameters.Add(new ValueLookupParameter<BoolValue>("Migrate", "Migrate the island?")); 168 168 Parameters.Add(new LookupParameter<BoolValue>("RunAnalysis", "Run Analyzers?")); 169 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateI mmigrants", "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.")); 170 170 #endregion 171 171 … … 217 217 Assigner evaluatedSolutionsAssigner2 = new Assigner(); 218 218 UniformSubScopesProcessor uniformSubScopesProcessor6 = new UniformSubScopesProcessor(); 219 SubScopesProcessor subScopesProcessor3 = newSubScopesProcessor();219 UniformSubScopesProcessor uniformSubScopesProcessor8 = new UniformSubScopesProcessor(); 220 220 DataReducer evaluatedSolutionsReducer2 = new DataReducer(); 221 221 UniformSubScopesProcessor uniformSubScopesProcessor7 = new UniformSubScopesProcessor(); … … 457 457 uniformSubScopesProcessor6.Successor = evaluatedSolutionsReducer2; 458 458 uniformSubScopesProcessor6.Operator = evaluatedSolutionsAssigner2; 459 evaluatedSolutionsAssigner2.Successor = uniformSubScopesProcessor8; 460 uniformSubScopesProcessor8.Operator = uniformSubScopesProcessor3; 461 uniformSubScopesProcessor8.Successor = null; 459 462 evaluatedSolutionsReducer2.Successor = null; 460 evaluatedSolutionsAssigner2.Successor = subScopesProcessor3;461 subScopesProcessor3.Operators.Add(new EmptyOperator());462 subScopesProcessor3.Operators.Add(uniformSubScopesProcessor3);463 463 uniformSubScopesProcessor7.Operator = immigrationReplacer; 464 464 uniformSubScopesProcessor7.Successor = generationsComparator; -
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithmMainLoop.cs
r10155 r10591 130 130 get { return (LookupParameter<IntValue>)Parameters["EvaluatedSolutions"]; } 131 131 } 132 public ValueLookupParameter<BoolValue> ReevaluateI mmigrants{133 get { return (ValueLookupParameter<BoolValue>)Parameters["ReevaluateI mmigrants"]; }132 public ValueLookupParameter<BoolValue> ReevaluateIndividualsAfterMigration { 133 get { return (ValueLookupParameter<BoolValue>)Parameters["ReevaluateIndividualsAfterMigration"]; } 134 134 } 135 135 #endregion … … 177 177 Parameters.Add(new ValueLookupParameter<IOperator>("IslandAnalyzer", "The operator used to analyze each island.")); 178 178 Parameters.Add(new LookupParameter<IntValue>("EvaluatedSolutions", "The number of times solutions have been evaluated.")); 179 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateI mmigrants", "Flag which indicates if inviduals should be reevaluated before they are immigrated."));179 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateIndividualsAfterMigration", "Flag which indicates if inviduals should be reevaluated after migration.")); 180 180 #endregion 181 181 … … 422 422 reevaluateImmigrantsBranch.TrueBranch = uniformSubScopesProcessor3; 423 423 uniformSubScopesProcessor3.Operator = subScopesProcessor; 424 subScopesProcessor.Operators.Add( new EmptyOperator());424 subScopesProcessor.Operators.Add(uniformSubScopesProcessor4); 425 425 subScopesProcessor.Operators.Add(uniformSubScopesProcessor4); 426 426 uniformSubScopesProcessor4.Operator = evaluator;
Note: See TracChangeset
for help on using the changeset viewer.