Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/07/10 05:22:33 (14 years ago)
Author:
swagner
Message:

Continued work on algorithm batch processing (#947).

File:
1 edited

Legend:

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

    r3274 r3280  
    2828  [StorableClass]
    2929  [Item("RunCollection", "Represents a collection of runs.")]
    30   public class RunCollection : ItemCollection<Run> {
     30  public class RunCollection : ItemCollection<IRun> {
    3131    public RunCollection() : base() { }
    3232    public RunCollection(int capacity) : base(capacity) { }
    33     public RunCollection(IEnumerable<Run> collection) : base(collection) { }
     33    public RunCollection(IEnumerable<IRun> collection) : base(collection) { }
    3434
    3535    public override IDeepCloneable Clone(Cloner cloner) {
    36       RunCollection clone = new RunCollection(this.Select(x => (Run)cloner.Clone(x)));
     36      RunCollection clone = new RunCollection(this.Select(x => (IRun)cloner.Clone(x)));
    3737      cloner.RegisterClonedObject(this, clone);
    3838      return clone;
Note: See TracChangeset for help on using the changeset viewer.