Fixed typo
This commit is contained in:
Sameer Ahmed Khan
2021-02-03 14:02:25 +05:00
committed by GitHub
parent 936861cafd
commit be8432c38e

View File

@ -150,7 +150,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
* @param y End vertex
* @param z Weight
*/
public void addEdge(int x, int y, int z) // Adds unidirectionl Edge
public void addEdge(int x, int y, int z) // Adds unidirectional edge
{
edges[index++] = new Edge(x, y, z);
}