Exemple #1
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();
     }
 }
Exemple #2
0
 public MultitaskKernelNormalizer(SWIGTYPE_p_std__vectorT_int_t task_vector) : this(modshogunPINVOKE.new_MultitaskKernelNormalizer__SWIG_1(SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public void set_task_vector_rhs(SWIGTYPE_p_std__vectorT_int_t vec)
 {
     modshogunPINVOKE.MultitaskKernelMaskPairNormalizer_set_task_vector_rhs(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(vec));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void update_task_histogram(SWIGTYPE_p_std__vectorT_int_t task_vector_lhs)
 {
     modshogunPINVOKE.CTaxonomy_update_task_histogram(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector_lhs));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
        public SWIGTYPE_p_std__vectorT_int_t getIntConstantList()
        {
            SWIGTYPE_p_std__vectorT_int_t ret = new SWIGTYPE_p_std__vectorT_int_t(OgrePINVOKE.GpuSharedParameters_getIntConstantList(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #6
0
    public int get_num_unique_tasks(SWIGTYPE_p_std__vectorT_int_t vec)
    {
        int ret = modshogunPINVOKE.MultitaskKernelNormalizer_get_num_unique_tasks(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(vec));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #7
0
    public SWIGTYPE_p_std__vectorT_int_t get_task_vector_rhs()
    {
        SWIGTYPE_p_std__vectorT_int_t ret = new SWIGTYPE_p_std__vectorT_int_t(modshogunPINVOKE.MultitaskKernelMaskPairNormalizer_get_task_vector_rhs(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public int get_num_unique_tasks(SWIGTYPE_p_std__vectorT_int_t vec) {
   int ret = modshogunPINVOKE.MultitaskKernelPlifNormalizer_get_num_unique_tasks(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(vec));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public SWIGTYPE_p_std__vectorT_int_t get_active_tasks() {
   SWIGTYPE_p_std__vectorT_int_t ret = new SWIGTYPE_p_std__vectorT_int_t(modshogunPINVOKE.MultitaskKernelMaskNormalizer_get_active_tasks(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_int_t obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public MultitaskKernelMaskNormalizer(SWIGTYPE_p_std__vectorT_int_t task_lhs, SWIGTYPE_p_std__vectorT_int_t task_rhs, SWIGTYPE_p_std__vectorT_int_t active_tasks_vec) : this(modshogunPINVOKE.new_MultitaskKernelMaskNormalizer__SWIG_1(SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_lhs), SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_rhs), SWIGTYPE_p_std__vectorT_int_t.getCPtr(active_tasks_vec)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void set_task_vector(SWIGTYPE_p_std__vectorT_int_t vec) {
   modshogunPINVOKE.MultitaskKernelMaskNormalizer_set_task_vector(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(vec));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public MultitaskKernelPlifNormalizer(SWIGTYPE_p_std__vectorT_double_t support_, SWIGTYPE_p_std__vectorT_int_t task_vector) : this(modshogunPINVOKE.new_MultitaskKernelPlifNormalizer__SWIG_1(SWIGTYPE_p_std__vectorT_double_t.getCPtr(support_), SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #14
0
 public void MoveTo(SWIGTYPE_p_std__vectorT_int_t v) {
   ScidPINVOKE.Game_MoveTo(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(v));
   if (ScidPINVOKE.SWIGPendingException.Pending) throw ScidPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #15
0
 public SWIGTYPE_p_std__vectorT_int_t GetCurrentLocation() {
   SWIGTYPE_p_std__vectorT_int_t ret = new SWIGTYPE_p_std__vectorT_int_t(ScidPINVOKE.Game_GetCurrentLocation(swigCPtr), true);
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_int_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_int_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #18
0
 public ushort WriteNameFile(SWIGTYPE_p_std__vectorT_int_t freq) {
   ushort ret = ScidPINVOKE.NameBase_WriteNameFile(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(freq));
   return ret;
 }
Exemple #19
0
 public void update_task_histogram(SWIGTYPE_p_std__vectorT_int_t task_vector_lhs) {
   modshogunPINVOKE.CTaxonomy_update_task_histogram(swigCPtr, SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector_lhs));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_int_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 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();
 }