LibsvmUtils.cpp

Go to the documentation of this file.
00001 #include "LibsvmUtils.h"
00002 
00003 namespace damina
00004 {
00005         
00006         LibsvmUtils::LibsvmUtils()
00007         {
00008         }
00009         
00010         LibsvmUtils::~LibsvmUtils()
00011         {
00012         }
00013 
00014 
00015         void LibsvmUtils::printPoint(struct svm_node *p) {
00016                 struct svm_node *t;
00017                 
00018                 t = p;
00019                 
00020                 while (t->index != -1) {
00021                         cout << "[" << t->index << "] " << t->value << " ";
00022                         t++;
00023                 }
00024                 cout << endl;
00025         }
00026 }

Generated on Mon Sep 24 22:26:48 2007 for SVClustering by  doxygen 1.5.2