public void set_motif_positions(WordFeatures positions_lhs, WordFeatures positions_rhs)
 {
     modshogunPINVOKE.RegulatoryModulesStringKernel_set_motif_positions(swigCPtr, WordFeatures.getCPtr(positions_lhs), WordFeatures.getCPtr(positions_rhs));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
    public bool obtain_from_simple(WordFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseWordFeatures_obtain_from_simple(swigCPtr, WordFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #3
0
 public WordFeatures(WordFeatures orig) : this(modshogunPINVOKE.new_WordFeatures__SWIG_2(WordFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public RegulatoryModulesStringKernel(StringCharFeatures lstr, StringCharFeatures rstr, WordFeatures lpos, WordFeatures rpos, double width, int degree, int shift, int window) : this(modshogunPINVOKE.new_RegulatoryModulesStringKernel__SWIG_3(StringCharFeatures.getCPtr(lstr), StringCharFeatures.getCPtr(rstr), WordFeatures.getCPtr(lpos), WordFeatures.getCPtr(rpos), width, degree, shift, window), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public StreamingWordFeatures(WordFeatures simple_features) : this(modshogunPINVOKE.new_StreamingWordFeatures__SWIG_3(WordFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
0
 public StreamingWordFeatures(WordFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingWordFeatures__SWIG_2(WordFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }