Evaluation function defined