Changeset 8027 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding
- Timestamp:
- 06/18/12 10:16:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/Crossovers/ParameterConfigurationCrossover.cs
r6017 r8027 119 119 IntegerVector integerChild = HeuristicLab.Encodings.IntegerVectorEncoding.DiscreteCrossover.Apply( 120 120 RandomParameter.ActualValue, 121 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter1.ActualValue.Value).Value })), 122 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter2.ActualValue.Value).Value }))); 121 new ItemArray<IntegerVector>( 122 new IntegerVector[] { 123 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter1.ActualValue.Value).Value })), 124 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter2.ActualValue.Value).Value })) 125 })); 123 126 return new IntValue(integerChild[0]); 124 127 }
Note: See TracChangeset
for help on using the changeset viewer.