001 /** 002 * Evaluator.java 003 * jCOLIBRI2 framework. 004 * @author Juan A. Recio-García. 005 * GAIA - Group for Artificial Intelligence Applications 006 * http://gaia.fdi.ucm.es 007 * 07/05/2007 008 */ 009 package jcolibri.evaluation; 010 011 import jcolibri.cbraplications.StandardCBRApplication; 012 013 /** 014 * This abstract class defines the common behaviour of an evaluator. 015 * @author Juanan 016 */ 017 public abstract class Evaluator { 018 019 /** Initializes the evaluator with the CBR application to evaluate 020 * @see jcolibri.cbraplications.StandardCBRApplication 021 * */ 022 public abstract void init(StandardCBRApplication cbrApp); 023 024 /** Object that stores the evaluation results */ 025 protected static EvaluationReport report; 026 027 /** Returns the evaluation report */ 028 public static EvaluationReport getEvaluationReport(){ 029 return report; 030 } 031 }