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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Manipulators/IntValue/UniformIntValueManipulator.cs

    r8590 r8644  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Encodings.IntegerVectorEncoding;
    26 using HeuristicLab.Operators;
    27 using HeuristicLab.Optimization;
    28 using HeuristicLab.Parameters;
    2926using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3027
     
    3532  [Item("UniformIntValueManipulator", "An operator which manipulates two integer values. TODO")]
    3633  [StorableClass]
    37   public class UniformIntValueManipulator : SingleSuccessorOperator, IIntValueManipulator, IStochasticOperator {
    38     public ILookupParameter<IRandom> RandomParameter {
    39       get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    40     }
    41 
     34  public class UniformIntValueManipulator : Item, IIntValueManipulator {
    4235    #region Constructors and Cloning
    4336    public UniformIntValueManipulator() : base() { }
     
    5144    #endregion
    5245
    53     // TODO: override Apply
    5446    public void Apply(IRandom random, IntValue value, IntValueRange range) {
    5547      ApplyStatic(random, value, range);
Note: See TracChangeset for help on using the changeset viewer.