Ejemplo n.º 1
0
 public WeightedDegreeStringKernel(int degree, EWDKernType type) : this(modshogunPINVOKE.new_WeightedDegreeStringKernel__SWIG_1(degree, (int)type), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
    public EWDKernType get_type()
    {
        EWDKernType ret = (EWDKernType)modshogunPINVOKE.WeightedDegreeStringKernel_get_type(swigCPtr);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 3
0
    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;
 }