Skip to content

Commit db1af18

Browse files
author
jshun
committed
cleaned up code
1 parent 84750df commit db1af18

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,13 @@ can be easily modified to output the results to a file.
197197
To develop a new implementation, simply include "ligra.h" in the
198198
implementation files. When finished, one may add it to the ALL
199199
variable in Makefile. The function that is passed to the Ligra driver
200-
is the following Compute function, which is filled in by the user:
200+
is the following Compute function, which is filled in by the user. The
201+
first argument is the graph, and second argument specifies the
202+
starting vertex for algorithms that require one.
201203

202204
```
203205
template<class vertex>
204-
void Compute(intT start, graph<vertex> GA){
206+
void Compute(graph<vertex> GA, intT start){
205207
206208
}
207209

0 commit comments

Comments
 (0)