Example #1
0
 public void precompute_tiling_plifs(SWIGTYPE_p_p_shogun__CPlif PEN, SWIGTYPE_p_int tiling_plif_ids, int num_tiling_plifs)
 {
     modshogunPINVOKE.DynProg_precompute_tiling_plifs(swigCPtr, SWIGTYPE_p_p_shogun__CPlif.getCPtr(PEN), SWIGTYPE_p_int.getCPtr(tiling_plif_ids), num_tiling_plifs);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public static void delete_penalty_struct(SWIGTYPE_p_p_shogun__CPlif PEN, int P)
 {
     modshogunPINVOKE.Plif_delete_penalty_struct(SWIGTYPE_p_p_shogun__CPlif.getCPtr(PEN), P);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
    public SWIGTYPE_p_p_shogun__CPlif get_PEN()
    {
        IntPtr cPtr = modshogunPINVOKE.PlifMatrix_get_PEN(swigCPtr);
        SWIGTYPE_p_p_shogun__CPlif ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_shogun__CPlif(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #4
0
 public static void delete_penalty_struct(SWIGTYPE_p_p_shogun__CPlif PEN, int P) {
   modshogunPINVOKE.Plif_delete_penalty_struct(SWIGTYPE_p_p_shogun__CPlif.getCPtr(PEN), P);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #5
0
 public void precompute_tiling_plifs(SWIGTYPE_p_p_shogun__CPlif PEN, SWIGTYPE_p_int tiling_plif_ids, int num_tiling_plifs) {
   modshogunPINVOKE.DynProg_precompute_tiling_plifs(swigCPtr, SWIGTYPE_p_p_shogun__CPlif.getCPtr(PEN), SWIGTYPE_p_int.getCPtr(tiling_plif_ids), num_tiling_plifs);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_p_shogun__CPlif obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_p_shogun__CPlif obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }