Back to project page Operation-Valkyrie.
The source code is released under:
Terms and conditions Preamble: This Agreement, signed on Jun 10, 2012 [hereinafter: Effective Date] governs the relationship between the Enduser, a private person, (hereinafter: Licensee) and Paul N...
If you think the Android project Operation-Valkyrie listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
// // This file is auto-generated. Please don't modify it! ////from w w w. j ava 2 s . co m package org.opencv.ml; import org.opencv.core.TermCriteria; // C++: class CvSVMParams /** * <p>SVM training parameters.</p> * * <p>The structure must be initialized and passed to the training method of * "CvSVM".</p> * * @see <a href="http://docs.opencv.org/modules/ml/doc/support_vector_machines.html#cvsvmparams">org.opencv.ml.CvSVMParams</a> */ public class CvSVMParams { protected final long nativeObj; protected CvSVMParams(long addr) { nativeObj = addr; } // // C++: CvSVMParams::CvSVMParams() // /** * <p>The constructors.</p> * * <p>The default constructor initialize the structure with following values:</p> * * @see <a href="http://docs.opencv.org/modules/ml/doc/support_vector_machines.html#cvsvmparams-cvsvmparams">org.opencv.ml.CvSVMParams.CvSVMParams</a> */ public CvSVMParams() { nativeObj = CvSVMParams_0(); return; } // // C++: int CvSVMParams::svm_type // public int get_svm_type() { int retVal = get_svm_type_0(nativeObj); return retVal; } // // C++: void CvSVMParams::svm_type // public void set_svm_type(int svm_type) { set_svm_type_0(nativeObj, svm_type); return; } // // C++: int CvSVMParams::kernel_type // public int get_kernel_type() { int retVal = get_kernel_type_0(nativeObj); return retVal; } // // C++: void CvSVMParams::kernel_type // public void set_kernel_type(int kernel_type) { set_kernel_type_0(nativeObj, kernel_type); return; } // // C++: double CvSVMParams::degree // public double get_degree() { double retVal = get_degree_0(nativeObj); return retVal; } // // C++: void CvSVMParams::degree // public void set_degree(double degree) { set_degree_0(nativeObj, degree); return; } // // C++: double CvSVMParams::gamma // public double get_gamma() { double retVal = get_gamma_0(nativeObj); return retVal; } // // C++: void CvSVMParams::gamma // public void set_gamma(double gamma) { set_gamma_0(nativeObj, gamma); return; } // // C++: double CvSVMParams::coef0 // public double get_coef0() { double retVal = get_coef0_0(nativeObj); return retVal; } // // C++: void CvSVMParams::coef0 // public void set_coef0(double coef0) { set_coef0_0(nativeObj, coef0); return; } // // C++: double CvSVMParams::C // public double get_C() { double retVal = get_C_0(nativeObj); return retVal; } // // C++: void CvSVMParams::C // public void set_C(double C) { set_C_0(nativeObj, C); return; } // // C++: double CvSVMParams::nu // public double get_nu() { double retVal = get_nu_0(nativeObj); return retVal; } // // C++: void CvSVMParams::nu // public void set_nu(double nu) { set_nu_0(nativeObj, nu); return; } // // C++: double CvSVMParams::p // public double get_p() { double retVal = get_p_0(nativeObj); return retVal; } // // C++: void CvSVMParams::p // public void set_p(double p) { set_p_0(nativeObj, p); return; } // // C++: TermCriteria CvSVMParams::term_crit // public TermCriteria get_term_crit() { TermCriteria retVal = new TermCriteria(get_term_crit_0(nativeObj)); return retVal; } // // C++: void CvSVMParams::term_crit // public void set_term_crit(TermCriteria term_crit) { set_term_crit_0(nativeObj, term_crit.type, term_crit.maxCount, term_crit.epsilon); return; } @Override protected void finalize() throws Throwable { delete(nativeObj); } // // native stuff // static { System.loadLibrary("opencv_java"); } // C++: CvSVMParams::CvSVMParams() private static native long CvSVMParams_0(); // C++: int CvSVMParams::svm_type private static native int get_svm_type_0(long nativeObj); // C++: void CvSVMParams::svm_type private static native void set_svm_type_0(long nativeObj, int svm_type); // C++: int CvSVMParams::kernel_type private static native int get_kernel_type_0(long nativeObj); // C++: void CvSVMParams::kernel_type private static native void set_kernel_type_0(long nativeObj, int kernel_type); // C++: double CvSVMParams::degree private static native double get_degree_0(long nativeObj); // C++: void CvSVMParams::degree private static native void set_degree_0(long nativeObj, double degree); // C++: double CvSVMParams::gamma private static native double get_gamma_0(long nativeObj); // C++: void CvSVMParams::gamma private static native void set_gamma_0(long nativeObj, double gamma); // C++: double CvSVMParams::coef0 private static native double get_coef0_0(long nativeObj); // C++: void CvSVMParams::coef0 private static native void set_coef0_0(long nativeObj, double coef0); // C++: double CvSVMParams::C private static native double get_C_0(long nativeObj); // C++: void CvSVMParams::C private static native void set_C_0(long nativeObj, double C); // C++: double CvSVMParams::nu private static native double get_nu_0(long nativeObj); // C++: void CvSVMParams::nu private static native void set_nu_0(long nativeObj, double nu); // C++: double CvSVMParams::p private static native double get_p_0(long nativeObj); // C++: void CvSVMParams::p private static native void set_p_0(long nativeObj, double p); // C++: TermCriteria CvSVMParams::term_crit private static native double[] get_term_crit_0(long nativeObj); // C++: void CvSVMParams::term_crit private static native void set_term_crit_0(long nativeObj, int term_crit_type, int term_crit_maxCount, double term_crit_epsilon); // native support for java finalize() private static native void delete(long nativeObj); }