- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3
- Files:
-
- 59 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Algorithms/Algorithm.cs
r16453 r16462 30 30 using HeuristicLab.Core; 31 31 using HeuristicLab.Data; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 34 34 namespace HeuristicLab.Optimization { … … 37 37 /// </summary> 38 38 [Item("Algorithm", "A base class for algorithms.")] 39 [Storable Class]39 [StorableType("7879C550-E8C2-4121-84C3-DADB06BD5C96")] 40 40 public abstract class Algorithm : ParameterizedNamedItem, IAlgorithm { 41 41 public static new Image StaticItemImage { … … 171 171 } 172 172 [StorableConstructor] 173 protected Algorithm( bool deserializing) : base(deserializing) { }173 protected Algorithm(StorableConstructorFlag _) : base(_) { } 174 174 [StorableHook(HookType.AfterDeserialization)] 175 175 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Algorithms/BasicAlgorithm.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Optimization { 29 [Storable Class]29 [StorableType("EFBEE5EB-B15B-4FBB-A210-C4E36898B89D")] 30 30 public abstract class BasicAlgorithm : Algorithm, IStorableContent { 31 31 … … 52 52 53 53 [StorableConstructor] 54 protected BasicAlgorithm( bool deserializing) : base(deserializing) { }54 protected BasicAlgorithm(StorableConstructorFlag _) : base(_) { } 55 55 protected BasicAlgorithm(BasicAlgorithm original, Cloner cloner) 56 56 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Algorithms/EngineAlgorithm.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 using HeuristicLab.PluginInfrastructure; 28 28 … … 32 32 /// </summary> 33 33 [Item("EngineAlgorithm", "A base class for algorithms which use an engine for execution.")] 34 [Storable Class]34 [StorableType("C3D2307F-9B15-4D3B-900E-616B58268ED6")] 35 35 public abstract class EngineAlgorithm : Algorithm { 36 36 [Storable] … … 113 113 } 114 114 [StorableConstructor] 115 protected EngineAlgorithm( bool deserializing) : base(deserializing) { }115 protected EngineAlgorithm(StorableConstructorFlag _) : base(_) { } 116 116 [StorableHook(HookType.AfterDeserialization)] 117 117 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Algorithms/HeuristicOptimizationAlgorithm.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Optimization { … … 30 30 /// </summary> 31 31 [Item("Heuristic Optimization Algorithm", "A base class for heuristic optimization algorithms.")] 32 [Storable Class]32 [StorableType("13388EBE-E463-4A64-BCE4-77A631CB5DA0")] 33 33 public abstract class HeuristicOptimizationAlgorithm : Algorithm { 34 34 public new IHeuristicOptimizationProblem Problem { … … 44 44 45 45 [StorableConstructor] 46 protected HeuristicOptimizationAlgorithm( bool deserializing) : base(deserializing) { }46 protected HeuristicOptimizationAlgorithm(StorableConstructorFlag _) : base(_) { } 47 47 protected HeuristicOptimizationAlgorithm(HeuristicOptimizationAlgorithm original, Cloner cloner) : base(original, cloner) { } 48 48 -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Algorithms/HeuristicOptimizationEngineAlgorithm.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Optimization { … … 30 30 /// </summary> 31 31 [Item("Heuristic Optimization Enigne Algorithm", "A base class for heuristic optimization algorithms using an execution engine.")] 32 [Storable Class]32 [StorableType("A741CA8C-D4DC-4917-8F71-95EA31C97890")] 33 33 public abstract class HeuristicOptimizationEngineAlgorithm : EngineAlgorithm { 34 34 public new IHeuristicOptimizationProblem Problem { … … 44 44 45 45 [StorableConstructor] 46 protected HeuristicOptimizationEngineAlgorithm( bool deserializing) : base(deserializing) { }46 protected HeuristicOptimizationEngineAlgorithm(StorableConstructorFlag _) : base(_) { } 47 47 protected HeuristicOptimizationEngineAlgorithm(HeuristicOptimizationEngineAlgorithm original, Cloner cloner) : base(original, cloner) { } 48 48 -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Algorithms/UserDefinedAlgorithm.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Optimization { … … 31 31 [Item("User-Defined Algorithm", "An algorithm which can be defined by the user.")] 32 32 [Creatable(CreatableAttribute.Categories.Algorithms, Priority = 100)] 33 [Storable Class]33 [StorableType("8D1C0ED9-F732-4DE3-8F6C-125DFF9E8D5E")] 34 34 public sealed class UserDefinedAlgorithm : EngineAlgorithm, IParameterizedItem, IStorableContent { 35 35 public string Filename { get; set; } … … 71 71 public UserDefinedAlgorithm(string name, string description) : base(name, description) { } 72 72 [StorableConstructor] 73 private UserDefinedAlgorithm( bool deserializing) : base(deserializing) { }73 private UserDefinedAlgorithm(StorableConstructorFlag _) : base(_) { } 74 74 private UserDefinedAlgorithm(UserDefinedAlgorithm original, Cloner cloner) 75 75 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/BasicProblem.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Optimization { 31 [Storable Class]31 [StorableType("D877082E-9E77-4CB1-ABDB-35F63878E116")] 32 32 public abstract class BasicProblem<TEncoding, TEvaluator> : HeuristicOptimizationProblem<TEvaluator, ISolutionCreator>, IProblemDefinition, IStorableContent 33 33 where TEncoding : class, IEncoding … … 78 78 79 79 [StorableConstructor] 80 protected BasicProblem( bool deserializing) : base(deserializing) { }80 protected BasicProblem(StorableConstructorFlag _) : base(_) { } 81 81 [StorableHook(HookType.AfterDeserialization)] 82 82 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Encoding.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("Encoding", "Base class for describing different encodings.")] 32 [Storable Class]32 [StorableType("395B1372-FA54-4649-9EBE-5402A0AA9494")] 33 33 public abstract class Encoding<T> : ParameterizedNamedItem, IEncoding 34 34 where T : class,ISolutionCreator { … … 84 84 85 85 [StorableConstructor] 86 protected Encoding( bool deserializing) : base(deserializing) { }86 protected Encoding(StorableConstructorFlag _) : base(_) { } 87 87 protected Encoding(Encoding<T> original, Cloner cloner) 88 88 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/MultiEncodingIndividual.cs
r16453 r16462 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Linq; 25 24 using HeuristicLab.Common; -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/MultiEncoding.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 using HeuristicLab.PluginInfrastructure; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("MultiEncoding", "Describes a combined encoding consisting of multiple simpler encodings.")] 32 [Storable Class]32 [StorableType("359E2173-4D0C-40E5-A2F3-E42E59840345")] 33 33 public sealed class MultiEncoding : Encoding<MultiEncodingCreator> { 34 34 … … 41 41 42 42 [StorableConstructor] 43 private MultiEncoding(bool deserializing) 44 : base(deserializing) { 43 private MultiEncoding(StorableConstructorFlag _) : base(_) { 45 44 encodings = new List<IEncoding>(); 46 45 } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/MultiObjectiveBasicProblem.cs
r16453 r16462 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 22 using System.Linq; 25 23 using HeuristicLab.Common; … … 27 25 using HeuristicLab.Data; 28 26 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 30 28 31 29 namespace HeuristicLab.Optimization { 32 [Storable Class]30 [StorableType("6F2EC371-0309-4848-B7B1-C9B9C7E3436F")] 33 31 public abstract class MultiObjectiveBasicProblem<TEncoding> : BasicProblem<TEncoding, MultiObjectiveEvaluator>, IMultiObjectiveHeuristicOptimizationProblem, IMultiObjectiveProblemDefinition 34 32 where TEncoding : class, IEncoding { 35 33 [StorableConstructor] 36 protected MultiObjectiveBasicProblem( bool deserializing) : base(deserializing) { }34 protected MultiObjectiveBasicProblem(StorableConstructorFlag _) : base(_) { } 37 35 38 36 protected MultiObjectiveBasicProblem(MultiObjectiveBasicProblem<TEncoding> original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCreator.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCrossover.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingManipulator.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingOperator.cs
r16453 r16462 27 27 using HeuristicLab.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveAnalyzer.cs
r16453 r16462 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveEvaluator.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.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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveAnalyzer.cs
r16453 r16462 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveEvaluator.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.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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveImprover.cs
r16453 r16462 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveEvaluator.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.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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveGenerator.cs
r16453 r16462 29 29 using HeuristicLab.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 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/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveMaker.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.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() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/BasicProblems/SingleObjectiveBasicProblem.cs
r16453 r16462 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Optimization { 32 [Storable Class]32 [StorableType("2697320D-0259-44BB-BD71-7EE1B10F664C")] 33 33 public abstract class SingleObjectiveBasicProblem<TEncoding> : BasicProblem<TEncoding, SingleObjectiveEvaluator>, 34 34 ISingleObjectiveProblemDefinition, ISingleObjectiveHeuristicOptimizationProblem … … 51 51 52 52 [StorableConstructor] 53 protected SingleObjectiveBasicProblem( bool deserializing) : base(deserializing) { }53 protected SingleObjectiveBasicProblem(StorableConstructorFlag _) : base(_) { } 54 54 55 55 protected SingleObjectiveBasicProblem(SingleObjectiveBasicProblem<TEncoding> original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/HeuristicLab.Optimization-3.3.csproj
r16454 r16462 108 108 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 109 109 </Reference> 110 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">110 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 111 111 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 112 112 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Interfaces/IRunCollectionModifier.cs
r16453 r16462 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 23 using HeuristicLab.Core; 27 24 -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers/BatchRun.cs
r16453 r16462 29 29 using HeuristicLab.Core; 30 30 using HeuristicLab.Data; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Optimization { … … 39 39 [Item("Batch Run", "A run in which an optimizer is executed a given number of times.")] 40 40 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 110)] 41 [Storable Class]41 [StorableType("E85407E0-18EC-4198-8321-9CF030FDF6D7")] 42 42 public sealed class BatchRun : NamedItem, IOptimizer, IStorableContent { 43 43 public string Filename { get; set; } … … 199 199 } 200 200 [StorableConstructor] 201 private BatchRun( bool deserializing) : base(deserializing) { }201 private BatchRun(StorableConstructorFlag _) : base(_) { } 202 202 [StorableHook(HookType.AfterDeserialization)] 203 203 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers/Experiment.cs
r16453 r16462 29 29 using HeuristicLab.Common; 30 30 using HeuristicLab.Core; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Optimization { … … 37 37 [Item("Experiment", "An experiment which contains multiple algorithms, batch runs or other experiments.")] 38 38 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 100)] 39 [Storable Class]39 [StorableType("A8A4536B-54C1-4A17-AB58-A6006F7F394B")] 40 40 public sealed class Experiment : NamedItem, IOptimizer, IStorableContent { 41 41 public string Filename { get; set; } … … 161 161 } 162 162 [StorableConstructor] 163 private Experiment( bool deserializing) : base(deserializing) { }163 private Experiment(StorableConstructorFlag _) : base(_) { } 164 164 [StorableHook(HookType.AfterDeserialization)] 165 165 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/MetaOptimizers/TimeLimitRun.cs
r16453 r16462 31 31 using HeuristicLab.Common.Resources; 32 32 using HeuristicLab.Core; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Fossil; 34 34 35 35 namespace HeuristicLab.Optimization { … … 39 39 [Item("Timelimit Run", "A run in which an optimizer is executed a certain maximum time.")] 40 40 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 115)] 41 [Storable Class]41 [StorableType("85A1AB82-689F-4925-B888-B3886707BE88")] 42 42 public sealed class TimeLimitRun : NamedItem, IOptimizer, IStorableContent, INotifyPropertyChanged { 43 43 public string Filename { get; set; } … … 152 152 153 153 [StorableConstructor] 154 private TimeLimitRun( bool deserializing) : base(deserializing) { }154 private TimeLimitRun(StorableConstructorFlag _) : base(_) { } 155 155 private TimeLimitRun(TimeLimitRun original, Cloner cloner) 156 156 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/OptimizerList.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Optimization { 28 28 [Item("Optimizer List", "Represents a list of optimizers.")] 29 [Storable Class]29 [StorableType("7C68A9CF-5FC6-46BF-BB75-B9CB8102539E")] 30 30 public class OptimizerList : ItemList<IOptimizer> { 31 31 public OptimizerList() : base() { } … … 33 33 public OptimizerList(IEnumerable<IOptimizer> collection) : base(collection) { } 34 34 [StorableConstructor] 35 protected OptimizerList( bool deserializing) : base(deserializing) { }35 protected OptimizerList(StorableConstructorFlag _) : base(_) { } 36 36 protected OptimizerList(OptimizerList original, Cloner cloner) 37 37 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Problems/HeuristicOptimizationProblem.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Optimization { 29 29 [Item("Heuristic Optimization Problem", "Represents the base class for a heuristic optimization problem.")] 30 [Storable Class]30 [StorableType("DE0478BA-3797-4AC3-9A89-3734D2643823")] 31 31 public abstract class HeuristicOptimizationProblem<T, U> : Problem, IHeuristicOptimizationProblem 32 32 where T : class,IEvaluator … … 36 36 37 37 [StorableConstructor] 38 protected HeuristicOptimizationProblem( bool deserializing) : base(deserializing) { }38 protected HeuristicOptimizationProblem(StorableConstructorFlag _) : base(_) { } 39 39 protected HeuristicOptimizationProblem(HeuristicOptimizationProblem<T, U> original, Cloner cloner) 40 40 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Problems/MultiObjectiveHeuristicOptimizationProblem.cs
r16453 r16462 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Optimization { 29 29 [Item("Multi-Objective Heuristic Optimization Problem", "A base class for multi-objective heuristic optimization problems.")] 30 [Storable Class]30 [StorableType("C46643E3-7144-4884-A30A-5329BD80DC4E")] 31 31 public abstract class MultiObjectiveHeuristicOptimizationProblem<T, U> : HeuristicOptimizationProblem<T, U>, IMultiObjectiveHeuristicOptimizationProblem 32 32 where T : class, IMultiObjectiveEvaluator … … 35 35 36 36 [StorableConstructor] 37 protected MultiObjectiveHeuristicOptimizationProblem( bool deserializing) : base(deserializing) { }37 protected MultiObjectiveHeuristicOptimizationProblem(StorableConstructorFlag _) : base(_) { } 38 38 protected MultiObjectiveHeuristicOptimizationProblem(MultiObjectiveHeuristicOptimizationProblem<T, U> original, Cloner cloner) : base(original, cloner) { } 39 39 protected MultiObjectiveHeuristicOptimizationProblem() -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Problems/Problem.cs
r16453 r16462 28 28 using HeuristicLab.Data; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Optimization { 33 33 [Item("Problem", "Represents the base class for a problem.")] 34 [Storable Class]34 [StorableType("6DC97432-9BD1-4304-802A-1FC48A0E0468")] 35 35 public abstract class Problem : ParameterizedNamedItem, IProblem { 36 36 private const string OperatorsParameterName = "Operators"; … … 44 44 45 45 [StorableConstructor] 46 protected Problem( bool deserializing) : base(deserializing) { }46 protected Problem(StorableConstructorFlag _) : base(_) { } 47 47 protected Problem(Problem original, Cloner cloner) 48 48 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Problems/SingleObjectiveHeuristicOptimizationProblem.cs
r16453 r16462 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Optimization { 29 29 [Item("Single-Objective Heuristic OptimizationProblem", "A base class for single-objective heuristic optimization problems.")] 30 [Storable Class]30 [StorableType("DFD5588E-6AB2-4712-9083-A405EF21226F")] 31 31 public abstract class SingleObjectiveHeuristicOptimizationProblem<T, U> : HeuristicOptimizationProblem<T, U>, ISingleObjectiveHeuristicOptimizationProblem 32 32 where T : class, ISingleObjectiveEvaluator … … 36 36 37 37 [StorableConstructor] 38 protected SingleObjectiveHeuristicOptimizationProblem( bool deserializing) : base(deserializing) { }38 protected SingleObjectiveHeuristicOptimizationProblem(StorableConstructorFlag _) : base(_) { } 39 39 protected SingleObjectiveHeuristicOptimizationProblem(SingleObjectiveHeuristicOptimizationProblem<T, U> original, Cloner cloner) : base(original, cloner) { } 40 40 protected SingleObjectiveHeuristicOptimizationProblem() -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs
r16453 r16462 30 30 using HeuristicLab.Data; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 using HeuristicLab.PluginInfrastructure; 34 34 … … 39 39 [Item("User-Defined Problem", "A problem which can be defined by the user.")] 40 40 [Creatable(CreatableAttribute.Categories.Problems, Priority = 120)] 41 [Storable Class]41 [StorableType("9F18A098-A8B8-4F70-93CF-79FF1496AC8A")] 42 42 public sealed class UserDefinedProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 43 43 public string Filename { get; set; } … … 122 122 123 123 [StorableConstructor] 124 private UserDefinedProblem( bool deserializing) : base(deserializing) { }124 private UserDefinedProblem(StorableConstructorFlag _) : base(_) { } 125 125 [StorableHook(HookType.AfterDeserialization)] 126 126 private void AfterDeserialization() { … … 235 235 236 236 [Item("EmptyUserDefinedProblemEvaluator", "A dummy evaluator that will throw an exception when executed.")] 237 [Storable Class]237 [StorableType("E27E4145-6D44-4A9D-B15A-B0E0528ECD0D")] 238 238 [NonDiscoverableType] 239 239 private sealed class EmptyUserDefinedProblemEvaluator : ParameterizedNamedItem, ISingleObjectiveEvaluator { 240 240 241 241 [StorableConstructor] 242 private EmptyUserDefinedProblemEvaluator( bool deserializing) : base(deserializing) { }242 private EmptyUserDefinedProblemEvaluator(StorableConstructorFlag _) : base(_) { } 243 243 private EmptyUserDefinedProblemEvaluator(EmptyUserDefinedProblemEvaluator original, Cloner cloner) 244 244 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Results/Result.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Optimization { … … 31 31 /// </summary> 32 32 [Item("Result", "A result which has a name and a data type and holds an IItem.")] 33 [Storable Class]33 [StorableType("219051C0-9D62-4CDE-9BA1-32233C81B678")] 34 34 public sealed class Result : NamedItem, IResult, IStorableContent { 35 35 public string Filename { get; set; } … … 76 76 77 77 [StorableConstructor] 78 private Result( bool deserializing) : base(deserializing) { }78 private Result(StorableConstructorFlag _) : base(_) { } 79 79 private Result(Result original, Cloner cloner) 80 80 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Results/ResultCollection.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Optimization { 28 [Storable Class]28 [StorableType("959230E3-C51B-4EC0-BDB2-0B0D71F5A6E3")] 29 29 [Item("ResultCollection", "Represents a collection of results.")] 30 30 public class ResultCollection : NamedItemCollection<IResult> { … … 33 33 public ResultCollection(IEnumerable<IResult> collection) : base(collection) { } 34 34 [StorableConstructor] 35 protected ResultCollection( bool deserializing) : base(deserializing) { }35 protected ResultCollection(StorableConstructorFlag _) : base(_) { } 36 36 protected ResultCollection(ResultCollection original, Cloner cloner) 37 37 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Results/ResultParameter.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("ResultParameter", "A parameter whose value is written to a result collection.")] 32 [Storable Class]32 [StorableType("CF10EF50-82B6-4A98-82C0-3C5ECED48904")] 33 33 public sealed class ResultParameter<T> : LookupParameter<T>, IResultParameter<T> where T : class, IItem { 34 34 public override Image ItemImage { get { return VSImageLibrary.Exception; } } … … 61 61 62 62 [StorableConstructor] 63 private ResultParameter( bool deserializing) : base(deserializing) { }63 private ResultParameter(StorableConstructorFlag _) : base(_) { } 64 64 private ResultParameter(ResultParameter<T> original, Cloner cloner) 65 65 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Run.cs
r16453 r16462 27 27 using HeuristicLab.Common; 28 28 using HeuristicLab.Core; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Optimization { … … 34 34 /// </summary> 35 35 [Item("Run", "The parameters and results of an algorithm run.")] 36 [Storable Class]36 [StorableType("C06974F6-2516-492F-9AE9-517AED845260")] 37 37 public sealed class Run : NamedItem, IRun, IStorableContent { 38 38 public string Filename { get; set; } 39 39 40 40 [StorableConstructor] 41 private Run( bool deserializing) : base(deserializing) { }41 private Run(StorableConstructorFlag _) : base(_) { } 42 42 private Run(Run original, Cloner cloner) 43 43 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollection.cs
r16453 r16462 28 28 using HeuristicLab.Core; 29 29 using HeuristicLab.Data; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 32 32 namespace HeuristicLab.Optimization { 33 33 [Item("Run Collection", "Represents a collection of runs.")] 34 34 [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 120)] 35 [Storable Class]35 [StorableType("6A9E959B-62DB-4998-BFC6-BF3BAE66BED4")] 36 36 public class RunCollection : ItemCollection<IRun>, IStringConvertibleMatrix, IStorableContent { 37 37 public string Filename { get; set; } 38 38 39 39 [StorableConstructor] 40 protected RunCollection(bool deserializing) 41 : base(deserializing) { 40 protected RunCollection(StorableConstructorFlag _) : base(_) { 42 41 updateOfRunsInProgress = false; 43 42 } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionComparisonConstraint.cs
r16453 r16462 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Optimization { 30 [Storable Class]30 [StorableType("655E544A-F75E-4020-BA97-F511CB4D059F")] 31 31 [Item("RunCollectionComparisonConstraint", "A constraint which compares the members of the contained runs with the constraint data.")] 32 32 public class RunCollectionComparisonConstraint : ComparisonConstraint, IRunCollectionColumnConstraint { 33 33 [StorableConstructor] 34 protected RunCollectionComparisonConstraint( bool deserializing) : base(deserializing) { }34 protected RunCollectionComparisonConstraint(StorableConstructorFlag _) : base(_) { } 35 35 36 36 protected RunCollectionComparisonConstraint(RunCollectionComparisonConstraint original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionConstraintCollection.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Optimization { 27 [Storable Class]27 [StorableType("39066245-2B02-4B41-BEA3-158A4E21FCC1")] 28 28 [Item("RunCollectionConstraintCollection", "Represents a collection of constraints.")] 29 29 public class RunCollectionConstraintCollection : ItemCollection<IRunCollectionConstraint> { … … 32 32 public RunCollectionConstraintCollection(IEnumerable<IRunCollectionConstraint> collection) : base(collection) { } 33 33 [StorableConstructor] 34 protected RunCollectionConstraintCollection( bool deserializing) : base(deserializing) { }34 protected RunCollectionConstraintCollection(StorableConstructorFlag _) : base(_) { } 35 35 protected RunCollectionConstraintCollection(RunCollectionConstraintCollection original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionContentConstraint.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Optimization { 30 [Storable Class]30 [StorableType("E155F5BA-C93F-43F2-A513-A79AEF8F0043")] 31 31 public class RunCollectionContentConstraint : Constraint, IRunCollectionConstraint { 32 32 public new RunCollection ConstrainedValue { … … 45 45 46 46 [StorableConstructor] 47 protected RunCollectionContentConstraint( bool deserializing) : base(deserializing) { }47 protected RunCollectionContentConstraint(StorableConstructorFlag _) : base(_) { } 48 48 [StorableHook(HookType.AfterDeserialization)] 49 49 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionEqualityConstraint.cs
r16453 r16462 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Optimization { 30 [Storable Class]30 [StorableType("FF40D38E-3F80-4448-A1AE-94B556EF2B9D")] 31 31 [Item("RunCollectionEqualityConstraint", "A constraint which checks the members of the contained runs for equality to the constraint data.")] 32 32 public class RunCollectionEqualityConstraint : EqualityConstraint, IRunCollectionColumnConstraint { 33 33 [StorableConstructor] 34 protected RunCollectionEqualityConstraint( bool deserializing) : base(deserializing) { }34 protected RunCollectionEqualityConstraint(StorableConstructorFlag _) : base(_) { } 35 35 36 36 protected RunCollectionEqualityConstraint(RunCollectionEqualityConstraint original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionTypeCompatiblityConstraint.cs
r16453 r16462 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Optimization { 30 [Storable Class]30 [StorableType("3B3B486C-0552-4B0D-978D-813E71E21B79")] 31 31 [Item("RunCollectionTypeCompatibilityConstraint", "A constraint which checks the members of the contained runs for type compabitiliby to the constraint data.")] 32 32 public class RunCollectionTypeCompatibilityConstraint : TypeCompatibilityConstraint, IRunCollectionColumnConstraint { 33 33 [StorableConstructor] 34 protected RunCollectionTypeCompatibilityConstraint( bool deserializing) {34 protected RunCollectionTypeCompatibilityConstraint(StorableConstructorFlag _) : base(_) { 35 35 } 36 36 protected RunCollectionTypeCompatibilityConstraint(RunCollectionTypeCompatibilityConstraint original, Cloner cloner) -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/Calculator.cs
r16453 r16462 29 29 using HeuristicLab.Core; 30 30 using HeuristicLab.Data; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Optimization { 34 34 35 [Storable Class]35 [StorableType("6C41AF6F-5F02-4510-B1B5-222651C4021B")] 36 36 public class Calculator : IDeepCloneable { 37 37 … … 54 54 55 55 [StorableConstructor] 56 protected Calculator( bool deserializing) { }56 protected Calculator(StorableConstructorFlag _) { } 57 57 public Calculator() { } 58 58 protected Calculator(Calculator original, Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionDiscretizer.cs
r16453 r16462 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using HeuristicLab.Common; 27 26 using HeuristicLab.Core; 28 27 using HeuristicLab.Data; 29 28 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 31 30 32 31 namespace HeuristicLab.Optimization { … … 34 33 "Creates several levels from the distribution of a certain result accross a run collection and " + 35 34 "assigns a discretized value. Non-existing numbers as well as NaN and infinities are excluded from the caluclation.")] 36 [Storable Class]35 [StorableType("6EFD185F-FE23-4E23-90F0-63CB9D38E57D")] 37 36 public class RunCollectionDiscretizer : ParameterizedNamedItem, IRunCollectionModifier { 38 37 … … 69 68 #region Construction & Cloning 70 69 [StorableConstructor] 71 protected RunCollectionDiscretizer( bool deserializing) : base(deserializing) { }70 protected RunCollectionDiscretizer(StorableConstructorFlag _) : base(_) { } 72 71 protected RunCollectionDiscretizer(RunCollectionDiscretizer original, Cloner cloner) 73 72 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionFormulaModifer.cs
r16453 r16462 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 24 using HeuristicLab.Common; 27 25 using HeuristicLab.Core; 28 26 using HeuristicLab.Data; 29 27 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 31 29 32 30 namespace HeuristicLab.Optimization { 33 31 34 32 [Item("RunCollection Formula Modifier", "Modifies a RunCollection by adding results using the given formula.")] 35 [Storable Class]33 [StorableType("EEE365F2-8BEB-41C6-9DE6-94CA8FAC5108")] 36 34 public class RunCollectionFormulaModifer : ParameterizedNamedItem, IRunCollectionModifier { 37 35 … … 52 50 #region Construction & Cloning 53 51 [StorableConstructor] 54 protected RunCollectionFormulaModifer( bool deserializing) : base(deserializing) { }52 protected RunCollectionFormulaModifer(StorableConstructorFlag _) : base(_) { } 55 53 protected RunCollectionFormulaModifer(RunCollectionFormulaModifer original, Cloner cloner) 56 54 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionGroupCreater.cs
r16453 r16462 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; … … 27 26 using HeuristicLab.Data; 28 27 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 30 29 31 30 namespace HeuristicLab.Optimization { 32 31 33 32 [Item("RunCollection Group Creater", "Regroups existing runs according to equal values in GroupBy and prefixes them according to their value in Prefix.")] 34 [Storable Class]33 [StorableType("5D3A55DE-DC75-4932-B3D2-2C59810143A5")] 35 34 public class RunCollectionGroupCreater : ParameterizedNamedItem, IRunCollectionModifier { 36 35 … … 48 47 #region Construction & Cloning 49 48 [StorableConstructor] 50 protected RunCollectionGroupCreater( bool deserializing) : base(deserializing) { }49 protected RunCollectionGroupCreater(StorableConstructorFlag _) : base(_) { } 51 50 protected RunCollectionGroupCreater(RunCollectionGroupCreater original, Cloner cloner) : base(original, cloner) { } 52 51 public RunCollectionGroupCreater() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionRunRemover.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Optimization { 28 28 [Item("RunCollection Run Remover", "Removes all currently visible runs. Use the filtering tab to selectively remove runs.")] 29 [Storable Class]29 [StorableType("F66D03A7-6BF8-4DB5-9341-B1BFAA8AA023")] 30 30 public class RunCollectionRunRemover : ParameterizedNamedItem, IRunCollectionModifier { 31 31 32 32 #region Construction & Cloning 33 33 [StorableConstructor] 34 protected RunCollectionRunRemover( bool deserializing) : base(deserializing) { }34 protected RunCollectionRunRemover(StorableConstructorFlag _) : base(_) { } 35 35 protected RunCollectionRunRemover(RunCollectionRunRemover original, Cloner cloner) : base(original, cloner) {} 36 36 public RunCollectionRunRemover() {} -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionSorter.cs
r16453 r16462 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using HeuristicLab.Common; 27 26 using HeuristicLab.Core; 28 27 using HeuristicLab.Data; 29 28 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 31 30 32 31 namespace HeuristicLab.Optimization { 33 32 [Item("RunCollection Sorter", "Sorts a run collection according the specified key variable.")] 34 [Storable Class]33 [StorableType("0F64D1D2-8934-4697-B997-A8072ADB4CF3")] 35 34 public class RunCollectionSorter : ParameterizedNamedItem, IRunCollectionModifier { 36 35 … … 48 47 #region Construction & Cloning 49 48 [StorableConstructor] 50 protected RunCollectionSorter( bool deserializing) : base(deserializing) { }49 protected RunCollectionSorter(StorableConstructorFlag _) : base(_) { } 51 50 protected RunCollectionSorter(RunCollectionSorter original, Cloner cloner) 52 51 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionValueRemover.cs
r16453 r16462 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using HeuristicLab.Common; 27 25 using HeuristicLab.Core; 28 26 using HeuristicLab.Data; 29 27 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 31 29 32 30 namespace HeuristicLab.Optimization { 33 31 34 32 [Item("RunCollection Value Remover", "Modifies a RunCollection by removing results or parameters.")] 35 [Storable Class]33 [StorableType("300726A9-3E81-4F8E-A11F-4A5B3CDCA796")] 36 34 public class RunCollectionValueRemover : ParameterizedNamedItem, IRunCollectionModifier { 37 35 … … 46 44 #region Construction & Cloning 47 45 [StorableConstructor] 48 protected RunCollectionValueRemover( bool deserializing) : base(deserializing) { }46 protected RunCollectionValueRemover(StorableConstructorFlag _) : base(_) { } 49 47 protected RunCollectionValueRemover(RunCollectionValueRemover original, Cloner cloner) 50 48 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Termination/ComparisonTerminator.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 30 30 namespace HeuristicLab.Optimization { 31 31 [Item("ComparisonTerminator", "An termination criterion which compares two values.")] 32 [Storable Class]32 [StorableType("4059C985-CA18-4C95-AC1C-BA8AAE64AD98")] 33 33 public class ComparisonTerminator<T> : ThresholdTerminator<T> where T : class, IItem, IComparable, IStringConvertibleValue, new() { 34 34 public ILookupParameter<T> ComparisonValueParameter { … … 46 46 47 47 [StorableConstructor] 48 protected ComparisonTerminator( bool deserializing) : base(deserializing) { }48 protected ComparisonTerminator(StorableConstructorFlag _) : base(_) { } 49 49 [StorableHook(HookType.AfterDeserialization)] 50 50 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Termination/ExecutionTimeTerminator.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Optimization { 29 29 [Item("ExecutionTimeTerminator", "A termination criterion based on execution time of an algorithm.")] 30 [Storable Class]30 [StorableType("7BBF7D6F-C41C-4826-963B-5ED9544F8391")] 31 31 public class ExecutionTimeTerminator : ThresholdTerminator<TimeSpanValue> { 32 32 … … 35 35 36 36 [StorableConstructor] 37 protected ExecutionTimeTerminator( bool deserializing) : base(deserializing) { }37 protected ExecutionTimeTerminator(StorableConstructorFlag _) : base(_) { } 38 38 protected ExecutionTimeTerminator(ExecutionTimeTerminator original, Cloner cloner) 39 39 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Termination/MultiTerminator.cs
r16453 r16462 29 29 using HeuristicLab.Operators; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Optimization { 34 34 [Item("MultiTerminator", "A multi operator, containing termination criteria.")] 35 [Storable Class]35 [StorableType("E03CCB0D-C76C-4DBC-94C5-8FED50E25D26")] 36 36 public sealed class MultiTerminator : CheckedMultiOperator<ITerminator>, ITerminator { 37 37 public static new Image StaticItemImage { … … 44 44 45 45 [StorableConstructor] 46 private MultiTerminator( bool deserializing) : base(deserializing) { }46 private MultiTerminator(StorableConstructorFlag _) : base(_) { } 47 47 private MultiTerminator(MultiTerminator original, Cloner cloner) : base(original, cloner) { } 48 48 public override IDeepCloneable Clone(Cloner cloner) { return new MultiTerminator(this, cloner); } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Termination/SingleObjectiveQualityTerminator.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Optimization { 28 28 [Item("SingleObjectiveQualityTerminator", "A termination criterion which uses a quality parameter (eg. current best quality) for termination.")] 29 [Storable Class]29 [StorableType("A32469FB-7370-46E3-AB7F-EAF8053AF105")] 30 30 public class SingleObjectiveQualityTerminator : ComparisonTerminator<DoubleValue> { 31 31 [StorableConstructor] 32 protected SingleObjectiveQualityTerminator( bool deserializing) : base(deserializing) { }32 protected SingleObjectiveQualityTerminator(StorableConstructorFlag _) : base(_) { } 33 33 protected SingleObjectiveQualityTerminator(SingleObjectiveQualityTerminator original, Cloner cloner) 34 34 : base(original, cloner) { } -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Termination/TerminationOperator.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Optimization { 30 30 [Item("TerminationOperator", "An operator which either calls the terminate- or the continue branch.")] 31 [Storable Class]31 [StorableType("FD4B77FF-4C9D-45D9-8CDF-F5F5EE2664F7")] 32 32 public sealed class TerminationOperator : InstrumentedOperator, ITerminationBasedOperator { 33 33 public ILookupParameter<ITerminator> TerminatorParameter { … … 54 54 55 55 [StorableConstructor] 56 private TerminationOperator( bool deserializing) : base(deserializing) { }56 private TerminationOperator(StorableConstructorFlag _) : base(_) { } 57 57 private TerminationOperator(TerminationOperator original, Cloner cloner) 58 58 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Termination/Terminator.cs
r16453 r16462 27 27 using HeuristicLab.Operators; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Optimization { 32 32 [Item("Terminator", "A base class for all termination criteria.")] 33 [Storable Class]33 [StorableType("E5DC984C-95B3-40F1-9D35-7B6E90A26B8A")] 34 34 public abstract class Terminator : SingleSuccessorOperator, ITerminator { 35 35 public static new Image StaticItemImage { … … 42 42 43 43 [StorableConstructor] 44 protected Terminator( bool deserializing) : base(deserializing) { }44 protected Terminator(StorableConstructorFlag _) : base(_) { } 45 45 protected Terminator(Terminator original, Cloner cloner) : base(original, cloner) { } 46 46 -
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/Termination/ThresholdTerminator.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Optimization { 30 30 [Item("ThresholdTerminator", "Base class for all termination criteria which specifies some threshold.")] 31 [Storable Class]31 [StorableType("E5D99104-54B2-471D-B27A-07CC737804A6")] 32 32 public abstract class ThresholdTerminator<T> : Terminator where T : class, IItem, IStringConvertibleValue, new() { 33 33 [Storable] … … 52 52 53 53 [StorableConstructor] 54 protected ThresholdTerminator( bool deserializing) : base(deserializing) { }54 protected ThresholdTerminator(StorableConstructorFlag _) : base(_) { } 55 55 [StorableHook(HookType.AfterDeserialization)] 56 56 private void AfterDeserialization() {
Note: See TracChangeset
for help on using the changeset viewer.