Changeset 16565 for trunk/HeuristicLab.Optimization/3.3/BasicProblems
- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration (added) merged: 16451-16454,16462,16465-16468,16470-16472,16474,16476-16477,16479-16487,16529-16530,16539,16551-16555,16558-16559,16562-16564
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Optimization
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration/HeuristicLab.Optimization (added) merged: 16452-16454,16462,16476,16529,16539,16558-16559
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Optimization/3.3/BasicProblems/BasicProblem.cs
r15583 r16565 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.Core; 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 [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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Encoding.cs
r15583 r16565 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.Core; 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("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) { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/Individual.cs
r15583 r16565 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 System.Linq; 25 25 using HeuristicLab.Core; 26 using HEAL.Attic; 26 27 27 28 namespace HeuristicLab.Optimization { 29 [StorableType("b1388a9d-c85c-49f6-9916-ef4c93dffee0")] 28 30 public abstract class Individual { 31 [Storable] 29 32 protected IEncoding Encoding { get; private set; } 33 [Storable] 30 34 protected IScope Scope { get; private set; } 31 35 public string Name { get { return Encoding.Name; } } 36 37 38 [StorableConstructor] 39 protected Individual(StorableConstructorFlag _) { 40 } 32 41 33 42 protected Individual(IEncoding encoding, IScope scope) { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/MultiEncodingIndividual.cs
r15583 r16565 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. … … 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Linq; 25 24 using HeuristicLab.Common; 26 25 using HeuristicLab.Core; 26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Optimization { 29 [StorableType("ec7201c7-3c9f-4a93-966b-d848d9538202")] 29 30 public sealed class MultiEncodingIndividual : Individual { 30 31 private new MultiEncoding Encoding { 31 32 get { return (MultiEncoding)base.Encoding; } 33 } 34 35 [StorableConstructor] 36 private MultiEncodingIndividual(StorableConstructorFlag _) : base(_) { 32 37 } 33 38 -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Individuals/SingleEncodingIndividual.cs
r15583 r16565 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. … … 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Optimization { 28 [StorableType("13a86161-9e5c-442b-ab1c-18018b1d9708")] 27 29 public sealed class SingleEncodingIndividual : Individual { 30 [StorableConstructor] 31 private SingleEncodingIndividual(StorableConstructorFlag _) : base(_) { 32 } 33 28 34 public SingleEncodingIndividual(IEncoding encoding, IScope scope) 29 35 : base(encoding, scope) { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IEncoding.cs
r15583 r16565 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. … … 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Core; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Optimization { 28 [StorableType("d70b2675-246c-489c-a91b-b2e19a1616a3")] 27 29 public interface IEncoding : IParameterizedNamedItem { 28 30 ISolutionCreator SolutionCreator { get; set; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IEncodingOperator.cs
r15583 r16565 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. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Optimization { 26 [StorableType("20faaf8b-dd4f-4f0e-a772-4c4dec7fcccb")] 25 27 public interface IEncodingOperator : IOperator { 26 28 ILookupParameter<IEncoding> EncodingParameter { get; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiEncodingOperator.cs
r15583 r16565 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. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Optimization { 26 [StorableType("e8b66565-263c-49f9-9c08-29b820bf3e5a")] 25 27 public interface IMultiEncodingOperator : IOperator { 26 28 void AddEncoding(IEncoding encoding); -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IMultiObjectiveProblemDefinition.cs
r15583 r16565 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. … … 21 21 22 22 using HeuristicLab.Core; 23 using HEAL.Attic; 23 24 24 25 namespace HeuristicLab.Optimization { 26 [StorableType("39eacdb5-80a0-425d-902a-00eb3e1d6610")] 25 27 public interface IMultiObjectiveProblemDefinition : IProblemDefinition { 26 28 bool[] Maximization { get; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/IProblemDefinition.cs
r15583 r16565 1 #region License Information 1 using HEAL.Attic; 2 #region License Information 2 3 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 5 * 5 6 * This file is part of HeuristicLab. … … 21 22 22 23 namespace HeuristicLab.Optimization { 24 [StorableType("747a3cea-b9ba-4322-a5c2-050cd7e16e2a")] 23 25 public interface IProblemDefinition { 24 26 IEncoding Encoding { get; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveMoveOperator.cs
r15583 r16565 1 #region License Information 1 using HEAL.Attic; 2 #region License Information 2 3 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 5 * 5 6 * This file is part of HeuristicLab. … … 21 22 22 23 namespace HeuristicLab.Optimization { 24 [StorableType("82423b2f-1343-4a21-847c-e69bdcde4861")] 23 25 public interface ISingleObjectiveMoveOperator : IMoveOperator, ISingleObjectiveOperator { 24 26 } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/ISingleObjectiveProblemDefinition.cs
r15583 r16565 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 System.Collections.Generic; 23 23 using HeuristicLab.Core; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("7ec7bf7e-aaa7-4681-828b-3401cf67e2b3")] 26 28 public interface ISingleObjectiveProblemDefinition : IProblemDefinition { 27 29 bool Maximization { get; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/IMultiObjectiveAnalysisOperator.cs
r15583 r16565 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 System; 23 23 using HeuristicLab.Core; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("c9325602-3262-48a4-8985-03657fb0b34f")] 26 28 internal interface IMultiObjectiveAnalysisOperator : IEncodingOperator, IAnalyzer, IMultiObjectiveOperator { 27 29 Action<Individual[], double[][], ResultCollection, IRandom> AnalyzeAction { get; set; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/IMultiObjectiveEvaluationOperator.cs
r15583 r16565 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 System; 23 23 using HeuristicLab.Core; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("89da568c-70a2-48fb-8e6b-ea078bb6fc3f")] 26 28 internal interface IMultiObjectiveEvaluationOperator : IMultiObjectiveEvaluator, IEncodingOperator { 27 29 Func<Individual, IRandom, double[]> EvaluateFunc { get; set; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/INeighborBasedOperator.cs
r15583 r16565 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. … … 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Core; 25 using HEAL.Attic; 25 26 26 27 namespace HeuristicLab.Optimization { 28 [StorableType("fda56e0b-9392-4711-9af1-55211bfa24ac")] 27 29 internal interface INeighborBasedOperator : IEncodingOperator { 28 30 Func<Individual, IRandom, IEnumerable<Individual>> GetNeighborsFunc { get; set; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/ISingleObjectiveAnalysisOperator.cs
r15583 r16565 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 System; 23 23 using HeuristicLab.Core; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("9731981c-10c6-4850-9308-a4720ac07da7")] 26 28 internal interface ISingleObjectiveAnalysisOperator : IEncodingOperator, ISingleObjectiveOperator { 27 29 Action<Individual[], double[], ResultCollection, IRandom> AnalyzeAction { get; set; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Interfaces/internal/ISingleObjectiveEvaluationOperator.cs
r15583 r16565 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 System; 23 23 using HeuristicLab.Core; 24 using HEAL.Attic; 24 25 25 26 namespace HeuristicLab.Optimization { 27 [StorableType("5a9cf334-4815-4f0e-a2f8-f3d4edfcc829")] 26 28 internal interface ISingleObjectiveEvaluationOperator : ISingleObjectiveEvaluator, IEncodingOperator { 27 29 Func<Individual, IRandom, double> EvaluateFunc { get; set; } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/MultiEncoding.cs
r15583 r16565 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. … … 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 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 } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/MultiObjectiveBasicProblem.cs
r15583 r16565 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. … … 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.Attic; 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) -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCreator.cs
r15583 r16565 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) { } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCrossover.cs
r15583 r16565 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() { } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingManipulator.cs
r15583 r16565 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) { } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingOperator.cs
r15583 r16565 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 -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveAnalyzer.cs
r15583 r16565 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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveEvaluator.cs
r15583 r16565 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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveAnalyzer.cs
r15583 r16565 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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveEvaluator.cs
r15583 r16565 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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveImprover.cs
r15583 r16565 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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveEvaluator.cs
r15583 r16565 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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveGenerator.cs
r15583 r16565 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) { } -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveMaker.cs
r15583 r16565 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() { -
trunk/HeuristicLab.Optimization/3.3/BasicProblems/SingleObjectiveBasicProblem.cs
r15583 r16565 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.Data; 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("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)
Note: See TracChangeset
for help on using the changeset viewer.