Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/06/10 03:37:29 (13 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/Run.cs

    r3260 r3275  
    5959      results = new Dictionary<string, IItem>();
    6060    }
    61     public Run(string name, IAlgorithm algorithm)
    62       : base(name) {
    63       parameters = new Dictionary<string, IItem>();
    64       results = new Dictionary<string, IItem>();
    65       algorithm.CollectParameterValues(parameters);
    66       algorithm.CollectResultValues(results);
    67     }
    6861    public Run(string name, string description)
    6962      : base(name, description) {
    7063      parameters = new Dictionary<string, IItem>();
    7164      results = new Dictionary<string, IItem>();
    72     }
    73     public Run(string name, string description, IAlgorithm algorithm)
    74       : base(name, description) {
    75       parameters = new Dictionary<string, IItem>();
    76       results = new Dictionary<string, IItem>();
    77       algorithm.CollectParameterValues(parameters);
    78       algorithm.CollectResultValues(results);
    7965    }
    8066
Note: See TracChangeset for help on using the changeset viewer.