示例#1
0
    public bool obtain_from_simple(BoolFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseBoolFeatures_obtain_from_simple(swigCPtr, BoolFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#2
0
 public BoolFeatures(BoolFeatures orig) : this(modshogunPINVOKE.new_BoolFeatures__SWIG_2(BoolFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public StreamingBoolFeatures(BoolFeatures simple_features) : this(modshogunPINVOKE.new_StreamingBoolFeatures__SWIG_3(BoolFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public StreamingBoolFeatures(BoolFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingBoolFeatures__SWIG_2(BoolFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }