Commits

Zoltan Szabo committed 83301e0

ITE_install.m: updated to perform only the 'compiled' quick tests. I am a greedy user;)

Comments (0)

Files changed (1)

code/ITE_install.m

     disp('-------------------');
     disp('Installation tests:');
     if environment_Matlab
-        %ANN:
-            Y = rand(3,100); Q = rand(3,200); k = 3; epsi = 0.1;
-            ann_object = ann(Y);
-            [indices, squared_distances] = ksearch(ann_object, Q, k, epsi,0);%'0': nearest neighbors do not include the points
-            disp('ANN quick test: successful.');
-
-        %NCut:
-            A = rand(10); A = A + A.'; num_of_comps = 2;
-            ClusterIndicators = ncutW(A,num_of_comps);
-            disp('NCut quick test: successful.');
+	    %ANN:
+			if compile_ANN%verify only in case of compilation
+				Y = rand(3,100); Q = rand(3,200); k = 3; epsi = 0.1;
+				ann_object = ann(Y);
+				[indices, squared_distances] = ksearch(ann_object, Q, k, epsi,0);%'0': nearest neighbors do not include the points
+				disp('ANN quick test: successful.');
+			end
+		%NCut:			
+			if compile_NCut%verify only in case of compilation
+				A = rand(10); A = A + A.'; num_of_comps = 2;
+				ClusterIndicators = ncutW(A,num_of_comps);
+				disp('NCut quick test: successful.');
+			end
     end        
     %ARfit:
         d = 2; A = 0.9 * random_orthogonal(d); T = 1000;   Ls = 1;
         v = arsim(zeros(d,1),A,eye(d),T);
         [w_temp, Fx_hat, C, SBCs] = arfit(v, Ls, Ls);
         disp('ARfit quick test: successful.');
-    %knn:
-        Y = rand(3,100); Q = rand(3,200);
-        knn(Q,Y,1);
-        disp('knn quick test: successful.');
+	%knn:
+		if compile_knn%verify only in case of compilation
+			Y = rand(3,100); Q = rand(3,200);
+			knn(Q,Y,1);
+			disp('knn quick test: successful.');
+		end
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.