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

Last change on this file since 865 was 865, checked in by Peter, 14 years ago

changing URL to http://trac.thep.lu.se/trac/yat

  • 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, Peter Johansson
8  Copyright (C) 2007 Peter Johansson
9
10  This file is part of the yat library, http://trac.thep.lu.se/trac/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 2 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 this program; if not, write to the Free Software
24  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
25  02111-1307, USA.
26*/
27
28namespace theplu {
29namespace yat {
30
31  namespace utility {
32    class vector;
33  }
34
35namespace classifier {
36
37  class DataLookup1D;
38  class DataLookupWeighted1D;
39
40  ///
41  /// Converts a DataLookup1D to a utility::vector
42  ///
43  void convert(const DataLookup1D&, utility::vector&);
44
45  ///
46  /// Converts a DataLookupWeighted1D to two utility::vector
47  ///
48  void convert(const DataLookupWeighted1D&, utility::vector& value,
49               utility::vector& weight);
50
51}}} // of namespace classifier, yat, and theplu
52
53#endif
Note: See TracBrowser for help on using the repository browser.