Merge pull request #358 from LeeChungWan/Graphs
Modified Data Structures/Graphs folder .java file name and class name
This commit is contained in:
commit
dcf7f8f657
@ -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