Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs2-19wi
project07
Commits
12868450
Commit
12868450
authored
6 years ago
by
Adam Blank
Browse files
Options
Download
Plain Diff
Merge branch 'kriley' into 'master'
Update the IGraph Interface documentation. See merge request
!1
parents
083e806c
fb6c2fe8
master
Pipeline
#8961
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/edu/caltech/cs2/interfaces/IGraph.java
+2
-2
src/edu/caltech/cs2/interfaces/IGraph.java
with
2 additions
and
2 deletions
+2
-2
src/edu/caltech/cs2/interfaces/IGraph.java
View file @
12868450
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help