Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/13/12 14:06:56 (12 years ago)
Author:
jkarder
Message:

#1853:

  • removed multi-crossovers for integer and double values
  • restructured crossovers and manipulators for integer and double values
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  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    26 using HeuristicLab.Operators;
    27 using HeuristicLab.Optimization;
    28 using HeuristicLab.Parameters;
    2926using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3027
     
    3532  [Item("NormalDoubleValueManipulator", "An operator which manipulates two double values. TODO")]
    3633  [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 {
    4235    #region Constructors and Cloning
    4336    public NormalDoubleValueManipulator() : base() { }
     
    5144    #endregion
    5245
    53     // TODO: override Apply
    5446    public void Apply(IRandom random, DoubleValue value, DoubleValueRange range) {
    5547      ApplyStatic(random, value, range);
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Manipulators/DoubleValue/UniformDoubleValueManipulator.cs

    r8574 r8644  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Encodings.RealVectorEncoding;
    26 using HeuristicLab.Operators;
    27 using HeuristicLab.Optimization;
    28 using HeuristicLab.Parameters;
    2926using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3027
     
    3532  [Item("UniformDoubleValueManipulator", "An operator which manipulates two double values. TODO")]
    3633  [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 {
    4235    #region Constructors and Cloning
    4336    public UniformDoubleValueManipulator() : base() { }
     
    5144    #endregion
    5245
    53     // TODO: override Apply
    5446    public void Apply(IRandom random, DoubleValue value, DoubleValueRange range) {
    5547      ApplyStatic(random, value, range);
Note: See TracChangeset for help on using the changeset viewer.