static void n_SetDataSet_Ljava_util_List_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Neuroph.Nnet.Learning.Knn.KNearestNeighbour __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.Learning.Knn.KNearestNeighbour> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); var p0 = global::Android.Runtime.JavaList <global::Org.Neuroph.Nnet.Learning.Kmeans.KVector> .FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer); __this.DataSet = p0; }
static IntPtr n_GetKNearestNeighbours_Lorg_neuroph_nnet_learning_kmeans_KVector_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1) { global::Org.Neuroph.Nnet.Learning.Knn.KNearestNeighbour __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.Learning.Knn.KNearestNeighbour> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Neuroph.Nnet.Learning.Kmeans.KVector p0 = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.Learning.Kmeans.KVector> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.NewArray(__this.GetKNearestNeighbours(p0, p1)); return(__ret); }
static IntPtr n_GetDataSet(IntPtr jnienv, IntPtr native__this) { global::Org.Neuroph.Nnet.Learning.Knn.KNearestNeighbour __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.Learning.Knn.KNearestNeighbour> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(global::Android.Runtime.JavaList <global::Org.Neuroph.Nnet.Learning.Kmeans.KVector> .ToLocalJniHandle(__this.DataSet)); }