File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -197,11 +197,13 @@ can be easily modified to output the results to a file.
197
197
To develop a new implementation, simply include "ligra.h" in the
198
198
implementation files. When finished, one may add it to the ALL
199
199
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.
201
203
202
204
```
203
205
template<class vertex>
204
- void Compute(intT start, graph<vertex> GA){
206
+ void Compute(graph<vertex> GA, intT start ){
205
207
206
208
}
207
209
You can’t perform that action at this time.
0 commit comments