iRoCS Toolbox  1.1.0
SVMFactory.hh
Go to the documentation of this file.
1 /**************************************************************************
2  *
3  * Copyright (C) 2004-2015 Olaf Ronneberger, Florian Pigorsch, Jörg Mechnich,
4  * Thorsten Falk
5  *
6  * Image Analysis Lab, University of Freiburg, Germany
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  **************************************************************************/
23 
24 /**************************************************************************
25  ** Title:
26  ** $RCSfile$
27  ** $Revision: 476 $$Name$
28  ** $Date: 2004-08-26 10:36:59 +0200 (Thu, 26 Aug 2004) $
29  ** Copyright: LGPL $Author: ronneber $
30  ** Description:
31  **
32  **
33  **
34  **-------------------------------------------------------------------------
35  **
36  ** $Log$
37  ** Revision 1.1 2004/08/26 08:36:59 ronneber
38  ** initital import
39  **
40  ** Revision 1.3 2003/05/19 11:12:04 ronneber
41  ** - moved all code into templated BasicSVMFactory class, to be able to
42  ** use it with other and own FV classes
43  **
44  ** Revision 1.2 2002/09/05 13:16:44 pigorsch
45  ** *** empty log message ***
46  **
47  ** Revision 1.1 2002/09/04 10:29:57 pigorsch
48  ** - initial revision, copied from libpollenpp and modified
49  **
50  **
51  **
52  **************************************************************************/
53 
54 #ifndef SVMFACTORY_HH
55 #define SVMFACTORY_HH
56 
57 #ifdef HAVE_CONFIG_H
58 #include <config.hh>
59 #endif
60 
61 #include "TList.hh"
62 #include "DefaultMultiClassList.hh"
63 #include "DefaultTwoClassList.hh"
64 #include "DefaultKernelList.hh"
65 #include "StDataASCIIFile.hh"
66 #include "BasicFV.hh"
67 #include "BasicSVMFactory.hh"
68 
69 namespace svt
70 {
71  /*-----------------------------------------------------------------------
72  * Specify SVM Factory, with all these algorithms and BasicFV
73  *-----------------------------------------------------------------------*/
74  typedef svt::BasicSVMFactory<BasicFV,
75  StDataASCIIFile,
76  DefaultMultiClassList,
77  DefaultTwoClassList,
78  DefaultKernelList> SVMFactory;
79 
80 
81 }
82 
83 #endif
The BasicSVMFactory class is a factory, that creates the appropriate template class from given string...
svt::BasicSVMFactory< BasicFV, StDataASCIIFile, DefaultMultiClassList, DefaultTwoClassList, DefaultKernelList > SVMFactory
Definition: SVMFactory.hh:78