Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Analyzers/BestQAPSolutionAnalyzer.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Problems.QuadraticAssignment { … … 35 35 /// </summary> 36 36 [Item("BestQAPSolutionAnalyzer", "An operator for analyzing the best solution of Quadratic Assignment Problems.")] 37 [Storable Class]37 [StorableType("A133BED6-EF96-4735-B122-120BD8831A47")] 38 38 public sealed class BestQAPSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer, ISingleObjectiveOperator { 39 39 public bool EnabledByDefault { … … 73 73 74 74 [StorableConstructor] 75 private BestQAPSolutionAnalyzer( bool deserializing) : base(deserializing) { }75 private BestQAPSolutionAnalyzer(StorableConstructorFlag _) : base(_) { } 76 76 private BestQAPSolutionAnalyzer(BestQAPSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { } 77 77 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Analyzers/QAPAlleleFrequencyAnalyzer.cs
r16453 r16462 27 27 using HeuristicLab.Encodings.PermutationEncoding; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Problems.QuadraticAssignment { … … 34 34 /// </summary> 35 35 [Item("QAPAlleleFrequencyAnalyzer", "An operator for analyzing the frequency of alleles in solutions of Quadratic Assignment Problems.")] 36 [Storable Class]36 [StorableType("490E5FD6-A269-4F5F-AC07-12056CDFFC7F")] 37 37 public sealed class QAPAlleleFrequencyAnalyzer : AlleleFrequencyAnalyzer<Permutation> { 38 38 public LookupParameter<DoubleMatrix> WeightsParameter { … … 44 44 45 45 [StorableConstructor] 46 private QAPAlleleFrequencyAnalyzer( bool deserializing) : base(deserializing) { }46 private QAPAlleleFrequencyAnalyzer(StorableConstructorFlag _) : base(_) { } 47 47 private QAPAlleleFrequencyAnalyzer(QAPAlleleFrequencyAnalyzer original, Cloner cloner) : base(original, cloner) { } 48 48 public QAPAlleleFrequencyAnalyzer() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Analyzers/QAPPopulationDiversityAnalyzer.cs
r16453 r16462 27 27 using HeuristicLab.Encodings.PermutationEncoding; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 using HeuristicLab.PluginInfrastructure; 31 31 … … 35 35 /// </summary> 36 36 [Item("QAPPopulationDiversityAnalyzer", "An operator for analyzing the diversity of solutions of Quadratic Assignment Problems regarding their structural identity (number of equal facilty->location assignments).")] 37 [Storable Class]37 [StorableType("255DFAD4-14E4-4CFB-905F-BA521815F593")] 38 38 [Obsolete("Use the PopulationSimilarityAnalyzer in the HeuristicLab.Analysis plugin instead.")] 39 39 [NonDiscoverableType] … … 52 52 53 53 [StorableConstructor] 54 private QAPPopulationDiversityAnalyzer( bool deserializing) : base(deserializing) { }54 private QAPPopulationDiversityAnalyzer(StorableConstructorFlag _) : base(_) { } 55 55 private QAPPopulationDiversityAnalyzer(QAPPopulationDiversityAnalyzer original, Cloner cloner) : base(original, cloner) { } 56 56 public QAPPopulationDiversityAnalyzer() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Evaluators/QAPEvaluator.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.QuadraticAssignment { 31 [Storable Class]31 [StorableType("8B15F5F0-4C42-4143-B7F5-2462C78BC49C")] 32 32 public class QAPEvaluator : InstrumentedOperator, IQAPEvaluator { 33 33 … … 46 46 47 47 [StorableConstructor] 48 protected QAPEvaluator( bool deserializing) : base(deserializing) { }48 protected QAPEvaluator(StorableConstructorFlag _) : base(_) { } 49 49 protected QAPEvaluator(QAPEvaluator original, Cloner cloner) : base(original, cloner) { } 50 50 public QAPEvaluator() { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Evaluators/QAPInversionMoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.QuadraticAssignment { 31 31 [Item("QAPInversionMoveEvaluator", "Evaluated an inversion move on a QAP solution.")] 32 [Storable Class]32 [StorableType("56ED50D5-FF78-4F9D-82B5-89F594353ADD")] 33 33 public class QAPInversionMoveEvaluator : QAPMoveEvaluator, IPermutationInversionMoveOperator { 34 34 public ILookupParameter<InversionMove> InversionMoveParameter { … … 37 37 38 38 [StorableConstructor] 39 protected QAPInversionMoveEvaluator( bool deserializing) : base(deserializing) { }39 protected QAPInversionMoveEvaluator(StorableConstructorFlag _) : base(_) { } 40 40 protected QAPInversionMoveEvaluator(QAPInversionMoveEvaluator original, Cloner cloner) 41 41 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Evaluators/QAPMoveEvaluator.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.QuadraticAssignment { … … 33 33 /// </summary> 34 34 [Item("QAPMoveEvaluator", "A base class for operators which evaluate moves.")] 35 [Storable Class]35 [StorableType("71C3A4D8-F5BB-4539-AD28-B969D7F0D879")] 36 36 public abstract class QAPMoveEvaluator : SingleSuccessorOperator, IQAPMoveEvaluator { 37 37 … … 57 57 58 58 [StorableConstructor] 59 protected QAPMoveEvaluator( bool deserializing) : base(deserializing) { }59 protected QAPMoveEvaluator(StorableConstructorFlag _) : base(_) { } 60 60 protected QAPMoveEvaluator(QAPMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 61 61 protected QAPMoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Evaluators/QAPScrambleMoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.QuadraticAssignment { 31 31 [Item("QAPScrambleMoveEvaluator", "Evaluated a scramble move on a QAP solution.")] 32 [Storable Class]32 [StorableType("E5D1B682-6ADA-4DEE-8546-6C5BCE1C91D0")] 33 33 public class QAPScrambleMoveEvaluator : QAPMoveEvaluator, IPermutationScrambleMoveOperator { 34 34 public ILookupParameter<ScrambleMove> ScrambleMoveParameter { … … 37 37 38 38 [StorableConstructor] 39 protected QAPScrambleMoveEvaluator( bool deserializing) : base(deserializing) { }39 protected QAPScrambleMoveEvaluator(StorableConstructorFlag _) : base(_) { } 40 40 protected QAPScrambleMoveEvaluator(QAPScrambleMoveEvaluator original, Cloner cloner) 41 41 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Evaluators/QAPSwap2MoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.QuadraticAssignment { 31 31 [Item("QAPSwap2MoveEvaluator", "Evaluated a swap-2 move on a QAP solution.")] 32 [Storable Class]32 [StorableType("7BB50BA8-2690-4752-B129-91A520DB5829")] 33 33 public class QAPSwap2MoveEvaluator : QAPMoveEvaluator, IPermutationSwap2MoveOperator { 34 34 public ILookupParameter<Swap2Move> Swap2MoveParameter { … … 37 37 38 38 [StorableConstructor] 39 protected QAPSwap2MoveEvaluator( bool deserializing) : base(deserializing) { }39 protected QAPSwap2MoveEvaluator(StorableConstructorFlag _) : base(_) { } 40 40 protected QAPSwap2MoveEvaluator(QAPSwap2MoveEvaluator original, Cloner cloner) 41 41 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/Evaluators/QAPTranslocationMoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.QuadraticAssignment { 31 31 [Item("QAPTranslocationMoveEvaluator", "Evaluates translocation moves on a QAP solution.")] 32 [Storable Class]32 [StorableType("0B1B33E0-7F88-485C-8E00-79FBB266CE4E")] 33 33 public class QAPTranslocationMoveEvaluator : QAPMoveEvaluator, IPermutationTranslocationMoveOperator { 34 34 … … 38 38 39 39 [StorableConstructor] 40 protected QAPTranslocationMoveEvaluator( bool deserializing) : base(deserializing) { }40 protected QAPTranslocationMoveEvaluator(StorableConstructorFlag _) : base(_) { } 41 41 protected QAPTranslocationMoveEvaluator(QAPTranslocationMoveEvaluator original, Cloner cloner) 42 42 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/HeuristicLab.Problems.QuadraticAssignment-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.QuadraticAssignment/3.3/LocalImprovement/QAPExhaustiveInsertionLocalImprovement.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.QuadraticAssignment { 34 34 [Item("QAPExhaustiveInsertionLocalImprovement", "Takes a solution and finds the local optimum with respect to the insertion neighborhood by decending along the steepest gradient.")] 35 [Storable Class]35 [StorableType("9E024205-A638-4671-B212-511E941B5992")] 36 36 public class QAPExhaustiveInsertionLocalImprovement : SingleSuccessorOperator, ILocalImprovementOperator, ISingleObjectiveOperator { 37 37 … … 73 73 74 74 [StorableConstructor] 75 protected QAPExhaustiveInsertionLocalImprovement( bool deserializing) : base(deserializing) { }75 protected QAPExhaustiveInsertionLocalImprovement(StorableConstructorFlag _) : base(_) { } 76 76 protected QAPExhaustiveInsertionLocalImprovement(QAPExhaustiveInsertionLocalImprovement original, Cloner cloner) 77 77 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/LocalImprovement/QAPExhaustiveInversionLocalImprovement.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.QuadraticAssignment { 34 34 [Item("QAPExhaustiveInversionLocalImprovement", "Takes a solution and finds the local optimum with respect to the inversion neighborhood by decending along the steepest gradient.")] 35 [Storable Class]35 [StorableType("7A0F7835-87A6-4C3E-BEE2-E1BA6F67972B")] 36 36 public class QAPExhaustiveInversionLocalImprovement : SingleSuccessorOperator, ILocalImprovementOperator, ISingleObjectiveOperator { 37 37 … … 73 73 74 74 [StorableConstructor] 75 protected QAPExhaustiveInversionLocalImprovement( bool deserializing) : base(deserializing) { }75 protected QAPExhaustiveInversionLocalImprovement(StorableConstructorFlag _) : base(_) { } 76 76 protected QAPExhaustiveInversionLocalImprovement(QAPExhaustiveInversionLocalImprovement original, Cloner cloner) 77 77 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/LocalImprovement/QAPExhaustiveSwap2LocalImprovement.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.QuadraticAssignment { 34 34 [Item("QAPExhaustiveSwap2LocalImprovement", "Takes a solution and finds the local optimum with respect to the swap2 neighborhood by decending along the steepest gradient.")] 35 [Storable Class]35 [StorableType("AD82A71D-773A-4CD2-841F-755840656E92")] 36 36 public class QAPExhaustiveSwap2LocalImprovement : SingleSuccessorOperator, ILocalImprovementOperator, ISingleObjectiveOperator { 37 37 … … 77 77 78 78 [StorableConstructor] 79 protected QAPExhaustiveSwap2LocalImprovement( bool deserializing) : base(deserializing) { }79 protected QAPExhaustiveSwap2LocalImprovement(StorableConstructorFlag _) : base(_) { } 80 80 protected QAPExhaustiveSwap2LocalImprovement(QAPExhaustiveSwap2LocalImprovement original, Cloner cloner) 81 81 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/LocalImprovement/QAPStochasticScrambleLocalImprovement.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.QuadraticAssignment { 34 34 [Item("QAPStochasticScrambleLocalImprovement", "Takes a solution and finds the local optimum with respect to the scramble neighborhood by decending along the steepest gradient.")] 35 [Storable Class]35 [StorableType("045B5151-E5DC-4AF3-8CAD-E160E0EE17FF")] 36 36 public class QAPStochasticScrambleLocalImprovement : SingleSuccessorOperator, ILocalImprovementOperator, IStochasticOperator, ISingleObjectiveOperator { 37 37 … … 81 81 82 82 [StorableConstructor] 83 protected QAPStochasticScrambleLocalImprovement( bool deserializing) : base(deserializing) { }83 protected QAPStochasticScrambleLocalImprovement(StorableConstructorFlag _) : base(_) { } 84 84 protected QAPStochasticScrambleLocalImprovement(QAPStochasticScrambleLocalImprovement original, Cloner cloner) 85 85 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/QAPAssignment.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Problems.QuadraticAssignment { 30 30 [Item("QAP Assignment", "Represents a solution to the QAP.")] 31 [Storable Class]31 [StorableType("7ED6596B-3179-4CE5-8132-498735E536F7")] 32 32 public sealed class QAPAssignment : Item, INotifyPropertyChanged { 33 33 … … 77 77 78 78 [StorableConstructor] 79 private QAPAssignment( bool deserializing) : base(deserializing) { }79 private QAPAssignment(StorableConstructorFlag _) : base(_) { } 80 80 private QAPAssignment(QAPAssignment original, Cloner cloner) 81 81 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/QAPSimilarityCalculator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Optimization.Operators; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.QuadraticAssignment { … … 36 36 /// </remarks> 37 37 [Item("QAPSimilarityCalculator", "An operator that performs similarity calculation between two quadratic assignment solutions. The operator calculates the similarity based on the number of edges the two solutions have in common.")] 38 [Storable Class]38 [StorableType("23D76028-3E59-4E77-959A-D4A1BFB59864")] 39 39 public sealed class QAPSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 40 40 protected override bool IsCommutative { get { return true; } } … … 45 45 public DoubleMatrix Distances { get; set; } 46 46 47 private QAPSimilarityCalculator(bool deserializing) : base(deserializing) { } 47 [StorableConstructor] 48 private QAPSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 48 49 private QAPSimilarityCalculator(QAPSimilarityCalculator original, Cloner cloner) 49 50 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs
r16453 r16462 32 32 using HeuristicLab.Optimization.Operators; 33 33 using HeuristicLab.Parameters; 34 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;34 using HEAL.Fossil; 35 35 using HeuristicLab.PluginInfrastructure; 36 36 using HeuristicLab.Problems.Instances; … … 39 39 [Item("Quadratic Assignment Problem (QAP)", "The Quadratic Assignment Problem (QAP) can be described as the problem of assigning N facilities to N fixed locations such that there is exactly one facility in each location and that the sum of the distances multiplied by the connection strength between the facilities becomes minimal.")] 40 40 [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 140)] 41 [Storable Class]41 [StorableType("A86B1F49-D8E6-45E4-8EFB-8F5CCA2F9DC7")] 42 42 public sealed class QuadraticAssignmentProblem : SingleObjectiveHeuristicOptimizationProblem<IQAPEvaluator, IPermutationCreator>, IStorableContent, 43 43 IProblemInstanceConsumer<QAPData>, … … 110 110 111 111 [StorableConstructor] 112 private QuadraticAssignmentProblem( bool deserializing) : base(deserializing) { }112 private QuadraticAssignmentProblem(StorableConstructorFlag _) : base(_) { } 113 113 private QuadraticAssignmentProblem(QuadraticAssignmentProblem original, Cloner cloner) 114 114 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.