Beispiel #1
0
    public SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t get_active_pairs()
    {
        SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t ret = new SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t(modshogunPINVOKE.MultitaskKernelMaskPairNormalizer_get_active_pairs(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #2
0
 public MultitaskKernelMaskPairNormalizer(SWIGTYPE_p_std__vectorT_int_t task_vector_, SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t active_pairs_) : this(modshogunPINVOKE.new_MultitaskKernelMaskPairNormalizer__SWIG_1(SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector_), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t.getCPtr(active_pairs_)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t get_active_pairs() {
   SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t ret = new SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t(modshogunPINVOKE.MultitaskKernelMaskPairNormalizer_get_active_pairs(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public MultitaskKernelMaskPairNormalizer(SWIGTYPE_p_std__vectorT_int_t task_vector_, SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t active_pairs_) : this(modshogunPINVOKE.new_MultitaskKernelMaskPairNormalizer__SWIG_1(SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector_), SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_t.getCPtr(active_pairs_)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }