Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.BinPacking
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/BottomLeftPermutationDecoder.cs
r15583 r16723 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Attic; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; … … 28 28 namespace HeuristicLab.Problems.BinPacking2D { 29 29 [Item("Bottom-left Permutation Decoder (2d)", "Decodes the permutation and creates a packing solution candidate")] 30 [Storable Class]30 [StorableType("BD0B1034-46EC-430A-B971-258FACC9A39B")] 31 31 public class BottomLeftPermutationDecoder : Item, IDecoder<Permutation> { 32 32 33 33 [StorableConstructor] 34 protected BottomLeftPermutationDecoder( bool deserializing) : base(deserializing) { }34 protected BottomLeftPermutationDecoder(StorableConstructorFlag _) : base(_) { } 35 35 protected BottomLeftPermutationDecoder(BottomLeftPermutationDecoder original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/ExtremePointPermutationDecoder.cs
r15583 r16723 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Attic; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; … … 28 28 namespace HeuristicLab.Problems.BinPacking2D { 29 29 [Item("Extreme-point Permutation Decoder (2d)", "Decodes the permutation and creates a packing solution candidate")] 30 [Storable Class]30 [StorableType("F50F332A-CFE7-4AB7-95C6-8D7943B3DEF2")] 31 31 public class ExtremePointPermutationDecoder : Item, IDecoder<Permutation> { 32 32 33 33 [StorableConstructor] 34 protected ExtremePointPermutationDecoder( bool deserializing) : base(deserializing) { }34 protected ExtremePointPermutationDecoder(StorableConstructorFlag _) : base(_) { } 35 35 protected ExtremePointPermutationDecoder(ExtremePointPermutationDecoder original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/PermutationProblem.cs
r15583 r16723 2 2 3 3 /* HeuristicLab 4 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 5 5 * 6 6 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Optimization.Operators; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 33 33 namespace HeuristicLab.Problems.BinPacking2D { 34 34 [Item("Bin Packing Problem (2D, permutation encoding) (BPP)", "Represents a two-dimensional bin-packing problem using only bins with identical measures and bins/items with rectangular shapes.")] 35 [Storable Class]35 [StorableType("BE95CC5D-7FFD-4BC7-A2FF-7D71D3B951F6")] 36 36 [Creatable(Category = CreatableAttribute.Categories.CombinatorialProblems, Priority = 300)] 37 37 public sealed class PermutationProblem : ProblemBase<PermutationEncoding, Permutation> { 38 38 // persistence 39 39 [StorableConstructor] 40 private PermutationProblem( bool deserializing) : base(deserializing) { }40 private PermutationProblem(StorableConstructorFlag _) : base(_) { } 41 41 42 42 // cloning -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/Swap2MoveEvaluator.cs
r15583 r16723 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.BinPacking2D { 28 28 [Item("Swap2MoveEvaluator", "Move evaluator for 2-opt moves.")] 29 [Storable Class]29 [StorableType("7C1A0291-AD10-457D-B7B3-3D2B5B02C58D")] 30 30 public sealed class Swap2MoveEvaluator : MoveEvaluatorBase<Permutation, Swap2Move>, IPermutationSwap2MoveOperator { 31 31 public ILookupParameter<Swap2Move> Swap2MoveParameter { … … 37 37 38 38 [StorableConstructor] 39 private Swap2MoveEvaluator( bool deserializing) : base(deserializing) { }39 private Swap2MoveEvaluator(StorableConstructorFlag _) : base(_) { } 40 40 private Swap2MoveEvaluator(Swap2MoveEvaluator original, Cloner cloner) : base(original, cloner) { } 41 41 public Swap2MoveEvaluator() -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/TranslocationMoveEvaluator.cs
r15583 r16723 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Attic; 26 26 27 27 namespace HeuristicLab.Problems.BinPacking2D { 28 28 [Item("TranslocationMoveEvaluator", "Move evaluator for insertion or translocation moves.")] 29 [Storable Class]29 [StorableType("9198644C-27DA-408B-810E-7686F0539802")] 30 30 public sealed class TranslocationMoveEvaluator : MoveEvaluatorBase<Permutation, TranslocationMove>, IPermutationTranslocationMoveOperator { 31 31 public ILookupParameter<TranslocationMove> TranslocationMoveParameter { … … 36 36 } 37 37 [StorableConstructor] 38 private TranslocationMoveEvaluator( bool deserializing) : base(deserializing) { }38 private TranslocationMoveEvaluator(StorableConstructorFlag _) : base(_) { } 39 39 private TranslocationMoveEvaluator(TranslocationMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 40 40 public TranslocationMoveEvaluator()
Note: See TracChangeset
for help on using the changeset viewer.