source: trunk/yat/classifier/utility.h @ 1797

Last change on this file since 1797 was 1797, checked in by Peter, 13 years ago

updating copyright statements

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date ID
File size: 1.4 KB
Line 
1#ifndef _theplu_yat_classifier_utility_
2#define _theplu_yat_classifier_utility_
3
4// $Id$
5
6/*
7  Copyright (C) 2006 Jari Häkkinen, Markus Ringnér
8  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
9
10  This file is part of the yat library, http://dev.thep.lu.se/yat
11
12  The yat library is free software; you can redistribute it and/or
13  modify it under the terms of the GNU General Public License as
14  published by the Free Software Foundation; either version 3 of the
15  License, or (at your option) any later version.
16
17  The yat library is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  General Public License for more details.
21
22  You should have received a copy of the GNU General Public License
23  along with yat. If not, see <http://www.gnu.org/licenses/>.
24*/
25
26namespace theplu {
27namespace yat {
28
29  namespace utility {
30    class Vector;
31  }
32
33namespace classifier {
34
35  class DataLookup1D;
36  class DataLookupWeighted1D;
37
38  ///
39  /// Converts a DataLookup1D to a utility::vector
40  ///
41  void convert(const DataLookup1D&, utility::Vector&);
42
43  ///
44  /// Converts a DataLookupWeighted1D to two utility::vector
45  ///
46  void convert(const DataLookupWeighted1D&, utility::Vector& value,
47               utility::Vector& weight);
48
49}}} // of namespace classifier, yat, and theplu
50
51#endif
Note: See TracBrowser for help on using the repository browser.