Changeset 16710
- Timestamp:
- 03/25/19 17:11:06 (6 years ago)
- Location:
- branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding
- Property svn:mergeinfo changed
-
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/BoundedIntegerVectorCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 30 30 [Item("BoundedIntegerVectorCrossover", "Base class for bounded crossovers.")] 31 [Storable Class]31 [StorableType("90834C8F-461F-4A94-A7CB-25C8D1063604")] 32 32 public abstract class BoundedIntegerVectorCrossover : IntegerVectorCrossover, IBoundedIntegerVectorOperator { 33 33 … … 37 37 38 38 [StorableConstructor] 39 protected BoundedIntegerVectorCrossover( bool deserializing) : base(deserializing) { }39 protected BoundedIntegerVectorCrossover(StorableConstructorFlag _) : base(_) { } 40 40 protected BoundedIntegerVectorCrossover(BoundedIntegerVectorCrossover original, Cloner cloner) : base(original, cloner) { } 41 41 public BoundedIntegerVectorCrossover() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/BoundedIntegerVectorManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 30 30 [Item("BoundedIntegerVectorManipulator", "Base class for bounded integer vector manipulators.")] 31 [Storable Class]31 [StorableType("A2B6079B-19AC-4518-91FB-8BEDFC8C776F")] 32 32 public abstract class BoundedIntegerVectorManipulator : IntegerVectorManipulator, IBoundedIntegerVectorOperator { 33 33 … … 37 37 38 38 [StorableConstructor] 39 protected BoundedIntegerVectorManipulator( bool deserializing) : base(deserializing) { }39 protected BoundedIntegerVectorManipulator(StorableConstructorFlag _) : base(_) { } 40 40 protected BoundedIntegerVectorManipulator(BoundedIntegerVectorManipulator original, Cloner cloner) : base(original, cloner) { } 41 41 public BoundedIntegerVectorManipulator() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Creators/UniformRandomIntegerVectorCreator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 30 30 /// </summary> 31 31 [Item("UniformRandomIntegerVectorCreator", "An operator which creates a new random int vector with each element uniformly distributed in a specified range.")] 32 [Storable Class]32 [StorableType("23B6374A-EE3B-4487-B728-635395D5F1B7")] 33 33 public class UniformRandomIntegerVectorCreator : IntegerVectorCreator { 34 34 [StorableConstructor] 35 protected UniformRandomIntegerVectorCreator( bool deserializing) : base(deserializing) { }35 protected UniformRandomIntegerVectorCreator(StorableConstructorFlag _) : base(_) { } 36 36 protected UniformRandomIntegerVectorCreator(UniformRandomIntegerVectorCreator original, Cloner cloner) : base(original, cloner) { } 37 37 public UniformRandomIntegerVectorCreator() : base() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/DiscreteCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 33 33 /// </remarks> 34 34 [Item("DiscreteCrossover", "Discrete crossover for integer vectors. It is implemented as described in Gwiazda, T.D. 2006. Genetic algorithms reference Volume I Crossover for single-objective numerical optimization problems, p.17.")] 35 [Storable Class]35 [StorableType("64C79AA5-1D77-4CF4-A19B-9646F270E4D8")] 36 36 public class DiscreteCrossover : IntegerVectorCrossover { 37 37 [StorableConstructor] 38 protected DiscreteCrossover( bool deserializing) : base(deserializing) { }38 protected DiscreteCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected DiscreteCrossover(DiscreteCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public DiscreteCrossover() : base() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 using HeuristicLab.PluginInfrastructure; 33 33 34 34 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 35 35 [Item("MultiIntegerVectorCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 36 [Storable Class]36 [StorableType("EC482D88-4258-48D3-BCD2-C6FC013C8FED")] 37 37 public class MultiIntegerVectorCrossover : StochasticMultiBranch<IIntegerVectorCrossover>, IIntegerVectorCrossover, IStochasticOperator, IBoundedIntegerVectorOperator { 38 38 public override bool CanChangeName { … … 56 56 57 57 [StorableConstructor] 58 protected MultiIntegerVectorCrossover( bool deserializing) : base(deserializing) { }58 protected MultiIntegerVectorCrossover(StorableConstructorFlag _) : base(_) { } 59 59 protected MultiIntegerVectorCrossover(MultiIntegerVectorCrossover original, Cloner cloner) : base(original, cloner) { } 60 60 public MultiIntegerVectorCrossover() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/RoundedAverageCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 31 31 /// </summary> 32 32 [Item("RoundedAverageCrossover", "Average crossover for integer vectors.")] 33 [Storable Class]33 [StorableType("6899DA13-4004-4E22-99B5-46FE6E3418FA")] 34 34 public class RoundedAverageCrossover : BoundedIntegerVectorCrossover, IBoundedIntegerVectorOperator { 35 35 36 36 [StorableConstructor] 37 protected RoundedAverageCrossover( bool deserializing) : base(deserializing) { }37 protected RoundedAverageCrossover(StorableConstructorFlag _) : base(_) { } 38 38 protected RoundedAverageCrossover(RoundedAverageCrossover original, Cloner cloner) : base(original, cloner) { } 39 39 public RoundedAverageCrossover() : base() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/RoundedBlendAlphaBetaCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 37 37 /// </summary> 38 38 [Item("RoundedBlendAlphaBetaCrossover", "The rounded blend alpha beta crossover (BLX-a-b) for integer vectors is similar to the blend alpha crossover (BLX-a), but distinguishes between the better and worse of the parents. The interval from which to choose the new offspring can be extended beyond the better parent by specifying a higher alpha value, and beyond the worse parent by specifying a higher beta value. The new offspring is sampled uniformly in the extended range and rounded to the next feasible integer.")] 39 [Storable Class]39 [StorableType("E9786DA1-C713-44EA-AD2A-BBE371712BA2")] 40 40 public class RoundedBlendAlphaBetaCrossover : BoundedIntegerVectorCrossover, ISingleObjectiveOperator { 41 41 /// <summary> … … 65 65 66 66 [StorableConstructor] 67 protected RoundedBlendAlphaBetaCrossover( bool deserializing) : base(deserializing) { }67 protected RoundedBlendAlphaBetaCrossover(StorableConstructorFlag _) : base(_) { } 68 68 protected RoundedBlendAlphaBetaCrossover(RoundedBlendAlphaBetaCrossover original, Cloner cloner) : base(original, cloner) { } 69 69 /// <summary> -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/RoundedBlendAlphaCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 34 34 /// </summary> 35 35 [Item("RoundedBlendAlphaCrossover", "The rounded blend alpha crossover (BLX-a) for integer vectors creates new offspring by sampling a new value in the range [min_i - d * alpha, max_i + d * alpha) at each position i and rounding the result to the next feasible integer. Here min_i and max_i are the smaller and larger value of the two parents at position i and d is max_i - min_i.")] 36 [Storable Class]36 [StorableType("F371B342-7D0C-4ED9-8F3F-A641E82DC8F1")] 37 37 public class RoundedBlendAlphaCrossover : BoundedIntegerVectorCrossover { 38 38 /// <summary> … … 47 47 48 48 [StorableConstructor] 49 protected RoundedBlendAlphaCrossover( bool deserializing) : base(deserializing) { }49 protected RoundedBlendAlphaCrossover(StorableConstructorFlag _) : base(_) { } 50 50 protected RoundedBlendAlphaCrossover(RoundedBlendAlphaCrossover original, Cloner cloner) : base(original, cloner) { } 51 51 /// <summary> -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/RoundedHeuristicCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 35 35 /// </summary> 36 36 [Item("RoundedHeuristicCrossover", "The heuristic crossover produces offspring that extend the better parent in direction from the worse to the better parent.")] 37 [Storable Class]37 [StorableType("94963FD3-4092-4B76-88E0-5FE5AC2DA9E2")] 38 38 public class RoundedHeuristicCrossover : BoundedIntegerVectorCrossover, ISingleObjectiveOperator { 39 39 /// <summary> … … 51 51 52 52 [StorableConstructor] 53 protected RoundedHeuristicCrossover( bool deserializing) : base(deserializing) { }53 protected RoundedHeuristicCrossover(StorableConstructorFlag _) : base(_) { } 54 54 protected RoundedHeuristicCrossover(RoundedHeuristicCrossover original, Cloner cloner) : base(original, cloner) { } 55 55 /// <summary> -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/RoundedLocalCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 32 32 /// </remarks> 33 33 [Item("RoundedLocalCrossover", @"The runded local crossover is similar to the arithmetic crossover, but uses a random alpha for each position x = alpha * p1 + (1-alpha) * p2.")] 34 [Storable Class]34 [StorableType("2E21F322-85CD-4B67-AF9C-4119FAABB3C1")] 35 35 public class RoundedLocalCrossover : BoundedIntegerVectorCrossover { 36 36 [StorableConstructor] 37 protected RoundedLocalCrossover( bool deserializing) : base(deserializing) { }37 protected RoundedLocalCrossover(StorableConstructorFlag _) : base(_) { } 38 38 protected RoundedLocalCrossover(RoundedLocalCrossover original, Cloner cloner) : base(original, cloner) { } 39 39 public RoundedLocalCrossover() : base() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/RoundedUniformArithmeticCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 32 32 /// </summary> 33 33 [Item("RoundedUniformSomePositionsArithmeticCrossover", "The uniform some positions arithmetic crossover (continuous recombination) constructs an offspring by calculating x = alpha * p1 + (1-alpha) * p2 for a position x in the vector with a given probability (otherwise p1 is taken at this position).")] 34 [Storable Class]34 [StorableType("8393AFC2-FAA5-47A8-A1E3-E6DEABE71B2F")] 35 35 public class RoundedUniformArithmeticCrossover : BoundedIntegerVectorCrossover, IBoundedIntegerVectorOperator { 36 36 … … 49 49 50 50 [StorableConstructor] 51 protected RoundedUniformArithmeticCrossover( bool deserializing) : base(deserializing) { }51 protected RoundedUniformArithmeticCrossover(StorableConstructorFlag _) : base(_) { } 52 52 protected RoundedUniformArithmeticCrossover(RoundedUniformArithmeticCrossover original, Cloner cloner) : base(original, cloner) { } 53 53 /// <summary> -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 33 33 /// </remarks> 34 34 [Item("SinglePointCrossover", "Single point crossover for integer vectors. It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")] 35 [Storable Class]35 [StorableType("0B985803-CC2D-466B-B5F2-9A1F7C415735")] 36 36 public class SinglePointCrossover : IntegerVectorCrossover { 37 37 [StorableConstructor] 38 protected SinglePointCrossover( bool deserializing) : base(deserializing) { }38 protected SinglePointCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected SinglePointCrossover(SinglePointCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public SinglePointCrossover() : base() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/HeuristicLab.Encodings.IntegerVectorEncoding-3.3.csproj
r16077 r16710 11 11 <RootNamespace>HeuristicLab.Encodings.IntegerVectorEncoding</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Encodings.IntegerVectorEncoding-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 225 225 </Reference> 226 226 </ItemGroup> 227 <ItemGroup> 228 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 229 <SpecificVersion>False</SpecificVersion> 230 <HintPath>..\..\bin\HEAL.Attic.dll</HintPath> 231 <Private>False</Private> 232 </Reference> 233 </ItemGroup> 227 234 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 228 235 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVector.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 29 [Storable Class]29 [StorableType("2DDD33C1-4732-478B-83B1-17226A8F2B61")] 30 30 [Item("IntegerVector", "Represents a vector of integer values.")] 31 31 public class IntegerVector : IntArray { 32 32 [StorableConstructor] 33 protected IntegerVector( bool deserializing) : base(deserializing) { }33 protected IntegerVector(StorableConstructorFlag _) : base(_) { } 34 34 protected IntegerVector(IntegerVector original, Cloner cloner) : base(original, cloner) { } 35 35 public IntegerVector() : base() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCreator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 33 33 /// </summary> 34 34 [Item("IntegerVectorCreator", "A base class for operators creating int-valued vectors.")] 35 [Storable Class]35 [StorableType("3C20D629-EFCB-4A1C-81B4-1DF0942B27F7")] 36 36 public abstract class IntegerVectorCreator : InstrumentedOperator, IIntegerVectorCreator, IStochasticOperator { 37 37 public override bool CanChangeName { … … 52 52 53 53 [StorableConstructor] 54 protected IntegerVectorCreator( bool deserializing) : base(deserializing) { }54 protected IntegerVectorCreator(StorableConstructorFlag _) : base(_) { } 55 55 protected IntegerVectorCreator(IntegerVectorCreator original, Cloner cloner) : base(original, cloner) { } 56 56 protected IntegerVectorCreator() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 31 31 /// </summary> 32 32 [Item("IntegerVectorCrossover", "A base class for operators that perform a crossover of int-valued vectors.")] 33 [Storable Class]33 [StorableType("BE778213-C140-4B1C-A4A4-1D92D0ADAB45")] 34 34 public abstract class IntegerVectorCrossover : IntegerVectorOperator, IIntegerVectorCrossover, IStochasticOperator { 35 35 public override bool CanChangeName { … … 47 47 48 48 [StorableConstructor] 49 protected IntegerVectorCrossover( bool deserializing) : base(deserializing) { }49 protected IntegerVectorCrossover(StorableConstructorFlag _) : base(_) { } 50 50 protected IntegerVectorCrossover(IntegerVectorCrossover original, Cloner cloner) : base(original, cloner) { } 51 51 protected IntegerVectorCrossover() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorEncoding.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.PluginInfrastructure; 32 32 33 33 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 34 34 [Item("IntegerVectorEncoding", "Describes an integer vector encoding.")] 35 [Storable Class]35 [StorableType("15D6E55E-C39F-4784-8350-14A0FD47CF0E")] 36 36 public sealed class IntegerVectorEncoding : Encoding<IIntegerVectorCreator> { 37 37 #region Encoding Parameters … … 78 78 79 79 [StorableConstructor] 80 private IntegerVectorEncoding( bool deserializing) : base(deserializing) { }80 private IntegerVectorEncoding(StorableConstructorFlag _) : base(_) { } 81 81 [StorableHook(HookType.AfterDeserialization)] 82 82 private void AfterDeserialization() { -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorEqualityComparer.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.PluginInfrastructure; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 27 28 [NonDiscoverableType] 29 [StorableType("33f5a8c1-8230-495f-8b8e-475bf69ac9a4")] 28 30 public class IntegerVectorEqualityComparer : EqualityComparer<IntegerVector> { 29 31 public override bool Equals(IntegerVector x, IntegerVector y) { -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 31 31 /// </summary> 32 32 [Item("IntegerVectorManipulator", "A base class for operators that manipulate int-valued vectors.")] 33 [Storable Class]33 [StorableType("CE399EA5-7FAD-4070-A89D-A0FC3431B02D")] 34 34 public abstract class IntegerVectorManipulator : IntegerVectorOperator, IIntegerVectorManipulator, IStochasticOperator { 35 35 public override bool CanChangeName { … … 44 44 45 45 [StorableConstructor] 46 protected IntegerVectorManipulator( bool deserializing) : base(deserializing) { }46 protected IntegerVectorManipulator(StorableConstructorFlag _) : base(_) { } 47 47 protected IntegerVectorManipulator(IntegerVectorManipulator original, Cloner cloner) : base(original, cloner) { } 48 48 protected IntegerVectorManipulator() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorOperator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 29 29 [Item("IntegerVectorOperator", "Base class for integer vectoro operators.")] 30 [Storable Class]30 [StorableType("6B380738-453C-4E60-B4AB-B3907BB5D9E2")] 31 31 public abstract class IntegerVectorOperator : InstrumentedOperator, IIntegerVectorOperator { 32 32 33 33 [StorableConstructor] 34 protected IntegerVectorOperator( bool deserializing) : base(deserializing) { }34 protected IntegerVectorOperator(StorableConstructorFlag _) : base(_) { } 35 35 protected IntegerVectorOperator(IntegerVectorOperator original, Cloner cloner) : base(original, cloner) { } 36 36 public IntegerVectorOperator() : base() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IBoundedIntegerVectorOperator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Data; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 27 [StorableType("c39d6a9a-430c-47d8-97d9-8430cb6050ff")] 26 28 public interface IBoundedIntegerVectorOperator : IIntegerVectorOperator { 27 29 /// <summary> -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorCreator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 28 [StorableType("9742b0e1-ab88-474e-b3f7-a2a0c2f77029")] 27 29 /// <summary> 28 30 /// An interface which represents an operator for creating vectors of int-valued data. -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Optimization; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 27 [StorableType("b29109e0-1930-429e-bc50-56790b97a7a0")] 26 28 /// <summary> 27 29 /// An interface which represents an operator for crossing vectors of int-valued data. -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Optimization; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 27 [StorableType("8c58d54f-5454-4b55-8be8-820ef0ee8687")] 26 28 /// <summary> 27 29 /// An interface which represents an operator for manipulating vectors of int-valued data. -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorMultiNeighborhoodShakingOperator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 26 [StorableType("2b21442c-735f-4df3-a163-4e3147cd11a5")] 25 27 public interface IIntegerVectorMultiNeighborhoodShakingOperator : IIntegerVectorOperator { 26 28 ILookupParameter<IntegerVector> IntegerVectorParameter { get; } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorOperator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 26 [StorableType("8caffc56-bdf0-465e-87ba-882441dfbd0d")] 25 27 /// <summary> 26 28 /// An interface which represents an operator dealing with vectors of int-valued data. -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorStdDevStrategyParameterCreator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 28 [StorableType("24dca301-a0f6-472f-9859-27f292f69458")] 27 29 public interface IIntegerVectorStdDevStrategyParameterCreator : IIntegerVectorStdDevStrategyParameterOperator, IStrategyParameterCreator { 28 30 ILookupParameter<DoubleArray> StrategyParameterParameter { get; } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorStdDevStrategyParameterCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 28 [StorableType("e8beb5ce-ec96-48b4-aac6-59e73249afef")] 27 29 public interface IIntegerVectorStdDevStrategyParameterCrossover : IIntegerVectorStdDevStrategyParameterOperator, IStrategyParameterCrossover { 28 30 ILookupParameter<DoubleArray> StrategyParameterParameter { get; } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorStdDevStrategyParameterManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using HeuristicLab.Data; 24 24 using HeuristicLab.Optimization; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 28 [StorableType("c2b76c64-9e5d-4ecb-b692-11cdf697ba02")] 27 29 public interface IIntegerVectorStdDevStrategyParameterManipulator : IIntegerVectorStdDevStrategyParameterOperator, IStrategyParameterManipulator { 28 30 ILookupParameter<DoubleArray> StrategyParameterParameter { get; } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Interfaces/IIntegerVectorStdDevStrategyParameterOperator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 26 [StorableType("f5dc6e51-c650-4d70-a109-ec94089b9024")] 25 27 public interface IIntegerVectorStdDevStrategyParameterOperator : IOperator { 26 28 } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Manipulators/RoundedNormalAllPositionsManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 using HeuristicLab.Random; 29 29 … … 34 34 /// </summary> 35 35 [Item("RoundedNormalAllPositionsManipulator", "This manipulation operator adds a value sigma_i * N_i(0,1) to the current value in each position i given the values for sigma_i in the parameter. The result is rounded to the next feasible value. If there are less elements in Sigma than positions, then Sigma is cycled.")] 36 [Storable Class]36 [StorableType("CDAE115B-1BAD-4CC2-B63E-E3C45955175D")] 37 37 public class RoundedNormalAllPositionsManipulator : BoundedIntegerVectorManipulator { 38 38 … … 42 42 43 43 [StorableConstructor] 44 protected RoundedNormalAllPositionsManipulator( bool deserializing) : base(deserializing) { }44 protected RoundedNormalAllPositionsManipulator(StorableConstructorFlag _) : base(_) { } 45 45 protected RoundedNormalAllPositionsManipulator(RoundedNormalAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { } 46 46 /// <summary> … … 75 75 if (bounds.Columns > 2) step = bounds[i % bounds.Rows, 2]; 76 76 77 int value = (vector[i] + (int)Math.Round((N.NextDouble() * sigma[i % sigma.Length])) - min) / step;77 double value = vector[i] + N.NextDouble() * sigma[i % sigma.Length]; 78 78 max = FloorFeasible(min, max, step, max - 1); 79 79 vector[i] = RoundFeasible(min, max, step, value); -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Manipulators/SelfAdaptiveRoundedNormalAllPositionsManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 using HeuristicLab.Random; 30 30 … … 35 35 /// </summary> 36 36 [Item("SelfAdaptiveRoundedNormalAllPositionsManipulator", "This manipulation operator adds a value sigma_i * N(0,1) to the current value in each position i. The resulting value is rounded to the next feasible value. The values for sigma_i are looked up dynamically. If there are less elements in the strategy vector than positions, then the strategy vector is cycled.")] 37 [Storable Class]37 [StorableType("2CD4AE6E-3A73-4514-AB66-4D94C700F779")] 38 38 public class SelfAdaptiveRoundedNormalAllPositionsManipulator : BoundedIntegerVectorManipulator, ISelfAdaptiveManipulator { 39 39 public Type StrategyParameterType { … … 52 52 53 53 [StorableConstructor] 54 protected SelfAdaptiveRoundedNormalAllPositionsManipulator( bool deserializing) : base(deserializing) { }54 protected SelfAdaptiveRoundedNormalAllPositionsManipulator(StorableConstructorFlag _) : base(_) { } 55 55 protected SelfAdaptiveRoundedNormalAllPositionsManipulator(SelfAdaptiveRoundedNormalAllPositionsManipulator original, Cloner cloner) : base(original, cloner) { } 56 56 /// <summary> -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Manipulators/UniformOnePositionManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 35 35 /// </remarks> 36 36 [Item("UniformOnePositionManipulator", " Uniformly distributed change of a single position of an integer vector. It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")] 37 [Storable Class]37 [StorableType("205791F7-231F-4957-B27E-387161BF56F0")] 38 38 public class UniformOnePositionManipulator : BoundedIntegerVectorManipulator { 39 39 40 40 [StorableConstructor] 41 protected UniformOnePositionManipulator( bool deserializing) : base(deserializing) { }41 protected UniformOnePositionManipulator(StorableConstructorFlag _) : base(_) { } 42 42 protected UniformOnePositionManipulator(UniformOnePositionManipulator original, Cloner cloner) : base(original, cloner) { } 43 43 /// <summary> -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Manipulators/UniformSomePositionsManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.IntegerVectorEncoding { … … 35 35 /// </remarks> 36 36 [Item("UniformSomePositionsManipulator", "Uniformly distributed change of several, but at least one, positions of an integer vector. It is implemented as described in Michalewicz, Z. 1999. Genetic Algorithms + Data Structures = Evolution Programs. Third, Revised and Extended Edition, Spring-Verlag Berlin Heidelberg.")] 37 [Storable Class]37 [StorableType("1A0F372D-7256-41EA-B825-9173BC1E278B")] 38 38 public class UniformSomePositionsManipulator : BoundedIntegerVectorManipulator { 39 39 … … 43 43 44 44 [StorableConstructor] 45 protected UniformSomePositionsManipulator( bool deserializing) : base(deserializing) { }45 protected UniformSomePositionsManipulator(StorableConstructorFlag _) : base(_) { } 46 46 protected UniformSomePositionsManipulator(UniformSomePositionsManipulator original, Cloner cloner) : base(original, cloner) { } 47 47 public UniformSomePositionsManipulator() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Plugin.cs.frame
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 36 36 [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")] 37 37 [PluginDependency("HeuristicLab.Parameters", "3.3")] 38 [PluginDependency("HeuristicLab. Persistence", "3.3")]38 [PluginDependency("HeuristicLab.Attic", "1.0")] 39 39 [PluginDependency("HeuristicLab.Random", "3.3")] 40 40 public class HeuristicLabEncodingsIntegerVectorEncodingPlugin : PluginBase { -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Properties/AssemblyInfo.cs.frame
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/ShakingOperators/IntegerVectorShakingOperator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 using HeuristicLab.PluginInfrastructure; 33 33 … … 37 37 /// </summary> 38 38 [Item("IntegerVectorShakingOperator", "A shaking operator for VNS which uses available manipulation operators to perform the shaking.")] 39 [Storable Class]39 [StorableType("852155D8-B96F-4AAA-A9F9-5358F317C015")] 40 40 public class IntegerVectorShakingOperator : ShakingOperator<IIntegerVectorManipulator>, IIntegerVectorMultiNeighborhoodShakingOperator, IStochasticOperator, IBoundedIntegerVectorOperator { 41 41 … … 53 53 54 54 [StorableConstructor] 55 protected IntegerVectorShakingOperator( bool deserializing) : base(deserializing) { }55 protected IntegerVectorShakingOperator(StorableConstructorFlag _) : base(_) { } 56 56 protected IntegerVectorShakingOperator(IntegerVectorShakingOperator original, Cloner cloner) : base(original, cloner) { } 57 57 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/SimilarityCalculators/EuclideanSimilarityCalculator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 29 29 [Item("Euclidean Similarity Calculator for IntegerVector", "Calculates the solution similarity based on the Euclidean distance and a transformation into (0;1] between two integer vectors.")] 30 [Storable Class]30 [StorableType("479842EF-3426-4355-A064-7B235DC1D5E2")] 31 31 public sealed class EuclideanSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 32 32 protected override bool IsCommutative { … … 47 47 48 48 [StorableConstructor] 49 private EuclideanSimilarityCalculator( bool deserializing) : base(deserializing) { }49 private EuclideanSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 50 50 private EuclideanSimilarityCalculator(EuclideanSimilarityCalculator original, Cloner cloner) 51 51 : base(original, cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 29 29 [Item("Hamming Similarity Calculator for IntegerVector", "Calculates the solution similarity based on the Hamming distance between two integer vectors.")] 30 [Storable Class]30 [StorableType("3784C4BD-8834-4A90-900C-0340C7F7BB47")] 31 31 public sealed class HammingSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 32 32 protected override bool IsCommutative { … … 35 35 36 36 [StorableConstructor] 37 private HammingSimilarityCalculator( bool deserializing) : base(deserializing) { }37 private HammingSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 38 38 private HammingSimilarityCalculator(HammingSimilarityCalculator original, Cloner cloner) : base(original, cloner) { } 39 39 public HammingSimilarityCalculator() { } -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCreator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 31 31 [Item("StdDevStrategyVectorCreator", "Creates the endogeneous strategy parameters.")] 32 [Storable Class]32 [StorableType("3357CE2D-EC8C-4DD7-B51A-FA72D558EA91")] 33 33 public class StdDevStrategyVectorCreator : SingleSuccessorOperator, IStochasticOperator, IIntegerVectorStdDevStrategyParameterCreator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected StdDevStrategyVectorCreator( bool deserializing) : base(deserializing) { }51 protected StdDevStrategyVectorCreator(StorableConstructorFlag _) : base(_) { } 52 52 protected StdDevStrategyVectorCreator(StdDevStrategyVectorCreator original, Cloner cloner) : base(original, cloner) { } 53 53 public StdDevStrategyVectorCreator() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.IntegerVectorEncoding { 31 31 [Item("StdDevStrategyVectorCrossover", "Crosses the strategy vector by using intermediate recombination (average crossover).")] 32 [Storable Class]32 [StorableType("27583F67-4C80-4059-B4F9-80587C0DFB13")] 33 33 public class StdDevStrategyVectorCrossover : SingleSuccessorOperator, IStochasticOperator, IIntegerVectorStdDevStrategyParameterCrossover { 34 34 public override bool CanChangeName { … … 46 46 47 47 [StorableConstructor] 48 protected StdDevStrategyVectorCrossover( bool deserializing) : base(deserializing) { }48 protected StdDevStrategyVectorCrossover(StorableConstructorFlag _) : base(_) { } 49 49 protected StdDevStrategyVectorCrossover(StdDevStrategyVectorCrossover original, Cloner cloner) : base(original, cloner) { } 50 50 public StdDevStrategyVectorCrossover() -
branches/2936_GQAPIntegration/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorManipulator.cs
r15605 r16710 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 using HeuristicLab.Random; 31 31 … … 35 35 /// </summary> 36 36 [Item("StdDevStrategyVectorManipulator", "Mutates the endogenous strategy parameters.")] 37 [Storable Class]37 [StorableType("8DEED222-E816-4B80-B3F9-0A799EC40C4E")] 38 38 public class StdDevStrategyVectorManipulator : SingleSuccessorOperator, IStochasticOperator, IIntegerVectorStdDevStrategyParameterManipulator { 39 39 public override bool CanChangeName { … … 57 57 58 58 [StorableConstructor] 59 protected StdDevStrategyVectorManipulator( bool deserializing) : base(deserializing) { }59 protected StdDevStrategyVectorManipulator(StorableConstructorFlag _) : base(_) { } 60 60 protected StdDevStrategyVectorManipulator(StdDevStrategyVectorManipulator original, Cloner cloner) : base(original, cloner) { } 61 61 public StdDevStrategyVectorManipulator()
Note: See TracChangeset
for help on using the changeset viewer.