Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/02/14 13:34:54 (11 years ago)
Author:
mleitner
Message:

Add Tostring for comparison filter

File:
1 edited

Legend:

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

    r10670 r10704  
    147147                handler(this, EventArgs.Empty);
    148148        }
     149
     150        public override string ToString()
     151        {
     152          string s = string.Empty;
     153          if (ConstrainedValue != null)
     154            s += ConstrainedValue.GetVariableName(ConstraintColumn) + " ";
     155
     156          if (ConstraintOperation != null)
     157            s += ConstraintOperation.ToString() + " ";
     158
     159          if (ConstraintData != null)
     160            s += ConstraintData.ToString();
     161          else
     162            s += "null";
     163
     164          s += ".";
     165          return s;
     166        }
    149167    }
    150168}
Note: See TracChangeset for help on using the changeset viewer.