Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/20/10 00:01:24 (14 years ago)
Author:
swagner
Message:

Implemented !IStorableContent separately for each algorithm (#1193)

Location:
trunk/sources/HeuristicLab.Optimization/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/Algorithm.cs

    r4419 r4437  
    3535  [Item("Algorithm", "A base class for algorithms.")]
    3636  [StorableClass]
    37   public abstract class Algorithm : ParameterizedNamedItem, IAlgorithm, IStorableContent {
    38     public string Filename { get; set; }
    39 
     37  public abstract class Algorithm : ParameterizedNamedItem, IAlgorithm {
    4038    public override Image ItemImage {
    4139      get {
  • trunk/sources/HeuristicLab.Optimization/3.3/UserDefinedAlgorithm.cs

    r4068 r4437  
    2020#endregion
    2121
     22using HeuristicLab.Common;
    2223using HeuristicLab.Core;
    2324using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3031  [Creatable("Algorithms")]
    3132  [StorableClass]
    32   public sealed class UserDefinedAlgorithm : EngineAlgorithm, IParameterizedItem {
     33  public sealed class UserDefinedAlgorithm : EngineAlgorithm, IParameterizedItem, IStorableContent {
     34    public string Filename { get; set; }
     35
    3336    public new ParameterCollection Parameters {
    3437      get { return base.Parameters; }
Note: See TracChangeset for help on using the changeset viewer.