www.pudn.com > svm_multiClass.rar > svm_struct_common.c


/***********************************************************************/ 
/*                                                                     */ 
/*   svm_struct_common.h                                               */ 
/*                                                                     */ 
/*   Functions and types used by multiple components of SVM-struct.    */ 
/*                                                                     */ 
/*   Author: Thorsten Joachims                                         */ 
/*   Date: 03.07.04                                                    */ 
/*                                                                     */ 
/*   Copyright (c) 2004  Thorsten Joachims - All rights reserved       */ 
/*                                                                     */ 
/*   This software is available for non-commercial use only. It must   */ 
/*   not be modified and distributed without prior permission of the   */ 
/*   author. The author is not responsible for implications from the   */ 
/*   use of this software.                                             */ 
/*                                                                     */ 
/***********************************************************************/ 
 
#include  
#include  
#include  
 
#include "svm_struct_common.h" 
 
long struct_verbosity;                   /* verbosity level (0-4) */ 
 
void printIntArray(int* x, int n) 
{ 
  int i; 
  for(i=0;i