Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/14/14 11:44:17 (11 years ago)
Author:
rstoll
Message:
  • FilterResult was inversed at some point (true meaning it is filtered, not displayed respectively and thus not found and false means found)
  • Fixed that search applies a preview (data shall not be filtered, it only uses the FilterLogic)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterLogic.cs

    r10843 r10844  
    3333    }
    3434
    35 
    36 
    37     public bool[] Preview(IList<IFilter> filters, bool isAndCombination) {
     35    public bool[] GetFilterResult(IList<IFilter> filters, bool isAndCombination) {
    3836      IList<IFilter> activeFilters = filters.Where(f => f.Active && f.ConstraintData != null).ToList<IFilter>();
    3937
     
    5048        }
    5149      }
     50      return result;
     51    }
    5252
     53    public bool[] Preview(IList<IFilter> filters, bool isAndCombination) {
     54      var result = GetFilterResult(filters, isAndCombination);
    5355      preprocessingData.SetFilter(result);
    54 
    5556      return result;
    5657    }
Note: See TracChangeset for help on using the changeset viewer.