00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Copyright (C) 2012 Jacob Walker 00008 */ 00009 00010 #ifndef CEVALUATIONRESULT_H_ 00011 #define CEVALUATIONRESULT_H_ 00012 00013 #include <shogun/base/SGObject.h> 00014 00015 namespace shogun 00016 { 00017 00023 enum EEvaluationResultType 00024 { 00025 CROSSVALIDATION_RESULT, 00026 GRADIENTEVALUATION_RESULT 00027 }; 00028 00033 class CEvaluationResult: public CSGObject 00034 { 00035 00036 public: 00037 00038 /*Constructor*/ 00039 CEvaluationResult(); 00040 00041 /*Destructor*/ 00042 virtual ~CEvaluationResult(); 00043 00050 virtual EEvaluationResultType get_result_type() = 0; 00051 00053 virtual void print_result() = 0; 00054 }; 00055 00056 } /* namespace shogun */ 00057 00058 #endif /* CEVALUATIONRESULT_H_ */