Changeset 13734
- Timestamp:
- 03/25/16 12:35:49 (9 years ago)
- Location:
- branches/IslandALPS/IslandALPS/3.3/Offspring Selection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/IslandALPS/IslandALPS/3.3/Offspring Selection/IslandAlpsOffspringSelectionAlgorithm.cs
r13723 r13734 58 58 public IFixedValueParameter<BoolValue> OffspringSelectionBeforeMutationParameter { get { return (IFixedValueParameter<BoolValue>) Parameters["OffspringSelectionBeforeMutation"]; } } 59 59 public IFixedValueParameter<IntValue> SelectedParentsParameter { get { return (IFixedValueParameter<IntValue>) Parameters["SelectedParents"]; } } 60 public IFixedValueParameter<BoolValue> FillPopulationWithParentsParameter { get { return (IFixedValueParameter<BoolValue>) Parameters["FillPopulationWithParents"]; } }61 60 #endregion 62 61 … … 407 406 Parameters.Add(new FixedValueParameter<BoolValue>("OffspringSelectionBeforeMutation", "True if the offspring selection step should be applied before mutation, false if it should be applied after mutation.", new BoolValue(false))); 408 407 Parameters.Add(new FixedValueParameter<IntValue>("SelectedParents", "How much parents should be selected each time the offspring selection step is performed until the population is filled. This parameter should be about the same or twice the size of PopulationSize for smaller problems, and less for large problems.", new IntValue(200))); 409 Parameters.Add(new FixedValueParameter<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.", new BoolValue(false)) { Hidden = true });410 408 411 409 #endregion … … 766 764 MainLoop.MaximumSelectionPressureParameter.ActualName = MaximumSelectionPressureParameter.Name; 767 765 MainLoop.OffspringSelectionBeforeMutationParameter.ActualName = OffspringSelectionBeforeMutationParameter.Name; 768 MainLoop.FillPopulationWithParentsParameter.ActualName = FillPopulationWithParentsParameter.Name;766 //MainLoop.FillPopulationWithParentsParameter.ActualName = FillPopulationWithParentsParameter.Name; 769 767 } 770 768 -
branches/IslandALPS/IslandALPS/3.3/Offspring Selection/IslandAlpsOffspringSelectionAlgorithmMainLoop.cs
r13723 r13734 510 510 Parameters.Add(new ValueLookupParameter<DoubleValue>("MaximumSelectionPressure", "The maximum selection pressure that terminates the algorithm.")); 511 511 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.")); 512 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." ));512 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.",new BoolValue(false))); 513 513 514 514 Parameters.Add(new LookupParameter<DoubleValue>("CurrentSuccessRatio", "The current success ratio."));
Note: See TracChangeset
for help on using the changeset viewer.