Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/12 20:21:07 (12 years ago)
Author:
ascheibe
Message:

#1174 added support for TimeSpanValue for querying the execution time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/QueryService.cs

    r7573 r7574  
    7575            name
    7676          ));
     77        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Parameter) && (x.Type == ValueNameType.TimeSpan)).Select(x => x.Name).Distinct())
     78          filters.Add(new NameOrdinalComparisonTimeSpanFilter(
     79            typeof(TimeSpanValueFilter).AssemblyQualifiedName,
     80            "Parameter " + name + " Value",
     81            name
     82          ));
    7783        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Parameter) && (x.Type == ValueNameType.Float)).Select(x => x.Name).Distinct())
    7884          filters.Add(new NameOrdinalComparisonFloatFilter(
     
    138144            name
    139145          ));
     146        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Result) && (x.Type == ValueNameType.TimeSpan)).Select(x => x.Name).Distinct())
     147          filters.Add(new NameOrdinalComparisonTimeSpanFilter(
     148            typeof(TimeSpanValueFilter).AssemblyQualifiedName,
     149            "Result " + name + " Value",
     150            name
     151          ));
    140152        foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Result) && (x.Type == ValueNameType.Float)).Select(x => x.Name).Distinct())
    141153          filters.Add(new NameOrdinalComparisonFloatFilter(
Note: See TracChangeset for help on using the changeset viewer.