Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/20/10 18:53:14 (15 years ago)
Author:
abeham
Message:

Changed handling of strategy parameters and renamed operators in realvector #890, #932, #934

Location:
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3
Files:
3 edited
7 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj

    r3425 r3450  
    104104    <Compile Include="Crossovers\UniformSomePositionsArithmeticCrossover.cs" />
    105105    <Compile Include="HeuristicLabEncodingsRealVectorEncodingPlugin.cs" />
    106     <Compile Include="Interfaces\IRealVectorStrategyParameterManipulator.cs" />
    107     <Compile Include="Interfaces\IRealVectorStrategyParameterCrossover.cs" />
    108     <Compile Include="Interfaces\IRealVectorStrategyParameterCreator.cs" />
    109     <Compile Include="Interfaces\IRealVectorStrategyParameterOperator.cs" />
     106    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterCreator.cs" />
     107    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterCrossover.cs" />
     108    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterManipulator.cs" />
     109    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterOperator.cs" />
    110110    <Compile Include="Interfaces\IAdditiveRealVectorMoveOperator.cs" />
    111111    <Compile Include="Interfaces\IRealVectorBoundsChecker.cs" />
     
    116116    <Compile Include="Moves\AdditiveMoveTabuChecker.cs" />
    117117    <Compile Include="Moves\AdditiveMoveTabuMaker.cs" />
    118     <Compile Include="StrategyParameters\StrategyVectorCreator.cs" />
    119     <Compile Include="StrategyParameters\StrategyVectorCrossover.cs" />
    120     <Compile Include="StrategyParameters\StrategyVectorManipulator.cs" />
    121118    <Compile Include="Moves\AdditiveMoveTabuAttribute.cs" />
    122119    <Compile Include="Moves\AdditiveMoveMaker.cs" />
     
    134131    <Compile Include="Manipulators\PolynomialOnePositionManipulator.cs" />
    135132    <Compile Include="Manipulators\UniformOnePositionManipulator.cs" />
     133    <Compile Include="StrategyParameters\StdDevStrategyVectorCreator.cs" />
     134    <Compile Include="StrategyParameters\StdDevStrategyVectorCrossover.cs" />
     135    <Compile Include="StrategyParameters\StdDevStrategyVectorManipulator.cs" />
    136136    <None Include="HeuristicLab.snk" />
    137137    <None Include="HeuristicLabEncodingsRealVectorEncodingPlugin.cs.frame" />
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterCreator.cs

    r3435 r3450  
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
    28   /// <summary>
    29   /// An interface which represents an operator for creating vectors of real-valued data.
    30   /// </summary>
    31   public interface IRealVectorStrategyParameterCreator : IRealVectorStrategyParameterOperator, IStrategyParameterCreator {
     28  public interface IRealVectorStdDevStrategyParameterCreator : IRealVectorStdDevStrategyParameterOperator, IStrategyParameterCreator {
    3229    IValueLookupParameter<IntValue> LengthParameter { get; }
    3330    IValueLookupParameter<DoubleMatrix> BoundsParameter { get; }
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterCrossover.cs

    r3435 r3450  
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
    28   /// <summary>
    29   /// An interface which represents an operator for crossing vectors of real-valued data.
    30   /// </summary>
    31   public interface IRealVectorStrategyParameterCrossover : IRealVectorStrategyParameterOperator, IStrategyParameterCrossover {
     28  public interface IRealVectorStdDevStrategyParameterCrossover : IRealVectorStdDevStrategyParameterOperator, IStrategyParameterCrossover {
    3229    ILookupParameter<ItemArray<RealVector>> ParentsParameter { get; }
    3330  }
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterManipulator.cs

    r3435 r3450  
    2626
    2727namespace HeuristicLab.Encodings.RealVectorEncoding {
    28   /// <summary>
    29   /// An interface which represents an operator for manipulating vectors of real-valued data.
    30   /// </summary>
    31   public interface IRealVectorStrategyParameterManipulator : IRealVectorStrategyParameterOperator, IStrategyParameterManipulator {
     28  public interface IRealVectorStdDevStrategyParameterManipulator : IRealVectorStdDevStrategyParameterOperator, IStrategyParameterManipulator {
    3229    IValueLookupParameter<DoubleMatrix> BoundsParameter { get; }
    3330  }
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorStdDevStrategyParameterOperator.cs

    r3435 r3450  
    2525
    2626namespace HeuristicLab.Encodings.RealVectorEncoding {
    27   public interface IRealVectorStrategyParameterOperator : IStrategyParameterOperator {
     27  public interface IRealVectorStdDevStrategyParameterOperator {
    2828  }
    2929}
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/NormalAllPositionsManipulator.cs

    r3376 r3450  
    4040  [Item("NormalAllPositionsManipulator", "This manipulation operator adds a value sigma_i * N(0,1) to the current value in each position i. The values for sigma_i are taken from the strategy vector, if there are less elements in the strategy vector than positions, then the strategy vector is cycled. It is implemented as described in Beyer, H.-G. and Schwefel, H.-P. 2002. Evolution Strategies - A Comprehensive Introduction Natural Computing, 1, pp. 3-52.")]
    4141  [StorableClass]
    42   public class NormalAllPositionsManipulator : RealVectorManipulator, IRealVectorStrategyParameterOperator, ISelfAdaptiveManipulator {
     42  public class NormalAllPositionsManipulator : RealVectorManipulator, ISelfAdaptiveManipulator {
     43    public Type StrategyParameterType {
     44      get { return typeof(IRealVectorStdDevStrategyParameterOperator); }
     45    }
    4346    /// <summary>
    4447    /// Parameter for the strategy vector.
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Manipulators/PolynomialAllPositionManipulator.cs

    r3376 r3450  
    4040    /// <summary>
    4141    /// The contiguity parameter specifies the shape of the probability density function that controls the mutation. Setting it to 0 is similar to a uniform distribution over the entire manipulation range (specified by <see cref="MaximumManipulationParameter"/>.
    42     /// A higher value will shape the density function such that values closer to 0 (little manipulation) are more likely than values closer to 1 or -1 (maximum manipulation).
     42    /// A higher value will shape the density function such that values closer to 0 (little manipulation) are more likely than larger values.
    4343    /// </summary>
    4444    public ValueLookupParameter<DoubleValue> ContiguityParameter {
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCreator.cs

    r3435 r3450  
    3030
    3131namespace HeuristicLab.Encodings.RealVectorEncoding {
    32   [Item("StrategyVectorCreator", "Creates the endogeneous strategy parameters.")]
     32  [Item("StdDevStrategyVectorCreator", "Creates the endogeneous strategy parameters.")]
    3333  [StorableClass]
    34   public class StrategyVectorCreator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStrategyParameterCreator {
     34  public class StdDevStrategyVectorCreator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCreator {
    3535    public override bool CanChangeName {
    3636      get { return false; }
     
    4949    }
    5050
    51     public StrategyVectorCreator()
     51    public StdDevStrategyVectorCreator()
    5252      : base() {
    5353      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use."));
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs

    r3435 r3450  
    2929
    3030namespace HeuristicLab.Encodings.RealVectorEncoding {
    31   [Item("StrategyVectorCrossover", "Crosses the strategy vector by using intermediate recombination (average crossover).")]
     31  [Item("StdDevStrategyVectorCrossover", "Crosses the strategy vector by using intermediate recombination (average crossover).")]
    3232  [StorableClass]
    33   public class StrategyVectorCrossover : SingleSuccessorOperator, IStochasticOperator, IRealVectorStrategyParameterOperator, IStrategyParameterCrossover {
     33  public class StdDevStrategyVectorCrossover : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterCrossover {
    3434    public override bool CanChangeName {
    3535      get { return false; }
     
    4545    }
    4646
    47     public StrategyVectorCrossover()
     47    public StdDevStrategyVectorCrossover()
    4848      : base() {
    4949      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use."));
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs

    r3435 r3450  
    2828using HeuristicLab.Random;
    2929using System;
     30using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3031
    3132namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3334  /// Mutates the endogenous strategy parameters.
    3435  /// </summary>
    35   public class StrategyVectorManipulator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStrategyParameterOperator, IStrategyParameterManipulator {
     36  [Item("StdDevStrategyVectorManipulator", "Mutates the endogenous strategy parameters.")]
     37  [StorableClass]
     38  public class StdDevStrategyVectorManipulator : SingleSuccessorOperator, IStochasticOperator, IRealVectorStdDevStrategyParameterManipulator {
    3639    public ILookupParameter<IRandom> RandomParameter {
    3740      get { return (ILookupParameter<IRandom>)Parameters["Random"]; }
     
    5457    /// <c>LearningRate</c>).
    5558    /// </summary>
    56     public StrategyVectorManipulator()
     59    public StdDevStrategyVectorManipulator()
    5760      : base() {
    5861      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use."));
Note: See TracChangeset for help on using the changeset viewer.