Changeset 8590 for branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/IntValue/DiscreteIntValueCrossover.cs
- Timestamp:
- 09/06/12 14:45:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/IntValue/DiscreteIntValueCrossover.cs
r8574 r8590 55 55 56 56 public static void ApplyStatic(IRandom random, IntValue value, IntValue other, IntValueRange range) { 57 if (random.NextDouble() > 0.5) {57 if (random.NextDouble() > 0.5) 58 58 value.Value = other.Value; 59 }60 59 } 61 60 }
Note: See TracChangeset
for help on using the changeset viewer.