Modified Data Structures/Graphs folder .java file name and class name
This commit is contained in:
parent
9d183e6255
commit
707f6f1ea8
@ -6,7 +6,7 @@ import java.util.*;
|
||||
* @author Unknown
|
||||
*
|
||||
*/
|
||||
public class bfs{
|
||||
public class BFS{
|
||||
|
||||
/**
|
||||
* The BFS implemented in code to use.
|
||||
|
@ -7,7 +7,7 @@ import java.util.*;
|
||||
*
|
||||
*/
|
||||
|
||||
public class dfs{
|
||||
public class DFS{
|
||||
|
||||
/**
|
||||
* Implementation in code of a DFS
|
||||
|
@ -100,7 +100,7 @@ class PrimMST
|
||||
| / \ |
|
||||
(3)-------(4)
|
||||
9 */
|
||||
MST t = new MST();
|
||||
PrimMST t = new PrimMST();
|
||||
int graph[][] = new int[][] {{0, 2, 0, 6, 0},
|
||||
{2, 0, 3, 8, 5},
|
||||
{0, 3, 0, 0, 7},
|
||||
|
Loading…
Reference in New Issue
Block a user