Changeset 8644 for branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Manipulators/DoubleValue
- Timestamp:
- 09/13/12 14:06:56 (12 years ago)
- Location:
- branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Manipulators/DoubleValue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Manipulators/DoubleValue/NormalDoubleValueManipulator.cs
r8590 r8644 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Encodings.RealVectorEncoding; 26 using HeuristicLab.Operators;27 using HeuristicLab.Optimization;28 using HeuristicLab.Parameters;29 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 27 … … 35 32 [Item("NormalDoubleValueManipulator", "An operator which manipulates two double values. TODO")] 36 33 [StorableClass] 37 public class NormalDoubleValueManipulator : SingleSuccessorOperator, IDoubleValueManipulator, IStochasticOperator { 38 public ILookupParameter<IRandom> RandomParameter { 39 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 40 } 41 34 public class NormalDoubleValueManipulator : Item, IDoubleValueManipulator { 42 35 #region Constructors and Cloning 43 36 public NormalDoubleValueManipulator() : base() { } … … 51 44 #endregion 52 45 53 // TODO: override Apply54 46 public void Apply(IRandom random, DoubleValue value, DoubleValueRange range) { 55 47 ApplyStatic(random, value, range); -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Manipulators/DoubleValue/UniformDoubleValueManipulator.cs
r8574 r8644 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Encodings.RealVectorEncoding; 26 using HeuristicLab.Operators;27 using HeuristicLab.Optimization;28 using HeuristicLab.Parameters;29 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 27 … … 35 32 [Item("UniformDoubleValueManipulator", "An operator which manipulates two double values. TODO")] 36 33 [StorableClass] 37 public class UniformDoubleValueManipulator : SingleSuccessorOperator, IDoubleValueManipulator, IStochasticOperator { 38 public ILookupParameter<IRandom> RandomParameter { 39 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 40 } 41 34 public class UniformDoubleValueManipulator : Item, IDoubleValueManipulator { 42 35 #region Constructors and Cloning 43 36 public UniformDoubleValueManipulator() : base() { } … … 51 44 #endregion 52 45 53 // TODO: override Apply54 46 public void Apply(IRandom random, DoubleValue value, DoubleValueRange range) { 55 47 ApplyStatic(random, value, range);
Note: See TracChangeset
for help on using the changeset viewer.