Commit 12868450 authored by Adam Blank's avatar Adam Blank
Browse files

Merge branch 'kriley' into 'master'

Update the IGraph Interface documentation.

See merge request !1
Pipeline #8961 canceled with stage
Showing with 2 additions and 2 deletions
+2 -2
......@@ -14,7 +14,7 @@ public abstract class IGraph<V, E> {
* @param e The edge to add.
* @throws IllegalArgumentException
* If e is not a valid edge (eg. refers to vertices not in the graph).
* @return true If e was not already present; false if it was (in which case the graph is not updated).
* @return true If e was not already present; false if it was (in which case the graph is still updated).
*/
public abstract boolean addEdge(V src, V dest, E e);
......@@ -24,7 +24,7 @@ public abstract class IGraph<V, E> {
* @param e The edge to add.
* @throws IllegalArgumentException
* If e is not a valid edge (eg. refers to vertices not in the graph).
* @return true If e was not already present in either direction; false if it was (in which case the graph is not updated).
* @return true If e was not already present in either direction; false if it was (in which case the graph is still updated).
*/
public abstract boolean addUndirectedEdge(V src, V dest, E e);
......
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