static void n_SetLabel_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Neuroph.Core.Learning.DataSetRow __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Learning.DataSetRow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.Label = p0; }
static void n_SetInput_arrayD(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Neuroph.Core.Learning.DataSetRow __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Learning.DataSetRow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); double[] p0 = (double[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(double)); __this.SetInput(p0); if (p0 != null) { JNIEnv.CopyArray(p0, native_p0); } }
protected virtual unsafe void LearnPattern(global::Org.Neuroph.Core.Learning.DataSetRow p0) { if (id_learnPattern_Lorg_neuroph_core_learning_DataSetRow_ == IntPtr.Zero) { id_learnPattern_Lorg_neuroph_core_learning_DataSetRow_ = JNIEnv.GetMethodID(class_ref, "learnPattern", "(Lorg/neuroph/core/learning/DataSetRow;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_learnPattern_Lorg_neuroph_core_learning_DataSetRow_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "learnPattern", "(Lorg/neuroph/core/learning/DataSetRow;)V"), __args); } } finally { } }
static void n_LearnPattern_Lorg_neuroph_core_learning_DataSetRow_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Neuroph.Core.Learning.UnsupervisedLearning __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Learning.UnsupervisedLearning> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Neuroph.Core.Learning.DataSetRow p0 = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Learning.DataSetRow> (native_p0, JniHandleOwnership.DoNotTransfer); __this.LearnPattern(p0); }
static IntPtr n_GetInput(IntPtr jnienv, IntPtr native__this) { global::Org.Neuroph.Core.Learning.DataSetRow __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Learning.DataSetRow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewArray(__this.GetInput())); }
static bool n_IsSupervised(IntPtr jnienv, IntPtr native__this) { global::Org.Neuroph.Core.Learning.DataSetRow __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Learning.DataSetRow> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsSupervised); }