Changeset 8379
- Timestamp:
- 08/01/12 17:42:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RAPGA/HeuristicLab.Algorithms.RAPGA/3.3/RAPGAMainLoop.cs
r8377 r8379 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Operators; 26 using HeuristicLab.Optimization; 26 27 using HeuristicLab.Optimization.Operators; 27 28 using HeuristicLab.Parameters; … … 90 91 public IValueLookupParameter<IntValue> EffortParameter { 91 92 get { return (IValueLookupParameter<IntValue>)Parameters["Effort"]; } 93 } 94 public IValueLookupParameter<IntValue> BatchSizeParameter { 95 get { return (IValueLookupParameter<IntValue>)Parameters["BatchSize"]; } 96 } 97 public IValueLookupParameter<ISolutionSimilarityCalculator> SimilarityCalculatorParameter { 98 get { return (IValueLookupParameter<ISolutionSimilarityCalculator>)Parameters["SimilarityCalculator"]; } 92 99 } 93 100 private ScopeParameter CurrentScopeParameter { … … 131 138 Parameters.Add(new ValueLookupParameter<DoubleValue>("ComparisonFactor", "The comparison factor.")); 132 139 Parameters.Add(new ValueLookupParameter<IntValue>("Effort", "The maximum number of offspring created in each generation.")); 140 Parameters.Add(new ValueLookupParameter<IntValue>("BatchSize", "The number of children that should be created during one iteration of the offspring creation process.", new IntValue(10))); 141 Parameters.Add(new ValueLookupParameter<ISolutionSimilarityCalculator>("SimilarityCalculator", "The operator used to calculate the similarity between two solutions.")); 133 142 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope which represents a population of solutions on which the genetic algorithm should be applied.")); 134 143 #endregion
Note: See TracChangeset
for help on using the changeset viewer.