Changeset 16712 for branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure
- Timestamp:
- 03/25/19 17:26:02 (6 years ago)
- Location:
- branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Algorithms/ContextAlgorithm.cs
r15718 r16712 31 31 using HeuristicLab.Parameters; 32 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 using HEAL.Attic; 33 34 34 35 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 35 36 [Item("Context-based Algorithm", "Algorithms that make use of contexts to facilitate applying operators.")] 36 [Storable Class]37 [StorableType("F4D85B12-B512-4CC5-B220-69C01E2C8DBB")] 37 38 public abstract class ContextAlgorithm<TContext, TEncoding> : BasicAlgorithm 38 39 where TContext : class, IContext, new() … … 110 111 111 112 [StorableConstructor] 112 protected ContextAlgorithm( bool deserializing) : base(deserializing) { }113 protected ContextAlgorithm(StorableConstructorFlag _) : base(_) { } 113 114 protected ContextAlgorithm(ContextAlgorithm<TContext, TEncoding> original, Cloner cloner) 114 115 : base(original, cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Algorithms/StochasticAlgorithm.cs
r15572 r16712 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 29 using HeuristicLab.Random; 30 using HEAL.Attic; 30 31 31 32 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 32 33 [Item("Stochastic Algorithm", "Stochastic context-based algorithms to facilitate applying operators.")] 33 [Storable Class]34 [StorableType("75B72520-ECBC-42F7-8560-448940825847")] 34 35 public abstract class StochasticAlgorithm<TContext, TEncoding> : ContextAlgorithm<TContext, TEncoding> 35 36 where TContext : class, IStochasticContext, new() … … 57 58 58 59 [StorableConstructor] 59 protected StochasticAlgorithm( bool deserializing) : base(deserializing) { }60 protected StochasticAlgorithm(StorableConstructorFlag _) : base(_) { } 60 61 protected StochasticAlgorithm(StochasticAlgorithm<TContext, TEncoding> original, Cloner cloner) 61 62 : base(original, cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Contexts/BasicContext.cs
r15700 r16712 28 28 using HeuristicLab.Parameters; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HEAL.Attic; 30 31 31 32 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 32 33 [Item("Basic Context", "A base class for algorithms' contexts.")] 33 [Storable Class]34 [StorableType("32A031BB-19B1-4792-B3C0-673FF52A75E1")] 34 35 public class BasicContext : ParameterizedNamedItem, IContext { 35 36 … … 77 78 78 79 [StorableConstructor] 79 protected BasicContext( bool deserializing) : base(deserializing) { }80 protected BasicContext(StorableConstructorFlag _) : base(_) { } 80 81 protected BasicContext(BasicContext original, Cloner cloner) 81 82 : base(original, cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Contexts/PopulationContext.cs
r15616 r16712 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HEAL.Attic; 27 28 28 29 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 29 30 [Item("Population Context", "A context for population-based algorithms.")] 30 [Storable Class]31 [StorableType("328AF409-9ECE-4E59-A842-ABBD98CBE386")] 31 32 public abstract class PopulationContext<TSolutionScope> : StochasticContext 32 33 where TSolutionScope: class, IScope { … … 56 57 57 58 [StorableConstructor] 58 protected PopulationContext( bool deserializing) : base(deserializing) { }59 protected PopulationContext(StorableConstructorFlag _) : base(_) { } 59 60 protected PopulationContext(PopulationContext<TSolutionScope> original, Cloner cloner) 60 61 : base(original, cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Contexts/SingleSolutionContext.cs
r15616 r16712 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 27 28 [Item("Single Solution Context", "A context for single solution algorithms.")] 28 [Storable Class]29 [StorableType("C894BD11-05CE-44E2-B25D-606071B78757")] 29 30 public abstract class SingleSolutionContext<TSolutionScope> : StochasticContext 30 31 where TSolutionScope: class, IScope { … … 44 45 45 46 [StorableConstructor] 46 protected SingleSolutionContext( bool deserializing) : base(deserializing) { }47 protected SingleSolutionContext(StorableConstructorFlag _) : base(_) { } 47 48 protected SingleSolutionContext(SingleSolutionContext<TSolutionScope> original, Cloner cloner) 48 49 : base(original, cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Contexts/StochasticContext.cs
r15616 r16712 24 24 using HeuristicLab.Parameters; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 28 29 [Item("Stochastic Context", "A base class for stochastic algorithms' contexts.")] 29 [Storable Class]30 [StorableType("AF5AA1FB-F4C2-450C-A760-C7B1EDBAFCB7")] 30 31 public class StochasticContext : BasicContext, IStochasticContext { 31 32 … … 38 39 39 40 [StorableConstructor] 40 protected StochasticContext( bool deserializing) : base(deserializing) { }41 protected StochasticContext(StorableConstructorFlag _) : base(_) { } 41 42 protected StochasticContext(StochasticContext original, Cloner cloner) 42 43 : base(original, cloner) { -
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/Interfaces.cs
r15700 r16712 22 22 using System; 23 23 using HeuristicLab.Core; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 27 [StorableType("8AE6AC8A-7F9A-44C7-911A-4E618D1CC928")] 26 28 public interface ISingleObjectiveSolutionScope<TSolution> : IScope { 27 29 TSolution Solution { get; set; } … … 29 31 } 30 32 33 [StorableType("F007BD11-9CF1-418E-A113-BA68EFD0BC73")] 31 34 public interface IContext : IExecutionContext { 32 35 new IExecutionContext Parent { get; set; } … … 38 41 } 39 42 43 [StorableType("5723FC2A-39F7-4C7D-88D8-944C347B52D8")] 40 44 public interface IStochasticContext : IContext { 41 45 IRandom Random { get; set; } -
branches/2936_GQAPIntegration/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/Infrastructure/SingleObjectiveSolutionScope.cs
r15572 r16712 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 28 28 29 29 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms { 30 30 [Item("Solution Scope", "Scope for an individual/solution of a single-objective single-encoded problem.")] 31 [Storable Class]31 [StorableType("C9026A26-C121-4F2E-88F8-2AA1ABF4D142")] 32 32 public sealed class SingleObjectiveSolutionScope<T> : NamedItem, ISingleObjectiveSolutionScope<T> where T : class, IItem { 33 33 public new static Image StaticItemImage { … … 73 73 74 74 [StorableConstructor] 75 private SingleObjectiveSolutionScope( bool deserializing) : base(deserializing) { }75 private SingleObjectiveSolutionScope(StorableConstructorFlag _) : base(_) { } 76 76 private SingleObjectiveSolutionScope(SingleObjectiveSolutionScope<T> original, Cloner cloner) 77 77 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.