helloworld.h

Go to the documentation of this file.
00001 /* File: helloworld.h
00002  *
00003  * Time-stamp: <Mon 01 Aug 2005-- 16:31:35 Paolo Frasconi>
00004  * $Id: helloworld.h,v 1.1 2006/05/31 09:21:19 andrea Exp $
00005  *
00006  * Author: Alessio Ceroni and Paolo Frasconi
00007  *
00008  * Description: very simple data type and associated kernel
00009  * 
00010  */
00011 # ifndef HELLOWORLD_H_INCLUDED
00012 # define HELLOWORLD_H_INCLUDED
00013 
00014 
00015 
00016 typedef struct datum {
00017   double x; /* Yes, just a single real number! */
00018 } DATUM;
00019 
00020 
00021 
00022 void* plugin_null(void);
00023 void* plugin_copy_constructor(void* words);
00024 void* 
00025 plugin_parse_document(char *line, 
00026                           double *label,
00027                           long *queryid, 
00028                           long *slackid, 
00029                           double *costfactor,
00030                           long int *highest_feature, 
00031                           long int max_words_doc,
00032                           char **comment);
00033 
00034 double plugin_kernel(void *, void *);
00035 
00036 void   plugin_write(FILE*, void*);
00037 void   plugin_destructor(void*);
00038 void   plugin_clip(void*, int);
00039 void   plugin_kernel_setparm(char*);
00040 
00041 # endif

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