Changeset 13128
- Timestamp:
- 11/06/15 14:02:40 (9 years ago)
- Location:
- branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithm.cs
r13127 r13128 276 276 Parameters.Add(new ValueParameter<BoolValue>("SetSeedRandomly", "True if the random seed should be set to a random value, otherwise false.", new BoolValue(true))); 277 277 278 Parameters.Add(new FixedValueParameter<MultiAnalyzer>("Analyzer", "The operator used to analyze the islands.", new MultiAnalyzer()));278 Parameters.Add(new FixedValueParameter<MultiAnalyzer>("Analyzer", "The operator used to analyze all individuals from all layers combined.", new MultiAnalyzer())); 279 279 Parameters.Add(new FixedValueParameter<MultiAnalyzer>("LayerAnalyzer", "The operator used to analyze each layer.", new MultiAnalyzer())); 280 280 … … 321 321 globalRandomCreator.RandomParameter.ActualName = "GlobalRandom"; 322 322 globalRandomCreator.SeedParameter.Value = null; 323 globalRandomCreator.SeedParameter.ActualName = SeedParameter.Name; 323 324 globalRandomCreator.SetSeedRandomlyParameter.Value = null; 325 globalRandomCreator.SetSeedRandomlyParameter.ActualName = SetSeedRandomlyParameter.Name; 324 326 globalRandomCreator.Successor = layer0Creator; 325 327 … … 597 599 foreach (var selector in SelectorParameter.ValidValues) { 598 600 selector.CopySelected = new BoolValue(true); 599 // Explicit setting of NumberOfSelectedSubScopesParameter is not required anymore because the NumberOfSelectedSubScopesCalculator calculates it itself600 //selector.NumberOfSelectedSubScopesParameter.Value = new IntValue(2 * (PopulationSize - Elites.Value));601 601 selector.NumberOfSelectedSubScopesParameter.Hidden = true; 602 602 ParameterizeStochasticOperatorForLayer(selector); -
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithmMainLoop.cs
r13127 r13128 138 138 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false.")); 139 139 140 Parameters.Add(new ValueLookupParameter<IOperator>("Analyzer", "The operator used to analyze the islands."));140 Parameters.Add(new ValueLookupParameter<IOperator>("Analyzer", "The operator used to analyze all individuals from all layers combined.")); 141 141 Parameters.Add(new ValueLookupParameter<IOperator>("LayerAnalyzer", "The operator used to analyze each layer.")); 142 142 -
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/MatingPoolCreator.cs
r13127 r13128 70 70 var individuals = prevScope.SubScopes; 71 71 foreach (var individual in individuals) { 72 targetScope.SubScopes.Add((IScope)individual.Clone( new Cloner()));72 targetScope.SubScopes.Add((IScope)individual.Clone()); 73 73 } 74 74 } -
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/ResultsHistoryWiper.cs
r13124 r13128 30 30 31 31 namespace HeuristicLab.Algorithms.ALPS { 32 [Item("ResultsHistoryWiper", 33 "An operator that removes the history of a ResultsCollection by setting all values in all DataTables to NaN.")] 32 [Item("ResultsHistoryWiper", "An operator that removes the history of a ResultsCollection by setting all values in all DataTables to NaN.")] 34 33 [StorableClass] 35 34 public class ResultsHistoryWiper : SingleSuccessorOperator {
Note: See TracChangeset
for help on using the changeset viewer.