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

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