Changeset 6017 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/Crossovers
- Timestamp:
- 04/17/11 11:03:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/Crossovers/ParameterConfigurationCrossover.cs
r5653 r6017 1 using HeuristicLab.Common; 1 using System; 2 using HeuristicLab.Common; 2 3 using HeuristicLab.Core; 3 4 using HeuristicLab.Data; 4 5 using HeuristicLab.Encodings.IntegerVectorEncoding; 5 using HeuristicLab.Encodings.RealVectorEncoding;6 6 using HeuristicLab.Operators; 7 using HeuristicLab.Optimization;8 7 using HeuristicLab.Parameters; 9 8 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 10 using System;11 9 12 10 namespace HeuristicLab.Problems.MetaOptimization { … … 96 94 } 97 95 98 p rivate static void Cross(IRandom random, IOptimizable configuartion, IOptimizable other, IIntValueCrossover intValueCrossover, IDoubleValueCrossover doubleValueCrossover) {99 var vc = configu artion as RangeValueConfiguration;100 var pc = configu artion as IParameterConfiguration;96 public static void Cross(IRandom random, IOptimizable configuration, IOptimizable other, IIntValueCrossover intValueCrossover, IDoubleValueCrossover doubleValueCrossover) { 97 var vc = configuration as RangeValueConfiguration; 98 var pc = configuration as IParameterConfiguration; 101 99 if (vc != null) { 102 100 var value = vc.ActualValue.Value;
Note: See TracChangeset
for help on using the changeset viewer.