- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/BinaryVectorComparers/AverageBitBinaryVectorComparer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.BinaryVectorEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.NK { 29 29 [Item("Average Bit Binary Vector Comparer", "Compares two binary vectors by their average positive bit location")] 30 [Storable Class]30 [StorableType("F782E957-3D46-40BC-B152-045F9E2BE330")] 31 31 public sealed class AverageBitBinaryVectorComparer : Item, IBinaryVectorComparer { 32 32 [StorableConstructor] 33 private AverageBitBinaryVectorComparer( bool deserializing) : base(deserializing) { }33 private AverageBitBinaryVectorComparer(StorableConstructorFlag _) : base(_) { } 34 34 private AverageBitBinaryVectorComparer(AverageBitBinaryVectorComparer original, Cloner cloner) 35 35 : base(original, cloner) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/BinaryVectorComparers/LexicographicBinaryVectorComparer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.BinaryVectorEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.NK { 29 29 [Item("Lexicographic Binary Vector Comparer", "Compares two binary vectors lexicographically")] 30 [Storable Class]30 [StorableType("E107BAC1-B863-4704-9129-F258B0974285")] 31 31 public sealed class LexicographicBinaryVectorComparer : Item, IBinaryVectorComparer { 32 32 [StorableConstructor] 33 private LexicographicBinaryVectorComparer( bool deserializing) : base(deserializing) { }33 private LexicographicBinaryVectorComparer(StorableConstructorFlag _) : base(_) { } 34 34 private LexicographicBinaryVectorComparer(LexicographicBinaryVectorComparer original, Cloner cloner) 35 35 : base(original, cloner) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/BinaryVectorComparers/MedianBitBinaryVectorComparer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.BinaryVectorEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.NK { 29 29 [Item("Median Bit Binary Vector Comparer", "Compares two binary vectors by the median positive bit location")] 30 [Storable Class]30 [StorableType("C750F13C-F775-4A53-8725-DB26F38DC229")] 31 31 public sealed class MedianBitBinaryVectorComparer : Item, IBinaryVectorComparer { 32 32 [StorableConstructor] 33 private MedianBitBinaryVectorComparer( bool deserializing) : base(deserializing) { }33 private MedianBitBinaryVectorComparer(StorableConstructorFlag _) : base(_) { } 34 34 private MedianBitBinaryVectorComparer(MedianBitBinaryVectorComparer original, Cloner cloner) 35 35 : base(original, cloner) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/HeuristicLab.Problems.NK-3.3.csproj
r16454 r16462 112 112 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 113 113 </Reference> 114 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">114 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 115 115 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 116 116 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/InteractionInitializers/IncreasingBlockSizeInteractionsInitializer.cs
r16453 r16462 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Encodings.BinaryVectorEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.NK { 31 31 [Item("IncreasingBlockSizeInteractionsInitializer", "Randomly assignes interactions across all bits but makes sure that different numbers of ineractions are applied to different bits.")] 32 [Storable Class]32 [StorableType("E4AAEDCA-6A90-45AE-AFD5-B200A50ACAB8")] 33 33 public sealed class IncreasingBlockSizeInteractionsInitializer : ParameterizedNamedItem, IInteractionInitializer { 34 34 [StorableConstructor] 35 private IncreasingBlockSizeInteractionsInitializer( bool serializing) : base(serializing) { }35 private IncreasingBlockSizeInteractionsInitializer(StorableConstructorFlag _) : base(_) { } 36 36 private IncreasingBlockSizeInteractionsInitializer(IncreasingBlockSizeInteractionsInitializer original, Cloner cloner) : base(original, cloner) { } 37 37 public IncreasingBlockSizeInteractionsInitializer() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/InteractionInitializers/LimitedRandomInteractionsInitializer.cs
r16453 r16462 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.NK { 31 31 [Item("LimitedRandomInteractionsInitializer", "Randomly assignes interactions across bits in the vicinity of each other respecting the maximum distances if possible.")] 32 [Storable Class]32 [StorableType("A49E3167-FC04-40F8-A45C-BA8818CE2065")] 33 33 public sealed class LimitedRandomInteractionsInitializer : ParameterizedNamedItem, IInteractionInitializer { 34 34 private class Bounds { … … 52 52 53 53 [StorableConstructor] 54 private LimitedRandomInteractionsInitializer( bool serializing) : base(serializing) { }54 private LimitedRandomInteractionsInitializer(StorableConstructorFlag _) : base(_) { } 55 55 private LimitedRandomInteractionsInitializer(LimitedRandomInteractionsInitializer original, Cloner cloner) : base(original, cloner) { } 56 56 public LimitedRandomInteractionsInitializer() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/InteractionInitializers/RandomInteractionsInitializer.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.NK { 29 29 [Item("RandomInteractionsInitializer", "Randomly assignes interactions across all bits")] 30 [Storable Class]30 [StorableType("ACB3BE45-DB9E-4200-95BF-D22C726B4DAE")] 31 31 public sealed class RandomInteractionsInitializer : ParameterizedNamedItem, IInteractionInitializer { 32 32 [StorableConstructor] 33 private RandomInteractionsInitializer( bool serializing) : base(serializing) { }33 private RandomInteractionsInitializer(StorableConstructorFlag _) : base(_) { } 34 34 private RandomInteractionsInitializer(RandomInteractionsInitializer original, Cloner cloner) : base(original, cloner) { } 35 35 public RandomInteractionsInitializer() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/InteractionInitializers/SortedRandomInteractionsInitializer.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.BinaryVectorEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 using HeuristicLab.PluginInfrastructure; 30 30 31 31 namespace HeuristicLab.Problems.NK { 32 32 [Item("SortedRandomInteractionsInitializer", "Randomly assigns interactions across all bits and sorts components according to bit affinity.")] 33 [Storable Class]33 [StorableType("33F27348-DC65-4DCF-88EC-383379EEEA0C")] 34 34 public sealed class SortedRandomInteractionsInitializer : ParameterizedNamedItem, IInteractionInitializer { 35 35 public IConstrainedValueParameter<IBinaryVectorComparer> ComparerParameter { … … 41 41 42 42 [StorableConstructor] 43 private SortedRandomInteractionsInitializer( bool serializing) : base(serializing) { }43 private SortedRandomInteractionsInitializer(StorableConstructorFlag _) : base(_) { } 44 44 private SortedRandomInteractionsInitializer(SortedRandomInteractionsInitializer original, Cloner cloner) : base(original, cloner) { } 45 45 public SortedRandomInteractionsInitializer() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/NKBitFlipMoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.BinaryVectorEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.NK { 31 31 32 32 [Item("NK BitFlip Move Evaluator", "Evaluates a single bit flip on an NK landscape.")] 33 [Storable Class]33 [StorableType("58DA2DE8-6FEB-464F-9B25-E2CA676D530E")] 34 34 public class NKBitFlipMoveEvaluator : NKMoveEvaluator, IOneBitflipMoveOperator { 35 35 public ILookupParameter<OneBitflipMove> OneBitflipMoveParameter { … … 41 41 42 42 [StorableConstructor] 43 protected NKBitFlipMoveEvaluator( bool deserializing) : base(deserializing) { }43 protected NKBitFlipMoveEvaluator(StorableConstructorFlag _) : base(_) { } 44 44 protected NKBitFlipMoveEvaluator(NKBitFlipMoveEvaluator original, Cloner cloner) 45 45 : base(original, cloner) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/NKLandscape.cs
r16453 r16462 28 28 using HeuristicLab.Encodings.BinaryVectorEncoding; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.PluginInfrastructure; 32 32 using HeuristicLab.Problems.Binary; … … 36 36 [Item("NK Landscape", "Represents an NK landscape optimization problem.")] 37 37 [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 215)] 38 [Storable Class]38 [StorableType("04294537-87F2-4A9F-BC14-7D4CA700F326")] 39 39 public sealed class NKLandscape : BinaryProblem { 40 40 public override bool Maximization { … … 136 136 137 137 [StorableConstructor] 138 private NKLandscape( bool deserializing) : base(deserializing) { }138 private NKLandscape(StorableConstructorFlag _) : base(_) { } 139 139 private NKLandscape(NKLandscape original, Cloner cloner) 140 140 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/NKMoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.NK { 31 31 32 32 [Item("NKMoveEvaluator", "A base class for operators which evaluate moves on the NK Landscape.")] 33 [Storable Class]33 [StorableType("54E33987-5AC1-4E3B-ABE7-769B009A6A76")] 34 34 public abstract class NKMoveEvaluator : SingleSuccessorOperator, INKMoveEvaluator, IBinaryVectorMoveOperator { 35 35 … … 56 56 57 57 [StorableConstructor] 58 protected NKMoveEvaluator( bool deserializing) : base(deserializing) { }58 protected NKMoveEvaluator(StorableConstructorFlag _) : base(_) { } 59 59 protected NKMoveEvaluator(NKMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 60 60 protected NKMoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/WeightInitializers/EqualWeightsInitializer.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.NK { 28 28 [Item("EqualWeightsInitializer", "Initializes all weights to 1.0.")] 29 [Storable Class]29 [StorableType("AFFF8CCF-FF3E-48F6-861D-2A5E595FA0C0")] 30 30 public sealed class EqualWeightsInitializer : ParameterizedNamedItem, IWeightsInitializer { 31 31 [StorableConstructor] 32 private EqualWeightsInitializer( bool deserializing) : base(deserializing) { }32 private EqualWeightsInitializer(StorableConstructorFlag _) : base(_) { } 33 33 private EqualWeightsInitializer(EqualWeightsInitializer original, Cloner cloner) 34 34 : base(original, cloner) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/WeightInitializers/ExponentialDistributionWeightsInitializer.cs
r16453 r16462 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.NK { 31 31 [Item("ExponentialDistributionWeightsInitializer", "Assigns exponentially decreasing weights using the rate parameter lambda.")] 32 [Storable Class]32 [StorableType("F67982B7-A94B-4876-977A-34DB44B40739")] 33 33 public sealed class ExponentialDistributionWeightsInitializer : ParameterizedNamedItem, IWeightsInitializer { 34 34 public IValueParameter<DoubleValue> LambdaParameter { … … 37 37 38 38 [StorableConstructor] 39 private ExponentialDistributionWeightsInitializer( bool deserializing) : base(deserializing) { }39 private ExponentialDistributionWeightsInitializer(StorableConstructorFlag _) : base(_) { } 40 40 private ExponentialDistributionWeightsInitializer(ExponentialDistributionWeightsInitializer original, Cloner cloner) 41 41 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/WeightInitializers/ExponentialWeightsInitializer.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.NK { 29 29 [Item("ExponentialWeightsInitializer", "Assigns exponentially increasing weights.")] 30 [Storable Class]30 [StorableType("6F927828-8292-49E6-95CB-F4CFA97018CA")] 31 31 public sealed class ExponentialWeightsInitializer : ParameterizedNamedItem, IWeightsInitializer { 32 32 [StorableConstructor] 33 private ExponentialWeightsInitializer( bool deserializing) : base(deserializing) { }33 private ExponentialWeightsInitializer(StorableConstructorFlag _) : base(_) { } 34 34 private ExponentialWeightsInitializer(ExponentialWeightsInitializer original, Cloner cloner) 35 35 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/WeightInitializers/LinearWeightsInitializer.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.NK { 28 28 [Item("LinearWeightsInitializer", "Assigns linear increasing weights.")] 29 [Storable Class]29 [StorableType("355BD81C-E35B-4260-91DD-2B1729682E61")] 30 30 public sealed class LinearWeightsInitializer : ParameterizedNamedItem, IWeightsInitializer { 31 31 [StorableConstructor] 32 private LinearWeightsInitializer( bool deserializing) : base(deserializing) { }32 private LinearWeightsInitializer(StorableConstructorFlag _) : base(_) { } 33 33 private LinearWeightsInitializer(LinearWeightsInitializer original, Cloner cloner) 34 34 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/WeightInitializers/ReverseExponentialWeightsInitializer.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.NK { 29 29 [Item("ReverseExponentialWeightsInitializer", "Assigns exponentially decreasing weights.")] 30 [Storable Class]30 [StorableType("DF84DB40-3B0D-4047-ABAC-4962D970A08A")] 31 31 public sealed class ReverseExponentialWeightsInitializer : ParameterizedNamedItem, IWeightsInitializer { 32 32 [StorableConstructor] 33 private ReverseExponentialWeightsInitializer( bool deserializing) : base(deserializing) { }33 private ReverseExponentialWeightsInitializer(StorableConstructorFlag _) : base(_) { } 34 34 private ReverseExponentialWeightsInitializer(ReverseExponentialWeightsInitializer original, Cloner cloner) 35 35 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/WeightInitializers/ReverseLinearWeightsInitializer.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.NK { 28 28 [Item("ReverseLinearWeightsInitializer", "Assigns exponentially decreasing weights.")] 29 [Storable Class]29 [StorableType("E63DE1AE-FBA4-4430-9C22-631ADDFD3976")] 30 30 public sealed class ReverseLinearWeightsInitializer : ParameterizedNamedItem, IWeightsInitializer { 31 31 [StorableConstructor] 32 private ReverseLinearWeightsInitializer( bool deserializing) : base(deserializing) { }32 private ReverseLinearWeightsInitializer(StorableConstructorFlag _) : base(_) { } 33 33 private ReverseLinearWeightsInitializer(ReverseLinearWeightsInitializer original, Cloner cloner) 34 34 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.