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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy