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-24wi
project06
Commits
27513bbe
Commit
27513bbe
authored
1 year ago
by
Snigdha Saha
Browse files
Options
Download
Email Patches
Plain Diff
Update IGraph.java
parent
4aa0850e
master
No related merge requests found
Pipeline
#98487
failed with stage
in 0 seconds
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 @
27513bbe
...
...
@@ -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 direction
n
s.
* 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
}
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