Exemple #1
0
 public StringFileUlongFeatures(string fname, EAlphabet alpha) : this(modshogunPINVOKE.new_StringFileUlongFeatures__SWIG_1(fname, (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public StringCharFeatures(string [] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringCharFeatures__SWIG_2(string_list.Length, string_list, (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public StringShortRealFeatures(File loader, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_6(File.getCPtr(loader), (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public StringShortRealFeatures(EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_1((int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public StringBoolFeatures(BoolStringList string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringBoolFeatures__SWIG_2(BoolStringList.getCPtr(string_list), (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 public Alphabet(EAlphabet alpha) : this(modshogunPINVOKE.new_Alphabet__SWIG_2((int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #7
0
 public StringShortRealFeatures(float[,] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_2(string_list.GetLength(0), string_list.GetLength(1), string_list, (int)alpha), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #8
0
 public void use_alphabet(EAlphabet alpha)
 {
     modshogunPINVOKE.StreamingStringCharFeatures_use_alphabet__SWIG_0(swigCPtr, (int)alpha);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #9
0
 public void set_remap(EAlphabet ascii_alphabet)
 {
     modshogunPINVOKE.StreamingStringCharFeatures_set_remap__SWIG_2(swigCPtr, (int)ascii_alphabet);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #10
0
 public void load_ascii_file(string fname, bool remap_to_bin, EAlphabet ascii_alphabet)
 {
     modshogunPINVOKE.StringShortRealFeatures_load_ascii_file__SWIG_1(swigCPtr, fname, remap_to_bin, (int)ascii_alphabet);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #11
0
    public EAlphabet get_alphabet()
    {
        EAlphabet ret = (EAlphabet)modshogunPINVOKE.Alphabet_get_alphabet(swigCPtr);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #12
0
    public bool set_alphabet(EAlphabet alpha)
    {
        bool ret = modshogunPINVOKE.Alphabet_set_alphabet(swigCPtr, (int)alpha);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #13
0
    public static string get_alphabet_name(EAlphabet alphabet)
    {
        string ret = modshogunPINVOKE.Alphabet_get_alphabet_name((int)alphabet);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #14
0
 public static string get_alphabet_name(EAlphabet alphabet) {
   string ret = modshogunPINVOKE.Alphabet_get_alphabet_name((int)alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void set_remap(EAlphabet ascii_alphabet, EAlphabet binary_alphabet) {
   modshogunPINVOKE.StreamingStringShortRealFeatures_set_remap__SWIG_1(swigCPtr, (int)ascii_alphabet, (int)binary_alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #16
0
 public Alphabet(EAlphabet alpha) : this(modshogunPINVOKE.new_Alphabet__SWIG_2((int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #17
0
 public bool set_alphabet(EAlphabet alpha) {
   bool ret = modshogunPINVOKE.Alphabet_set_alphabet(swigCPtr, (int)alpha);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public StringCharFeatures(string [] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringCharFeatures__SWIG_2(string_list.Length, string_list, (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public StringShortRealFeatures(File loader, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_6(File.getCPtr(loader), (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public StringBoolFeatures(BoolStringList string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringBoolFeatures__SWIG_2(BoolStringList.getCPtr(string_list), (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void load_ascii_file(string fname, bool remap_to_bin, EAlphabet ascii_alphabet) {
   modshogunPINVOKE.StringShortRealFeatures_load_ascii_file__SWIG_1(swigCPtr, fname, remap_to_bin, (int)ascii_alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void use_alphabet(EAlphabet alpha) {
   modshogunPINVOKE.StreamingStringByteFeatures_use_alphabet__SWIG_0(swigCPtr, (int)alpha);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public StringFileUlongFeatures(string fname, EAlphabet alpha) : this(modshogunPINVOKE.new_StringFileUlongFeatures__SWIG_1(fname, (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public StringShortRealFeatures(EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_1((int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void set_remap(EAlphabet ascii_alphabet) {
   modshogunPINVOKE.StreamingStringByteFeatures_set_remap__SWIG_2(swigCPtr, (int)ascii_alphabet);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public StringShortRealFeatures(float[,] string_list, EAlphabet alpha) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_2(string_list.GetLength(0), string_list.GetLength(1), string_list, (int)alpha), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }