Commit 27513bbe authored by Snigdha Saha's avatar Snigdha Saha
Browse files

Update IGraph.java

parent 4aa0850e
No related merge requests found
Pipeline #98487 failed with stage
in 0 seconds
Showing with 2 additions and 2 deletions
+2 -2
......@@ -20,7 +20,7 @@ public interface IGraph<V, E> {
public boolean addEdge(V src, V dest, E e);
/**
* Adds edge e to the graph in both directionns.
* Adds edge e to the graph in both directions.
*
* @param e The edge to add.
* @throws IllegalArgumentException
......@@ -64,4 +64,4 @@ public interface IGraph<V, E> {
* @return The set of neighbors of vertex.
*/
public ISet<V> neighbors(V vertex);
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment