Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3492


Ignore:
Timestamp:
04/22/10 18:56:49 (15 years ago)
Author:
mkommend
Message:

added new method GetValue in RunCollection (ticket #970)

File:
1 edited

Legend:

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

    r3447 r3492  
    8686    }
    8787
    88 
    89 
    9088    private bool AddParameter(string name, IItem value) {
    9189      if (value == null)
     
    125123    public IItem GetValue(int rowIndex, int columnIndex) {
    126124      IRun run = this.list[rowIndex];
     125      return GetValue(run, columnIndex);
     126    }
     127
     128    public IItem GetValue(IRun run, int columnIndex) {
    127129      IItem value = null;
    128 
    129130      if (columnIndex < parameterNames.Count) {
    130131        string parameterName = parameterNames[columnIndex];
     
    142143    [Storable]
    143144    private List<string> parameterNames;
     145    public IEnumerable<string> ParameterNames {
     146      get { return this.parameterNames; }
     147    }
    144148    [Storable]
    145149    private List<string> resultNames;
     150    public IEnumerable<string> ResultNames {
     151      get { return this.resultNames; }
     152    }
    146153    int IStringConvertibleMatrix.Rows {
    147154      get { return this.Count; }
Note: See TracChangeset for help on using the changeset viewer.