- Timestamp:
- 05/15/19 13:36:51 (5 years ago)
- Location:
- branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding
- Property svn:mergeinfo changed
-
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVector.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 28 [Storable Class]28 [StorableType("B349929A-675C-41F4-AEB9-EEA3121E73A9")] 29 29 [Item("BinaryVector", "Represents a vector of binary values.")] 30 30 public class BinaryVector : BoolArray { 31 31 [StorableConstructor] 32 protected BinaryVector( bool deserializing) : base(deserializing) { }32 protected BinaryVector(StorableConstructorFlag _) : base(_) { } 33 33 protected BinaryVector(BinaryVector original, Cloner cloner) : base(original, cloner) { } 34 34 public BinaryVector() : base() { } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorCreator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { … … 33 33 /// </summary> 34 34 [Item("BinaryVectorCreator", "A base class for operators creating bool-valued vectors.")] 35 [Storable Class]35 [StorableType("5CE4B676-CE68-4338-AF85-A289D3C8BA69")] 36 36 public abstract class BinaryVectorCreator : InstrumentedOperator, IBinaryVectorCreator, IStochasticOperator { 37 37 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected BinaryVectorCreator( bool deserializing) : base(deserializing) { }51 protected BinaryVectorCreator(StorableConstructorFlag _) : base(_) { } 52 52 protected BinaryVectorCreator(BinaryVectorCreator original, Cloner cloner) : base(original, cloner) { } 53 53 protected BinaryVectorCreator() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorCrossover.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 32 32 /// </summary> 33 33 [Item("BinaryVectorCrossover", "A base class for operators that perform a crossover of bool-valued vectors.")] 34 [Storable Class]34 [StorableType("1E97E70A-DBB0-49E4-B67B-41A581B95BAE")] 35 35 public abstract class BinaryVectorCrossover : InstrumentedOperator, IBinaryVectorCrossover, IStochasticOperator { 36 36 public override bool CanChangeName { … … 48 48 49 49 [StorableConstructor] 50 protected BinaryVectorCrossover( bool deserializing) : base(deserializing) { }50 protected BinaryVectorCrossover(StorableConstructorFlag _) : base(_) { } 51 51 protected BinaryVectorCrossover(BinaryVectorCrossover original, Cloner cloner) : base(original, cloner) { } 52 52 protected BinaryVectorCrossover() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorEncoding.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 34 34 [Item("BinaryVectorEncoding", "Describes a binary vector encoding.")] 35 [Storable Class]35 [StorableType("889C5E1A-3FBF-4AB3-AB2E-199A781503B5")] 36 36 public sealed class BinaryVectorEncoding : Encoding<IBinaryVectorCreator> { 37 37 #region Encoding Parameters … … 60 60 61 61 [StorableConstructor] 62 private BinaryVectorEncoding( bool deserializing) : base(deserializing) { }62 private BinaryVectorEncoding(StorableConstructorFlag _) : base(_) { } 63 63 [StorableHook(HookType.AfterDeserialization)] 64 64 private void AfterDeserialization() { -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorEqualityComparer.cs
r15256 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 7Heuristic 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.BinaryVectorEncoding { 27 28 [NonDiscoverableType] 29 [StorableType("b9277027-dd39-4977-a8de-1b9854290f5e")] 28 30 public class BinaryVectorEqualityComparer : EqualityComparer<BinaryVector> { 29 31 public override bool Equals(BinaryVector x, BinaryVector y) { -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorManipulator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 32 32 /// </summary> 33 33 [Item("BinaryVectorManipulator", "A base class for operators that manipulate bool-valued vectors.")] 34 [Storable Class]34 [StorableType("B5A9B51F-33F3-4C0B-87CF-147C3BF03545")] 35 35 public abstract class BinaryVectorManipulator : InstrumentedOperator, IBinaryVectorManipulator, IStochasticOperator { 36 36 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected BinaryVectorManipulator( bool deserializing) : base(deserializing) { }47 protected BinaryVectorManipulator(StorableConstructorFlag _) : base(_) { } 48 48 protected BinaryVectorManipulator(BinaryVectorManipulator original, Cloner cloner) : base(original, cloner) { } 49 49 protected BinaryVectorManipulator() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { … … 32 32 /// </summary> 33 33 [Item("RandomBinaryVectorCreator", "An operator which creates a new random binary vector with each element randomly initialized.")] 34 [Storable Class]34 [StorableType("D5BF4C14-1C0B-4589-835E-BA337D325E31")] 35 35 public sealed class RandomBinaryVectorCreator : BinaryVectorCreator { 36 36 private const string TrueProbabilityParameterName = "TrueProbability"; … … 46 46 47 47 [StorableConstructor] 48 private RandomBinaryVectorCreator( bool deserializing) : base(deserializing) { }48 private RandomBinaryVectorCreator(StorableConstructorFlag _) : base(_) { } 49 49 private RandomBinaryVectorCreator(RandomBinaryVectorCreator original, Cloner cloner) : base(original, cloner) { } 50 50 public override IDeepCloneable Clone(Cloner cloner) { return new RandomBinaryVectorCreator(this, cloner); } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/MultiBinaryVectorCrossover.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 34 34 [Item("MultiBinaryVectorCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 35 [Storable Class]35 [StorableType("0ACAFFFB-E57A-4171-9D6D-A20B7A7B935E")] 36 36 public class MultiBinaryVectorCrossover : StochasticMultiBranch<IBinaryVectorCrossover>, IBinaryVectorCrossover, IStochasticOperator { 37 37 public override bool CanChangeName { … … 51 51 52 52 [StorableConstructor] 53 protected MultiBinaryVectorCrossover( bool deserializing) : base(deserializing) { }53 protected MultiBinaryVectorCrossover(StorableConstructorFlag _) : base(_) { } 54 54 protected MultiBinaryVectorCrossover(MultiBinaryVectorCrossover original, Cloner cloner) : base(original, cloner) { } 55 55 public MultiBinaryVectorCrossover() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/NPointCrossover.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Data; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 36 36 /// </remarks> 37 37 [Item("NPointCrossover", "N point crossover for binary vectors. 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.")] 38 [Storable Class]38 [StorableType("59683F25-9315-47D9-9E06-539559C9DEE1")] 39 39 public sealed class NPointCrossover : BinaryVectorCrossover { 40 40 /// <summary> … … 46 46 47 47 [StorableConstructor] 48 private NPointCrossover( bool deserializing) : base(deserializing) { }48 private NPointCrossover(StorableConstructorFlag _) : base(_) { } 49 49 private NPointCrossover(NPointCrossover original, Cloner cloner) : base(original, cloner) { } 50 50 /// <summary> -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { … … 34 34 /// </remarks> 35 35 [Item("SinglePointCrossover", "Single point crossover for binary vectors. It is implemented based on the NPointCrossover.")] 36 [Storable Class]36 [StorableType("40B6A5D5-8937-495E-8B98-2E4F8FD06D93")] 37 37 public sealed class SinglePointCrossover : BinaryVectorCrossover { 38 38 39 39 [StorableConstructor] 40 private SinglePointCrossover( bool deserializing) : base(deserializing) { }40 private SinglePointCrossover(StorableConstructorFlag _) : base(_) { } 41 41 private SinglePointCrossover(SinglePointCrossover original, Cloner cloner) : base(original, cloner) { } 42 42 public SinglePointCrossover() : base() { } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/UniformCrossover.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { … … 33 33 /// </remarks> 34 34 [Item("UniformCrossover", "Uniform crossover for binary vectors. 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.")] 35 [Storable Class]35 [StorableType("6B0DDD76-EC81-4C5A-989E-239A82B78E66")] 36 36 public sealed class UniformCrossover : BinaryVectorCrossover { 37 37 38 38 [StorableConstructor] 39 private UniformCrossover( bool deserializing) : base(deserializing) { }39 private UniformCrossover(StorableConstructorFlag _) : base(_) { } 40 40 private UniformCrossover(UniformCrossover original, Cloner cloner) : base(original, cloner) { } 41 41 public UniformCrossover() : base() { } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/HeuristicLab.Encodings.BinaryVectorEncoding-3.3.csproj
r15694 r16956 11 11 <RootNamespace>HeuristicLab.Encodings.BinaryVectorEncoding</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Encodings.BinaryVectorEncoding-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 5</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 218 218 </BootstrapperPackage> 219 219 </ItemGroup> 220 <ItemGroup /> 220 <ItemGroup> 221 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 222 <SpecificVersion>False</SpecificVersion> 223 <HintPath>..\..\bin\HEAL.Attic.dll</HintPath> 224 <Private>False</Private> 225 </Reference> 226 </ItemGroup> 221 227 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 222 228 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorCreator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 28 [StorableType("60af1d5b-398c-4167-aa3f-08fce3d7d0a4")] 27 29 /// <summary> 28 30 /// An interface which represents an operator for creating vectors of bool-valued data. -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorCrossover.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 27 [StorableType("608e364f-06f8-49a2-afab-a00195a96bc3")] 26 28 /// <summary> 27 29 /// An interface which represents an operator for crossing vectors of bool-valued data. -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorManipulator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 27 [StorableType("250ec119-143a-4798-b074-32b44a0fc0d4")] 26 28 /// <summary> 27 29 /// An interface which represents an operator for manipulating vectors of bool-valued data. -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorMoveOperator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 27 [StorableType("269d5dc0-f788-4016-ab6a-3ccfd9ea074e")] 26 28 public interface IBinaryVectorMoveOperator : IBinaryVectorOperator, IMoveOperator { 27 29 ILookupParameter<BinaryVector> BinaryVectorParameter { get; } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorMultiNeighborhoodShakingOperator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 26 [StorableType("90e29db0-b4bf-479d-a77b-f867fdda0fb4")] 25 27 public interface IBinaryVectorMultiNeighborhoodShakingOperator : IBinaryVectorOperator { 26 28 ILookupParameter<BinaryVector> BinaryVectorParameter { get; } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorOperator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 26 [StorableType("24afee75-e15a-4076-aeae-101fe24d8e60")] 25 27 /// <summary> 26 28 /// An interface which represents an operator dealing with vectors of bool-valued data. -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IOneBitflipMoveOperator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 26 [StorableType("f59dc211-20bf-4c50-8a87-54c0d37735c7")] 25 27 public interface IOneBitflipMoveOperator : IBinaryVectorMoveOperator { 26 28 ILookupParameter<OneBitflipMove> OneBitflipMoveParameter { get; } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Manipulators/SinglePositionBitflipManipulator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 32 32 /// </remarks> 33 33 [Item("SinglePositionBitflipManipulator", "Flips exactly one bit of a binary 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.")] 34 [Storable Class]34 [StorableType("72BE48BD-F47C-4C81-81F6-FA42D496AC34")] 35 35 public sealed class SinglePositionBitflipManipulator : BinaryVectorManipulator { 36 36 37 37 [StorableConstructor] 38 private SinglePositionBitflipManipulator( bool deserializing) : base(deserializing) { }38 private SinglePositionBitflipManipulator(StorableConstructorFlag _) : base(_) { } 39 39 private SinglePositionBitflipManipulator(SinglePositionBitflipManipulator original, Cloner cloner) : base(original, cloner) { } 40 40 public SinglePositionBitflipManipulator() : base() { } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Manipulators/SomePositionsBitflipManipulator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { … … 35 35 /// </remarks> 36 36 [Item("SomePositionsBitflipManipulator", "Flips some bits of a binary vector, each position is flipped with a probability of pm. 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, p. 43.")] 37 [Storable Class]37 [StorableType("058E0380-0BFB-4E39-82DC-C4E3CCD8EAF5")] 38 38 public sealed class SomePositionsBitflipManipulator : BinaryVectorManipulator { 39 39 /// <summary> … … 45 45 46 46 [StorableConstructor] 47 private SomePositionsBitflipManipulator( bool deserializing) : base(deserializing) { }47 private SomePositionsBitflipManipulator(StorableConstructorFlag _) : base(_) { } 48 48 private SomePositionsBitflipManipulator(SomePositionsBitflipManipulator original, Cloner cloner) : base(original, cloner) { } 49 49 /// <summary> -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/ExhaustiveOneBitflipMoveGenerator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Optimization; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 28 28 [Item("ExhaustiveBitflipMoveGenerator", "Generates all possible one bitflip moves from a given binaryVector.")] 29 [Storable Class]29 [StorableType("15F17361-2334-434A-904D-EF9426DEF32F")] 30 30 public sealed class ExhaustiveOneBitflipMoveGenerator : OneBitflipMoveGenerator, IExhaustiveMoveGenerator { 31 31 [StorableConstructor] 32 private ExhaustiveOneBitflipMoveGenerator( bool deserializing) : base(deserializing) { }32 private ExhaustiveOneBitflipMoveGenerator(StorableConstructorFlag _) : base(_) { } 33 33 private ExhaustiveOneBitflipMoveGenerator(ExhaustiveOneBitflipMoveGenerator original, Cloner cloner) : base(original, cloner) { } 34 34 public ExhaustiveOneBitflipMoveGenerator() : base() { } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMove.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 27 27 [Item("OneBitflipMove", "Item that describes a one bitflip move.")] 28 [Storable Class]28 [StorableType("BFF3ABCF-9C7B-41F8-8861-B2164D92FD89")] 29 29 public class OneBitflipMove : OneIndexMove { 30 30 [StorableConstructor] 31 protected OneBitflipMove( bool deserializing) : base(deserializing) { }31 protected OneBitflipMove(StorableConstructorFlag _) : base(_) { } 32 32 protected OneBitflipMove(OneBitflipMove original, Cloner cloner) : base(original, cloner) { } 33 33 public OneBitflipMove() : base() { } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveAttribute.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 27 27 [Item("OneBitflipMoveAttribute", "Describes the attributes (move quality and index) of a single bitflip move.")] 28 [Storable Class]28 [StorableType("D5CD3F76-E016-417F-B916-7666683A42D7")] 29 29 public class OneBitflipMoveAttribute : Item { 30 30 [Storable] … … 34 34 35 35 [StorableConstructor] 36 protected OneBitflipMoveAttribute( bool deserializing) : base(deserializing) { }36 protected OneBitflipMoveAttribute(StorableConstructorFlag _) : base(_) { } 37 37 protected OneBitflipMoveAttribute(OneBitflipMoveAttribute original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveGenerator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 30 30 [Item("OneBitflipMoveGenerator", "Base class for all one bitflip move generators.")] 31 [Storable Class]31 [StorableType("600CE405-5ADC-471A-966B-27965190AF73")] 32 32 public abstract class OneBitflipMoveGenerator : SingleSuccessorOperator, IOneBitflipMoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected OneBitflipMoveGenerator( bool deserializing) : base(deserializing) { }47 protected OneBitflipMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected OneBitflipMoveGenerator(OneBitflipMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public OneBitflipMoveGenerator() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveMaker.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 31 31 [Item("OneBitflipMoveMaker", "Peforms a one bitflip move on a given BitVector and updates the quality.")] 32 [Storable Class]32 [StorableType("13029FD8-4A99-4EA6-A4AA-8877B86582B8")] 33 33 public class OneBitflipMoveMaker : SingleSuccessorOperator, IOneBitflipMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected OneBitflipMoveMaker( bool deserializing) : base(deserializing) { }51 protected OneBitflipMoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected OneBitflipMoveMaker(OneBitflipMoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public OneBitflipMoveMaker() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveTabuChecker.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 31 31 [Item("OneBitflipMoveTabuChecker", "Prevents peforming a one bitflip move again.")] 32 [Storable Class]32 [StorableType("27523531-D19E-47ED-9397-F7457D41B85B")] 33 33 public class OneBitflipMoveTabuChecker : SingleSuccessorOperator, IOneBitflipMoveOperator, ITabuChecker { 34 34 public override bool CanChangeName { … … 63 63 64 64 [StorableConstructor] 65 protected OneBitflipMoveTabuChecker( bool deserializing) : base(deserializing) { }65 protected OneBitflipMoveTabuChecker(StorableConstructorFlag _) : base(_) { } 66 66 protected OneBitflipMoveTabuChecker(OneBitflipMoveTabuChecker original, Cloner cloner) : base(original, cloner) { } 67 67 public OneBitflipMoveTabuChecker() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveTabuMaker.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 29 29 [Item("OneBitflipMoveTabuMaker", "Declares a given one bitflip move as tabu, by adding its attributes to the tabu list. It also removes the oldest entry in the tabu list when its size is greater than tenure.")] 30 [Storable Class]30 [StorableType("F0C4D51D-EF93-426D-8D94-867BE0DBE1F6")] 31 31 public class OneBitflipMoveTabuMaker : TabuMaker, IOneBitflipMoveOperator { 32 32 public ILookupParameter<BinaryVector> BinaryVectorParameter { … … 38 38 39 39 [StorableConstructor] 40 protected OneBitflipMoveTabuMaker( bool deserializing) : base(deserializing) { }40 protected OneBitflipMoveTabuMaker(StorableConstructorFlag _) : base(_) { } 41 41 protected OneBitflipMoveTabuMaker(OneBitflipMoveTabuMaker original, Cloner cloner) : base(original, cloner) { } 42 42 public OneBitflipMoveTabuMaker() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/StochasticOneBitflipMultiMoveGenerator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 31 31 [Item("StochasticOneBitflipMultiMoveGenerator", "Randomly samples n from all possible one bitflip moves from a given BinaryVector.")] 32 [Storable Class]32 [StorableType("11A9E43A-6291-4F9D-90AB-DC205923EE68")] 33 33 public class StochasticOneBitflipMultiMoveGenerator : OneBitflipMoveGenerator, IStochasticOperator, IMultiMoveGenerator { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 45 45 46 46 [StorableConstructor] 47 protected StochasticOneBitflipMultiMoveGenerator( bool deserializing) : base(deserializing) { }47 protected StochasticOneBitflipMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected StochasticOneBitflipMultiMoveGenerator(StochasticOneBitflipMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public StochasticOneBitflipMultiMoveGenerator() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/StochasticOneBitflipSingleMoveGenerator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 29 29 [Item("StochasticOneBitflipSingleMoveGenerator", "Randomly samples a single from all possible one bitflip moves from a given BinaryVector.")] 30 [Storable Class]30 [StorableType("9EFDBD19-B9AF-4820-8DA9-EE04370D7D8B")] 31 31 public class StochasticOneBitflipSingleMoveGenerator : OneBitflipMoveGenerator, IStochasticOperator, ISingleMoveGenerator { 32 32 public ILookupParameter<IRandom> RandomParameter { … … 35 35 36 36 [StorableConstructor] 37 protected StochasticOneBitflipSingleMoveGenerator( bool deserializing) : base(deserializing) { }37 protected StochasticOneBitflipSingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 38 38 protected StochasticOneBitflipSingleMoveGenerator(StochasticOneBitflipSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 39 39 public StochasticOneBitflipSingleMoveGenerator() -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneIndexMove.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 27 27 [Item("OneIndexMove", "A move on a binary vector that is specified by 1 index")] 28 [Storable Class]28 [StorableType("C7948F7F-EC47-4752-9E18-9299123189D1")] 29 29 public class OneIndexMove : Item { 30 30 [Storable] … … 34 34 35 35 [StorableConstructor] 36 protected OneIndexMove( bool deserializing) : base(deserializing) { }36 protected OneIndexMove(StorableConstructorFlag _) : base(_) { } 37 37 protected OneIndexMove(OneIndexMove original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Plugin.cs.frame
r14195 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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 /// Plugin class for HeuristicLab.Encodings.BinaryVectorEncoding plugin. 27 27 /// </summary> 28 [Plugin("HeuristicLab.Encodings.BinaryVectorEncoding", "3.3.1 4.$WCREV$")]28 [Plugin("HeuristicLab.Encodings.BinaryVectorEncoding", "3.3.15.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Encodings.BinaryVectorEncoding-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Collections", "3.3")] … … 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 public class HeuristicLabEncodingsBinaryVectorEncodingPlugin : PluginBase { 40 40 } -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Properties/AssemblyInfo.cs.frame
r14195 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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. … … 32 32 [assembly: AssemblyCompany("")] 33 33 [assembly: AssemblyProduct("HeuristicLab")] 34 [assembly: AssemblyCopyright("(c) 2002-201 6HEAL")]34 [assembly: AssemblyCopyright("(c) 2002-2018 HEAL")] 35 35 [assembly: AssemblyTrademark("")] 36 36 [assembly: AssemblyCulture("")] … … 54 54 // by using the '*' as shown below: 55 55 [assembly: AssemblyVersion("3.3.0.0")] 56 [assembly: AssemblyFileVersion("3.3.1 4.$WCREV$")]56 [assembly: AssemblyFileVersion("3.3.15.$WCREV$")] -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/ShakingOperators/BinaryVectorShakingOperator.cs
r14185 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 using HeuristicLab.PluginInfrastructure; 32 32 … … 36 36 /// </summary> 37 37 [Item("BinaryVectorShakingOperator", "A shaking operator for VNS which uses available manipulation operators to perform the shaking.")] 38 [Storable Class]38 [StorableType("9AC6B66C-C95D-4A39-8E40-6F4B5AC03B6E")] 39 39 public class BinaryVectorShakingOperator : ShakingOperator<IBinaryVectorManipulator>, IBinaryVectorMultiNeighborhoodShakingOperator, IStochasticOperator { 40 40 … … 48 48 49 49 [StorableConstructor] 50 protected BinaryVectorShakingOperator( bool deserializing) : base(deserializing) { }50 protected BinaryVectorShakingOperator(StorableConstructorFlag _) : base(_) { } 51 51 protected BinaryVectorShakingOperator(BinaryVectorShakingOperator original, Cloner cloner) : base(original, cloner) { } 52 52 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2457_ExpertSystem/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs
r15256 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 6Heuristic 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.BinaryVectorEncoding { 29 29 [Item("Hamming Similarity Calculator for BinaryVector", "Calculates the solution similarity based on the Hamming distance between two binary vectors.")] 30 [Storable Class]30 [StorableType("1718CDA7-9BC7-4A05-A52D-774BEEB59E05")] 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() { }
Note: See TracChangeset
for help on using the changeset viewer.