added a type definition for the evaluation method passed to EvalTree