Skip to content

Commit

Permalink
cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
jshun committed Oct 17, 2014
1 parent 84750df commit db1af18
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,13 @@ can be easily modified to output the results to a file.
To develop a new implementation, simply include "ligra.h" in the
implementation files. When finished, one may add it to the ALL
variable in Makefile. The function that is passed to the Ligra driver
is the following Compute function, which is filled in by the user:
is the following Compute function, which is filled in by the user. The
first argument is the graph, and second argument specifies the
starting vertex for algorithms that require one.

```
template<class vertex>
void Compute(intT start, graph<vertex> GA){
void Compute(graph<vertex> GA, intT start){
}
Expand Down

0 comments on commit db1af18

Please sign in to comment.