Ejemplo n.º 1
0
    public bool obtain_from_simple(CharFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseCharFeatures_obtain_from_simple(swigCPtr, CharFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 2
0
 public StreamingCharFeatures(CharFeatures simple_features) : this(modshogunPINVOKE.new_StreamingCharFeatures__SWIG_3(CharFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public StreamingCharFeatures(CharFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingCharFeatures__SWIG_2(CharFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public CharFeatures(CharFeatures orig) : this(modshogunPINVOKE.new_CharFeatures__SWIG_2(CharFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }