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/Crossovers
Files:
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/DoubleValue/AverageDoubleValueCrossover.cs

    r8590 r8644  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Data;
    25 using HeuristicLab.Operators;
    26 using HeuristicLab.Optimization;
    27 using HeuristicLab.Parameters;
    2825using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2926
     
    3431  [Item("AverageDoubleValueCrossover", "An operator which crosses two double values. TODO")]
    3532  [StorableClass]
    36   public class AverageDoubleValueCrossover : SingleSuccessorOperator, IDoubleValueCrossover, IStochasticOperator {
    37     public ILookupParameter<IRandom> RandomParameter {
    38       get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    39     }
    40 
     33  public class AverageDoubleValueCrossover : Item, IDoubleValueCrossover {
    4134    #region Constructors and Cloning
    4235    public AverageDoubleValueCrossover() : base() { }
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/DoubleValue/DiscreteDoubleValueCrossover.cs

    r8590 r8644  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Data;
    25 using HeuristicLab.Operators;
    26 using HeuristicLab.Optimization;
    27 using HeuristicLab.Parameters;
    2825using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2926
     
    3431  [Item("DiscreteDoubleValueCrossover", "An operator which crosses two double values. TODO")]
    3532  [StorableClass]
    36   public class DiscreteDoubleValueCrossover : SingleSuccessorOperator, IDoubleValueCrossover, IStochasticOperator {
    37     public ILookupParameter<IRandom> RandomParameter {
    38       get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    39     }
    40 
     33  public class DiscreteDoubleValueCrossover : Item, IDoubleValueCrossover {
    4134    #region Constructors and Cloning
    4235    public DiscreteDoubleValueCrossover() : base() { }
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/DoubleValue/NormalDoubleValueCrossover.cs

    r8590 r8644  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Operators;
    27 using HeuristicLab.Optimization;
    28 using HeuristicLab.Parameters;
    2926using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3027using HeuristicLab.Random;
     
    3633  [Item("NormalDoubleValueCrossover", "An operator which crosses two double values. TODO")]
    3734  [StorableClass]
    38   public class NormalDoubleValueCrossover : SingleSuccessorOperator, IDoubleValueCrossover, IStochasticOperator {
    39     public ILookupParameter<IRandom> RandomParameter {
    40       get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    41     }
    42 
     35  public class NormalDoubleValueCrossover : Item, IDoubleValueCrossover {
    4336    #region Constructors and Cloning
    4437    public NormalDoubleValueCrossover() : base() { }
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/IntValue/AverageIntValueCrossover.cs

    r8574 r8644  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Data;
    25 using HeuristicLab.Operators;
    26 using HeuristicLab.Optimization;
    27 using HeuristicLab.Parameters;
    2825using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2926
     
    3431  [Item("AverageIntValueCrossover", "An operator which crosses two integer values. TODO")]
    3532  [StorableClass]
    36   public class AverageIntValueCrossover : SingleSuccessorOperator, IIntValueCrossover, IStochasticOperator {
    37     public ILookupParameter<IRandom> RandomParameter {
    38       get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    39     }
    40 
     33  public class AverageIntValueCrossover : Item, IIntValueCrossover {
    4134    #region Constructors and Cloning
    4235    public AverageIntValueCrossover() : base() { }
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/IntValue/DiscreteIntValueCrossover.cs

    r8590 r8644  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Data;
    25 using HeuristicLab.Operators;
    26 using HeuristicLab.Optimization;
    27 using HeuristicLab.Parameters;
    2825using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2926
     
    3431  [Item("DiscreteIntValueCrossover", "An operator which crosses two integer values. TODO")]
    3532  [StorableClass]
    36   public class DiscreteIntValueCrossover : SingleSuccessorOperator, IIntValueCrossover, IStochasticOperator {
    37     public ILookupParameter<IRandom> RandomParameter {
    38       get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    39     }
    40 
     33  public class DiscreteIntValueCrossover : Item, IIntValueCrossover {
    4134    #region Constructors and Cloning
    4235    public DiscreteIntValueCrossover() : base() { }
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Operators/Crossovers/IntValue/NormalIntValueCrossover.cs

    r8590 r8644  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Data;
    26 using HeuristicLab.Operators;
    27 using HeuristicLab.Optimization;
    28 using HeuristicLab.Parameters;
    2926using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3027using HeuristicLab.Random;
     
    3633  [Item("NormalIntValueCrossover", "An operator which crosses two integer values. TODO")]
    3734  [StorableClass]
    38   public class NormalIntValueCrossover : SingleSuccessorOperator, IIntValueCrossover, IStochasticOperator {
    39     public ILookupParameter<IRandom> RandomParameter {
    40       get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    41     }
    42 
     35  public class NormalIntValueCrossover : Item, IIntValueCrossover {
    4336    #region Constructors and Cloning
    4437    public NormalIntValueCrossover() : base() { }
Note: See TracChangeset for help on using the changeset viewer.