Skip to content

Commit 9b566f9

Browse files
committed
remove makefile and update docs
1 parent 381d898 commit 9b566f9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

data_structures/Graphs/Graphs.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ public boolean removeAdjacentVertex(E to) {
4242
}
4343

4444
/**
45+
* this method removes an edge from the graph between two specified
46+
* verticies
47+
*
4548
* @param from the data of the vertex the edge is from
4649
* @param to the data of the vertex the edge is going to
4750
* @return returns false if the edge doesn't exist, returns true if the edge exists and is removed
@@ -58,6 +61,9 @@ public boolean removeEdge(E from, E to) {
5861
return fromV.removeAdjacentVertex(to);
5962
}
6063
/**
64+
* this method adds an edge to the graph between two specified
65+
* verticies
66+
*
6167
* @param from the data of the vertex the edge is from
6268
* @param to the data of the vertex the edge is going to
6369
* @return returns true if the edge did not exist, return false if it already did
@@ -84,6 +90,7 @@ public boolean addEdge(E from, E to) {
8490
}
8591

8692
/**
93+
* this gives a list of verticies in the graph and their adjacencies
8794
*
8895
* @return returns a string describing this graph
8996
*/

data_structures/Graphs/makefile

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)