Changeset 10643 for trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASAMainLoop.cs
- Timestamp:
- 03/21/14 14:20:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASAMainLoop.cs
r9592 r10643 111 111 public LookupParameter<IntValue> EvaluatedSolutionsParameter { 112 112 get { return (LookupParameter<IntValue>)Parameters["EvaluatedSolutions"]; } 113 } 114 public IValueLookupParameter<BoolValue> FillPopulationWithParentsParameter { 115 get { return (IValueLookupParameter<BoolValue>)Parameters["FillPopulationWithParents"]; } 113 116 } 114 117 #endregion … … 150 153 Parameters.Add(new ValueLookupParameter<BoolValue>("OffspringSelectionBeforeMutation", "True if the offspring selection step should be applied before mutation, false if it should be applied after mutation.")); 151 154 Parameters.Add(new LookupParameter<IntValue>("EvaluatedSolutions", "The number of times solutions have been evaluated.")); 155 Parameters.Add(new ValueLookupParameter<BoolValue>("FillPopulationWithParents", "True if the population should be filled with parent individual or false if worse children should be used when the maximum selection pressure is exceeded.")); 152 156 #endregion 153 157 … … 253 257 mainOperator.SelectorParameter.ActualName = SelectorParameter.Name; 254 258 mainOperator.SuccessRatioParameter.ActualName = SuccessRatioParameter.Name; 259 mainOperator.FillPopulationWithParentsParameter.ActualName = FillPopulationWithParentsParameter.Name; 255 260 256 261 villageAnalyzer2.Name = "Village Analyzer (placeholder)"; … … 436 441 Parameters.Add(new ValueLookupParameter<BoolValue>("ReevaluateElites", "Flag to determine if elite individuals should be reevaluated (i.e., if stochastic fitness functions are used.)")); 437 442 } 443 if (!Parameters.ContainsKey("FillPopulationWithParents")) 444 Parameters.Add(new ValueLookupParameter<BoolValue>("FillPopulationWithParents", "True if the population should be filled with parent individual or false if worse children should be used when the maximum selection pressure is exceeded.")); 438 445 #endregion 439 446 }
Note: See TracChangeset
for help on using the changeset viewer.