- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/HeuristicLab.Algorithms.TabuSearch-3.3.csproj
r16454 r16462 102 102 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 103 103 </Reference> 104 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">104 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 105 105 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 106 106 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuListCreator.cs
r16453 r16462 24 24 using HeuristicLab.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Algorithms.TabuSearch { 29 29 [Item("TabuListCreator", "An operator that creates a new empty tabu list. It can also replace an existing tabu list with a new empty one.")] 30 [Storable Class]30 [StorableType("F199F8AB-35BA-45EB-A7E9-F6352FC053E3")] 31 31 public class TabuListCreator : SingleSuccessorOperator { 32 32 public ValueLookupParameter<ItemList<IItem>> TabuListParameter { … … 41 41 42 42 [StorableConstructor] 43 protected TabuListCreator( bool deserializing) : base(deserializing) { }43 protected TabuListCreator(StorableConstructorFlag _) : base(_) { } 44 44 protected TabuListCreator(TabuListCreator original, Cloner cloner) 45 45 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuNeighborhoodAnalyzer.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Algorithms.TabuSearch { 32 [Storable Class]32 [StorableType("C5A3D76E-4E1F-472A-8727-D8506F3BEFEA")] 33 33 [Item("TabuNeighborhoodAnalyzer", "Analyzes the tabu neighborhood")] 34 34 public class TabuNeighborhoodAnalyzer : SingleSuccessorOperator, IAnalyzer { … … 48 48 49 49 [StorableConstructor] 50 protected TabuNeighborhoodAnalyzer( bool deserializing) : base(deserializing) { }50 protected TabuNeighborhoodAnalyzer(StorableConstructorFlag _) : base(_) { } 51 51 protected TabuNeighborhoodAnalyzer(TabuNeighborhoodAnalyzer original, Cloner cloner) 52 52 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.cs
r16453 r16462 31 31 using HeuristicLab.Optimization.Operators; 32 32 using HeuristicLab.Parameters; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Fossil; 34 34 using HeuristicLab.Random; 35 35 … … 37 37 [Item("Tabu Search (TS)", "A tabu search algorithm.")] 38 38 [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 120)] 39 [Storable Class]39 [StorableType("CF028C58-BE6D-4F74-96DD-B1E2CFAD5AA0")] 40 40 public sealed class TabuSearch : HeuristicOptimizationEngineAlgorithm, IStorableContent { 41 41 public string Filename { get; set; } … … 205 205 } 206 206 [StorableConstructor] 207 private TabuSearch( bool deserializing) : base(deserializing) { }207 private TabuSearch(StorableConstructorFlag _) : base(_) { } 208 208 [StorableHook(HookType.AfterDeserialization)] 209 209 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearchMainLoop.cs
r16453 r16462 27 27 using HeuristicLab.Optimization.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 using HeuristicLab.Selection; 31 31 … … 35 35 /// </summary> 36 36 [Item("TabuSearchMainLoop", "An operator which represents the main loop of a tabu search.")] 37 [Storable Class]37 [StorableType("85033FBD-B9BA-4450-AA25-B1BEE1B0178D")] 38 38 public sealed class TabuSearchMainLoop : AlgorithmOperator { 39 39 #region Parameter properties … … 89 89 90 90 [StorableConstructor] 91 private TabuSearchMainLoop( bool deserializing) : base(deserializing) { }91 private TabuSearchMainLoop(StorableConstructorFlag _) : base(_) { } 92 92 public TabuSearchMainLoop() 93 93 : base() { -
branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSelector.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 using HeuristicLab.Selection; 30 30 … … 37 37 /// </remarks> 38 38 [Item("TabuSelector", "An operator that selects the best move that is either not tabu or satisfies the aspiration criterion. It expects the move subscopes to be sorted by the qualities of the moves (the best move is first).")] 39 [Storable Class]39 [StorableType("63A67432-6076-4BDE-B6D5-C9919FAA48DE")] 40 40 public class TabuSelector : Selector { 41 41 /// <summary> … … 82 82 83 83 [StorableConstructor] 84 protected TabuSelector( bool deserializing) : base(deserializing) { }84 protected TabuSelector(StorableConstructorFlag _) : base(_) { } 85 85 protected TabuSelector(TabuSelector original, Cloner cloner) 86 86 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.