yat  0.8.3pre
WeNNI.h
00001 #ifndef _theplu_yat_utility_wenni_
00002 #define _theplu_yat_utility_wenni_ 
00003 
00004 // $Id: WeNNI.h 2526 2011-07-25 02:03:35Z peter $
00005 
00006 /*
00007   Copyright (C) 2004 Jari Häkkinen
00008   Copyright (C) 2005 Peter Johansson
00009   Copyright (C) 2006 Jari Häkkinen
00010   Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
00011   Copyright (C) 2009 Jari Häkkinen
00012   Copyright (C) 2011 Peter Johansson
00013 
00014   This file is part of the yat library, http://dev.thep.lu.se/yat
00015 
00016   The yat library is free software; you can redistribute it
00017   and/or modify it under the terms of the GNU General Public License
00018   as published by the Free Software Foundation; either version 3 of
00019   the License, or (at your option) any later version.
00020 
00021   The yat library is distributed in the hope that it will be
00022   useful, but WITHOUT ANY WARRANTY; without even the implied warranty
00023   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00024   General Public License for more details.
00025 
00026   You should have received a copy of the GNU General Public License
00027   along with yat. If not, see <http://www.gnu.org/licenses/>.
00028 */
00029 
00030 #include "NNI.h"
00031 #include "Matrix.h"
00032 
00033 namespace theplu {
00034 namespace yat {
00035 namespace utility {
00036 
00053   class WeNNI : public NNI
00054   {
00055   public:
00059     WeNNI(const utility::Matrix& matrix,const utility::Matrix& weight,
00060           const unsigned int neighbours);
00061 
00078     unsigned int estimate(void);
00079 
00083     const utility::Matrix& imputed_data_raw(void) const;
00084 
00085   private:
00086 
00087     utility::Matrix imputed_data_raw_;
00088   };
00089 
00090 }}} // of namespace utility, yat, and theplu
00091 
00092 #endif

Generated on Thu Dec 20 2012 03:12:58 for yat by  doxygen 1.8.0-20120409