Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12570


Ignore:
Timestamp:
07/02/15 11:50:36 (9 years ago)
Author:
pfleck
Message:

#2269

  • Added missing Hook.
  • Sealed some classes.
Location:
branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/Alps.cs

    r12548 r12570  
    172172    protected Alps(bool deserializing)
    173173      : base(deserializing) { }
     174    [StorableHook(HookType.AfterDeserialization)]
     175    private void AfterDeserialization() {
     176      Initialize();
     177    }
    174178    protected Alps(Alps original, Cloner cloner)
    175179      : base(original, cloner) {
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithm.cs

    r12548 r12570  
    116116    private AlpsGeneticAlgorithm(bool deserializing)
    117117      : base(deserializing) { }
     118    [StorableHook(HookType.AfterDeserialization)]
     119    private void AfterDeserialization() {
     120      Initialize();
     121    }
    118122    private AlpsGeneticAlgorithm(AlpsGeneticAlgorithm original, Cloner cloner)
    119123      : base(original, cloner) {
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/Analyzers/OldestAverageYoungestAgeCalculator.cs

    r12046 r12570  
    3030  [Item("OldestAverageYoungestAgeCalculator", "An operator which calculates the oldest, average and youngest age of solutions in the scope tree.")]
    3131  [StorableClass]
    32   public class OldestAverageYoungestAgeCalculator : SingleSuccessorOperator {
     32  public sealed class OldestAverageYoungestAgeCalculator : SingleSuccessorOperator {
    3333    public IScopeTreeLookupParameter<IntValue> AgeParameter {
    3434      get { return (IScopeTreeLookupParameter<IntValue>)Parameters["Age"]; }
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/LayerSorter.cs

    r12036 r12570  
    3030  [Item("LayerSorter", "")]
    3131  [StorableClass]
    32   public class LayerSorter : SingleSuccessorOperator {
     32  public sealed class LayerSorter : SingleSuccessorOperator {
    3333    private IScopeTreeLookupParameter<IntValue> LayerParameter {
    3434      get { return (IScopeTreeLookupParameter<IntValue>)Parameters["Layer"]; }
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/LayerUniformSubScopesProcessor.cs

    r12080 r12570  
    3434  [Item("LayerUniformSubScopesProcessor", "")]
    3535  [StorableClass]
    36   public class LayerUniformSubScopesProcessor : SingleSuccessorOperator {
     36  public sealed class LayerUniformSubScopesProcessor : SingleSuccessorOperator {
    3737    private OperatorParameter OperatorParameter {
    3838      get { return (OperatorParameter)Parameters["Operator"]; }
     
    9494  [Item("LayerIntermediateParameter", "")]
    9595  [StorableClass]
    96   public class LayerIntermediateParameter : ParameterizedNamedItem, IEnumerable<IParameter> {
     96  public sealed class LayerIntermediateParameter : ParameterizedNamedItem, IEnumerable<IParameter> {
    9797    [StorableConstructor]
    9898    private LayerIntermediateParameter(bool deserializing) : base(deserializing) { }
  • branches/ALPS/HeuristicLab.Algorithms.ALPS/3.3/LayerUpdator.cs

    r12097 r12570  
    3434  [Item("LayerUpdator", "Operator which manages the reseeding and creation of layers.")]
    3535  [StorableClass]
    36   public class LayerUpdator : AlgorithmOperator {
     36  public sealed class LayerUpdator : AlgorithmOperator {
    3737
    3838    public SolutionsCreator SolutionsCreator {
Note: See TracChangeset for help on using the changeset viewer.