plugin.h

Go to the documentation of this file.
00001 /* File: plugin.h
00002  *
00003  * Time-stamp: <Thu 04 Aug 2005-- 15:59:52 Paolo Frasconi>
00004  * $Id: plugin.h,v 1.1 2006/05/31 09:21:19 andrea Exp $
00005  *
00006  * Author: Alessio Ceroni and Paolo Frasconi
00007  *
00008  * Description: Support for arbitrary data types and associated kernels 
00009  *              in SVMLight. 
00010  *              This is the general interface for writing new plugins
00011  */
00012 # ifndef PLUGIN_H_INCLUDED
00013 # define PLUGIN_H_INCLUDED
00014 
00015 #include <stdio.h>
00016 
00017 
00018 
00171 void  plugin_init(char *plugin_file);
00172 void  plugin_exit();
00173 
00174 void* plugin_null(void);
00175 void* plugin_copy_constructor(void *words);
00176 void* plugin_parse_document(char* line, double* alphay, long* queryid, long* slackid, double* costfactor, long* highest_feature, long max_words, char** comment); 
00177 
00178 double plugin_kernel(void* a, void* b);
00179 void   plugin_write(FILE*, void*);
00180 void   plugin_destructor(void*);
00181 void   plugin_clip(void*, int);
00182 void   plugin_kernel_setparm(char *kernel_parm);
00183 
00184 # endif

Generated on Wed Sep 5 17:26:48 2007 for SVM-Dlight by  doxygen 1.5.1