public WeightedDegreeStringKernel(int degree, EWDKernType type) : this(modshogunPINVOKE.new_WeightedDegreeStringKernel__SWIG_1(degree, (int)type), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public EWDKernType get_type() { EWDKernType ret = (EWDKernType)modshogunPINVOKE.WeightedDegreeStringKernel_get_type(swigCPtr); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool set_wd_weights_by_type(EWDKernType type) { bool ret = modshogunPINVOKE.WeightedDegreeStringKernel_set_wd_weights_by_type(swigCPtr, (int)type); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public WeightedDegreeStringKernel(int degree, EWDKernType type) : this(modshogunPINVOKE.new_WeightedDegreeStringKernel__SWIG_1(degree, (int)type), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public bool set_wd_weights_by_type(EWDKernType type) { bool ret = modshogunPINVOKE.WeightedDegreeStringKernel_set_wd_weights_by_type(swigCPtr, (int)type); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }