- Timestamp:
- 10/31/14 17:57:50 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VOSGA/HeuristicLab.Algorithms.VOffspringSelectionGeneticAlgorithm/ProbabilitiesGenerator.cs
r11512 r11518 57 57 get { return (LookupParameter<ItemList<IScope>>)Parameters["GeneratedOffspring"]; } 58 58 } 59 59 public ValueLookupParameter<ResultCollection> ResultsParameter { 60 get { return (ValueLookupParameter<ResultCollection>)Parameters["Results"]; } 61 } 60 62 public override IDeepCloneable Clone(Cloner cloner) { 61 63 return new ProbabilitiesGenerator(this, cloner); … … 72 74 Parameters.Add(new ValueParameter<DoubleValue>("MinimumOperatorUsage", "Minimum percentage of operator usage. ", new DoubleValue(0.05))); 73 75 Parameters.Add(new LookupParameter<ItemList<IScope>>("GeneratedOffspring", "Temporary store of the offspring population.")); 76 Parameters.Add(new ValueLookupParameter<ResultCollection>("Results", "The result collection where the population diversity analysis results should be stored.")); 77 74 78 } 75 79 … … 130 134 if (ProbablilitiesParameter.ActualValue == null) { 131 135 ProbablilitiesParameter.ActualValue = new DoubleArray(crossoverCount); 136 ResultsParameter.ActualValue.Add(new Result("Probabilities", ProbablilitiesParameter.ActualValue)); 132 137 for (int i = 0; i < crossoverCount; i++) { 133 138 ProbablilitiesParameter.ActualValue[i] = 1.0;
Note: See TracChangeset
for help on using the changeset viewer.