Content-Length: 275369 | pFad | http://github.com/algorithm-visualizer/algorithms/commit/f2af23ad4dc676e2aeb0b347b1d48de90abd0517

EF Modify the output in the Hamiltonean Cycles (#13) · algorithm-visualizer/algorithms@f2af23a · GitHub
Skip to content

Commit f2af23a

Browse files
HenryRLee64json
authored andcommitted
Modify the output in the Hamiltonean Cycles (#13)
1 parent e7dee5c commit f2af23a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Backtracking/Hamiltonean Cycles/Code.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void nextVal(int k)
7575
//}
7676

7777
//Randomizing adjacancy matrix and displaying on log screen{
78-
logTracer.println("The adjacancy Matrix is");
78+
logTracer.println("The adjacancy matrix is");
7979
for(int i=0;i<n;i++){
8080
for(int j=0;j<n;j++){
8181
adjacencyMatrix[i][j]=r.nextInt(2);
@@ -90,7 +90,7 @@ void nextVal(int k)
9090
graphTracer.set(adjacencyMatrix);
9191
// }
9292

93-
logTracer.println("the possible solutios are");
93+
logTracer.println("The possible solutions are");
9494
ham(1);
9595
if(found==0)
9696
logTracer.println("No cycles are found Try with a different graph ");

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/algorithm-visualizer/algorithms/commit/f2af23ad4dc676e2aeb0b347b1d48de90abd0517

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy