mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-06 09:06:51 +08:00
Update and rename prim.java to PrimMST.java
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user