Changeset 16728 for branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators
- Timestamp:
- 03/31/19 14:40:15 (6 years ago)
- Location:
- branches/1614_GeneralizedQAP/HeuristicLab.Optimization
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1614_GeneralizedQAP/HeuristicLab.Optimization
- Property svn:mergeinfo changed
-
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCreator.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Optimization { 29 29 [Item("MultiEncodingCreator", "Contains solution creators that together create a multi-encoding.")] 30 [Storable Class]30 [StorableType("E261B506-6F74-4BC4-8164-5ACE20FBC319")] 31 31 public sealed class MultiEncodingCreator : MultiEncodingOperator<ISolutionCreator>, ISolutionCreator { 32 32 [StorableConstructor] 33 private MultiEncodingCreator( bool deserializing) : base(deserializing) { }33 private MultiEncodingCreator(StorableConstructorFlag _) : base(_) { } 34 34 35 35 private MultiEncodingCreator(MultiEncodingCreator original, Cloner cloner) : base(original, cloner) { } -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCrossover.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Optimization { 27 27 [Item("MultiEncoding Crossover", "Applies different crossovers to cross a multi-encoding.")] 28 [Storable Class]28 [StorableType("BB0A04E2-899D-460C-82A2-5E4CEEDE8996")] 29 29 public sealed class MultiEncodingCrossover : MultiEncodingOperator<ICrossover>, ICrossover { 30 30 [StorableConstructor] 31 private MultiEncodingCrossover( bool deserializing) : base(deserializing) { }31 private MultiEncodingCrossover(StorableConstructorFlag _) : base(_) { } 32 32 private MultiEncodingCrossover(MultiEncodingCrossover original, Cloner cloner) : base(original, cloner) { } 33 33 public MultiEncodingCrossover() { } -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingManipulator.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Optimization { 27 27 [Item("MultiEncoding Manipulator", "Applies different manipulators to change a multi-encoding.")] 28 [Storable Class]28 [StorableType("574D0530-47E8-4FD9-8AC8-B8EA2DE3C203")] 29 29 public sealed class MultiEncodingManipulator : MultiEncodingOperator<IManipulator>, IManipulator { 30 30 [StorableConstructor] 31 private MultiEncodingManipulator( bool deserializing) : base(deserializing) { }31 private MultiEncodingManipulator(StorableConstructorFlag _) : base(_) { } 32 32 private MultiEncodingManipulator(MultiEncodingManipulator original, Cloner cloner) 33 33 : base(original, cloner) { } -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingOperator.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 30 30 31 31 namespace HeuristicLab.Optimization { 32 [Storable Class]32 [StorableType("43619638-9D00-4951-8138-8CCD0786E784")] 33 33 public abstract class MultiEncodingOperator<T> : Operator, IMultiEncodingOperator where T : class,IOperator { 34 34 private List<IEncoding> encodings = new List<IEncoding>(); … … 40 40 41 41 [StorableConstructor] 42 protected MultiEncodingOperator(bool deserializing) 43 : base(deserializing) { 42 protected MultiEncodingOperator(StorableConstructorFlag _) : base(_) { 44 43 } 45 44 -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveAnalyzer.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Optimization { 33 33 [Item("Multi-objective Analyzer", "Calls the Analyze method of the problem definition.")] 34 [Storable Class]34 [StorableType("903FE3D1-3179-4EA5-A7E1-63DE26239F9B")] 35 35 public class MultiObjectiveAnalyzer : SingleSuccessorOperator, IMultiObjectiveAnalysisOperator, IStochasticOperator { 36 36 public bool EnabledByDefault { get { return true; } } … … 55 55 56 56 [StorableConstructor] 57 protected MultiObjectiveAnalyzer( bool deserializing) : base(deserializing) { }57 protected MultiObjectiveAnalyzer(StorableConstructorFlag _) : base(_) { } 58 58 protected MultiObjectiveAnalyzer(MultiObjectiveAnalyzer original, Cloner cloner) : base(original, cloner) { } 59 59 public MultiObjectiveAnalyzer() { -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveEvaluator.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("Multi-objective Evaluator", "Calls the Evaluate method of the problem definition and writes the return value into the scope.")] 32 [Storable Class]32 [StorableType("C5605ED8-0ED2-4C7B-97A1-E7EB68A4FDBF")] 33 33 public class MultiObjectiveEvaluator : InstrumentedOperator, IMultiObjectiveEvaluationOperator, IStochasticOperator { 34 34 … … 48 48 49 49 [StorableConstructor] 50 protected MultiObjectiveEvaluator( bool deserializing) : base(deserializing) { }50 protected MultiObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 51 51 protected MultiObjectiveEvaluator(MultiObjectiveEvaluator original, Cloner cloner) : base(original, cloner) { } 52 52 public MultiObjectiveEvaluator() { -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveAnalyzer.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Optimization { 33 33 [Item("Single-objective Analyzer", "Calls the script's Analyze method to be able to write into the results collection.")] 34 [Storable Class]34 [StorableType("3D20F8E2-CE11-4021-A05B-CFCB02C0FD6F")] 35 35 public sealed class SingleObjectiveAnalyzer : SingleSuccessorOperator, ISingleObjectiveAnalysisOperator, IAnalyzer, IStochasticOperator { 36 36 public bool EnabledByDefault { get { return true; } } … … 55 55 56 56 [StorableConstructor] 57 private SingleObjectiveAnalyzer( bool deserializing) : base(deserializing) { }57 private SingleObjectiveAnalyzer(StorableConstructorFlag _) : base(_) { } 58 58 private SingleObjectiveAnalyzer(SingleObjectiveAnalyzer original, Cloner cloner) : base(original, cloner) { } 59 59 public SingleObjectiveAnalyzer() { -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveEvaluator.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("Single-objective Evaluator", "Calls the script's Evaluate method to get the quality value of the parameter vector.")] 32 [Storable Class]32 [StorableType("E8914B68-D0D7-407F-8D58-002FDF2F45CF")] 33 33 public sealed class SingleObjectiveEvaluator : InstrumentedOperator, ISingleObjectiveEvaluationOperator, IStochasticOperator { 34 34 … … 48 48 49 49 [StorableConstructor] 50 private SingleObjectiveEvaluator( bool deserializing) : base(deserializing) { }50 private SingleObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 51 51 private SingleObjectiveEvaluator(SingleObjectiveEvaluator original, Cloner cloner) : base(original, cloner) { } 52 52 public SingleObjectiveEvaluator() { -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveImprover.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Optimization { 33 33 [Item("Single-objective Improver", "Improves a solution by calling GetNeighbors and Evaluate of the corresponding problem definition.")] 34 [Storable Class]34 [StorableType("7A917E09-920C-4B47-9599-67371101B35F")] 35 35 public sealed class SingleObjectiveImprover : SingleSuccessorOperator, INeighborBasedOperator, IImprovementOperator, ISingleObjectiveEvaluationOperator, IStochasticOperator { 36 36 public ILookupParameter<IRandom> RandomParameter { … … 66 66 67 67 [StorableConstructor] 68 private SingleObjectiveImprover( bool deserializing) : base(deserializing) { }68 private SingleObjectiveImprover(StorableConstructorFlag _) : base(_) { } 69 69 private SingleObjectiveImprover(SingleObjectiveImprover original, Cloner cloner) : base(original, cloner) { } 70 70 public SingleObjectiveImprover() { -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveEvaluator.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("Single-objective MoveEvaluator", "Evaluates a parameter vector that results from a move.")] 32 [Storable Class]32 [StorableType("EE4B1EBA-50BF-40C7-B338-F4A9D9CC554E")] 33 33 public class SingleObjectiveMoveEvaluator : SingleSuccessorOperator, ISingleObjectiveEvaluationOperator, ISingleObjectiveMoveEvaluator, IStochasticOperator, ISingleObjectiveMoveOperator { 34 34 … … 52 52 53 53 [StorableConstructor] 54 protected SingleObjectiveMoveEvaluator( bool deserializing) : base(deserializing) { }54 protected SingleObjectiveMoveEvaluator(StorableConstructorFlag _) : base(_) { } 55 55 protected SingleObjectiveMoveEvaluator(SingleObjectiveMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 56 56 public SingleObjectiveMoveEvaluator() { -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveGenerator.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 using HeuristicLab.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Attic; 32 32 33 33 namespace HeuristicLab.Optimization { 34 34 [Item("Single-objective MoveGenerator", "Calls the GetNeighbors method of the problem definition to obtain the moves.")] 35 [Storable Class]35 [StorableType("CB37E7D8-EAC3-4061-9D39-20538CD1064D")] 36 36 public class SingleObjectiveMoveGenerator : SingleSuccessorOperator, INeighborBasedOperator, IMultiMoveGenerator, IStochasticOperator, ISingleObjectiveMoveOperator { 37 37 public ILookupParameter<IRandom> RandomParameter { … … 50 50 51 51 [StorableConstructor] 52 protected SingleObjectiveMoveGenerator( bool deserializing) : base(deserializing) { }52 protected SingleObjectiveMoveGenerator(StorableConstructorFlag _) : base(_) { } 53 53 protected SingleObjectiveMoveGenerator(SingleObjectiveMoveGenerator original, Cloner cloner) 54 54 : base(original, cloner) { } -
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveMaker.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("Single-objective MoveMaker", "Applies a move.")] 32 [Storable Class]32 [StorableType("C0ABF392-C825-4B98-8FB9-5749A9091FD6")] 33 33 public class SingleObjectiveMoveMaker : InstrumentedOperator, IMoveMaker, ISingleObjectiveMoveOperator { 34 34 public ILookupParameter<IEncoding> EncodingParameter { … … 45 45 46 46 [StorableConstructor] 47 protected SingleObjectiveMoveMaker( bool deserializing) : base(deserializing) { }47 protected SingleObjectiveMoveMaker(StorableConstructorFlag _) : base(_) { } 48 48 protected SingleObjectiveMoveMaker(SingleObjectiveMoveMaker original, Cloner cloner) : base(original, cloner) { } 49 49 public SingleObjectiveMoveMaker() {
Note: See TracChangeset
for help on using the changeset viewer.