Update and rename prim.java to PrimMST.java
This commit is contained in:
parent
a7a8e192a2
commit
956e6e5c3a
@ -5,7 +5,7 @@ import java.util.*;
|
||||
import java.lang.*;
|
||||
import java.io.*;
|
||||
|
||||
class MST
|
||||
class PrimMST
|
||||
{
|
||||
// Number of vertices in the graph
|
||||
private static final int V=5;
|
||||
@ -113,4 +113,4 @@ class MST
|
||||
// Print the solution
|
||||
t.primMST(graph);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user