/* * mp_SVMCInterface.cpp * CERTFramework * * Created by Andrew Salamon on 10/26/06. * Copyright 2006 Machine Perception Laboratory, University of California San Diego.. All rights reserved. * */ extern "C" { #include "mp_SVMCInterface.h" } #include "mp_SVMWeights.h" void setDirectoryForWeights( const char *weights, const char *dir ) { mp_SVMWeights *weight = mp_SVMWeights::getSVMWeights( weights ); if( weight ) weight->setDirectory( dir ); }