Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/10/10 18:28:50 (15 years ago)
Author:
epitzer
Message:

Make StorableClass attribute compulsory for StorableSerializer to work, add named property StorableClassType to choose between Empty and MarkedOnly, later other options will be added. (#548)

Location:
trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators/InsertionManipulator.cs

    r2907 r2994  
    3131  /// </remarks>
    3232  [Item("InsertionManipulator", "An operator which moves randomly one element to another position in the permutation. It is implemented as described in Fogel, D.B. (1988). An Evolutionary Approach to the Traveling Salesman Problem, Biological Cybernetics, 60, pp. 139-144.")]
    33   [EmptyStorableClass]
     33  [StorableClass(StorableClassType.Empty)]
    3434  [Creatable("Test")]
    3535  public class InsertionManipulator : PermutationManipulator {
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators/InversionManipulator.cs

    r2907 r2994  
    3131  /// </remarks>
    3232  [Item("InversionManipulator", "An operator which inverts a randomly chosen part of a permutation. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg.")]
    33   [EmptyStorableClass]
     33  [StorableClass(StorableClassType.Empty)]
    3434  [Creatable("Test")]
    3535  public class InversionManipulator : PermutationManipulator {
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators/ScrambleManipulator.cs

    r2907 r2994  
    3131  /// </remarks>
    3232  [Item("ScrambleManipulator", "An operator which manipulates a permutation array by randomly scrambling the elements in a randomly chosen interval. It is implemented as described in Syswerda, G. (1991). Schedule Optimization Using Genetic Algorithms. In Davis, L. (Ed.) Handbook of Genetic Algorithms, Van Nostrand Reinhold, New York, pp 332-349.")]
    33   [EmptyStorableClass]
     33  [StorableClass(StorableClassType.Empty)]
    3434  [Creatable("Test")]
    3535  public class ScrambleManipulator : PermutationManipulator {
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators/Swap2Manipulator.cs

    r2907 r2994  
    3131  /// </remarks>
    3232  [Item("Swap2Manipulator", "An operator which manipulates a permutation array by swapping to randomly chosen elements. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg.")]
    33   [EmptyStorableClass]
     33  [StorableClass(StorableClassType.Empty)]
    3434  [Creatable("Test")]
    3535  public class Swap2Manipulator : PermutationManipulator {
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators/Swap3Manipulator.cs

    r2907 r2994  
    3333  /// </remarks>
    3434  [Item("Swap3Manipulator", "An operator which manipulates a permutation array by swaping three randomly chosen elements. It is implemented such that first 3 positions are randomly chosen in the interval [0;N) with N = length of the permutation with all positions being distinct from each other. Then position 1 is put in place of position 3, position 2 is put in place of position 1 and position 3 is put in place of position 2.")]
    35   [EmptyStorableClass]
     35  [StorableClass(StorableClassType.Empty)]
    3636  [Creatable("Test")]
    3737  public class Swap3Manipulator : PermutationManipulator {
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators/TranslocationInversionManipulator.cs

    r2907 r2994  
    3232  /// </remarks>
    3333  [Item("TranslocationInversionManipulator", "An operator which inverts a randomly chosen part of a permutation and inserts it at a random position. It is implemented as described in Fogel, D.B. 1993. Applying Evolutionary Programming to Selected TSP Problems, Cybernetics and Systems, 22, pp. 27-36.")]
    34   [EmptyStorableClass]
     34  [StorableClass(StorableClassType.Empty)]
    3535  [Creatable("Test")]
    3636  public class TranslocationInversionManipulator : PermutationManipulator {
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Manipulators/TranslocationManipulator.cs

    r2907 r2994  
    3232  /// </remarks>
    3333  [Item("TranslocationManipulator", "An operator which Manipulates a permutation array by moving a randomly chosen interval of elements to another (randomly chosen) position in the array. It is implemented as described in Michalewicz, Z. 1992. Genetic Algorithms + Data Structures = Evolution Programs, Springer Verlag, Berlin Heidelberg.")]
    34   [EmptyStorableClass]
     34  [StorableClass(StorableClassType.Empty)]
    3535  [Creatable("Test")]
    3636  public class TranslocationManipulator : PermutationManipulator {
Note: See TracChangeset for help on using the changeset viewer.