Example #1
0
 /// <summary>
 /// Return a new state object.
 /// </summary>
 protected abstract TState InitializeState(Row input);
Example #2
0
 /// <summary>
 /// Get the getter for the first input column.
 /// </summary>
 protected abstract ValueGetter <TLabel> GetLabelGetter(Row row);
Example #3
0
 /// <summary>
 /// Get the getter for the second input column.
 /// </summary>
 protected abstract ValueGetter <TScore> GetScoreGetter(Row row);
Example #4
0
                public Row GetRow(Row input, Func <int, bool> predicate)
                {
                    var innerRow = _mapper.GetRow(input, predicate);

                    return(new RowImpl(innerRow, OutputSchema));
                }