Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/20/11 01:30:44 (14 years ago)
Author:
cneumuel
Message:

#1215

  • made all IAlgorithm types compatible to be loaded into MetaOptimization.
  • valid problem types are now automatically set
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/ConstrainedTypeValue.cs

    r5328 r5337  
    1313  [Item("ConstrainedTypeValue", "Represents a type with constraints.")]
    1414  [StorableClass]
    15   public abstract class ConstrainedTypeValue : TypeValue {
     15  public class ConstrainedTypeValue : TypeValue {
    1616
    1717    [Storable]
     
    4242      this.validTypes = new List<Type>(original.validTypes);
    4343    }
     44    public override IDeepCloneable Clone(Cloner cloner) {
     45      return new ConstrainedTypeValue(this, cloner);
     46    }
    4447  }
    4548
     
    5659      this.Value = value;
    5760    }
     61    [StorableConstructor]
     62    protected ConstrainedTypeValue(bool deserializing) : base(deserializing) { }
    5863    protected ConstrainedTypeValue(ConstrainedTypeValue original, Cloner cloner) : base(original, cloner) { }
    5964    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.