Bridges-Java
3.4.3
Bridges(Java API)
|
Benchmarks Page Rank algorithms.
Benchmarks PageRank algorithms and add time series to a LineChart.
One can also set a maximum time spent on a particular run using setTimeCap().
and can be passed to the run function for being benchmarked. A typical use would look something like
Public Member Functions | |
PageRankBenchmark (LineChart plot, long timeCap) | |
PageRankBenchmark (LineChart plot) | |
void | run (String algoName, DataSource ds, Consumer< PageRankParams > prAlgo) throws IOException |
Public Member Functions inherited from bridges.benchmark.Benchmark | |
void | setTimeCap (long cap_in_ms) |
sets an upper bound to the time of a run. More... | |
long | getTimeCap () |
Return time limit of a run. More... | |
Additional Inherited Members | |
Package Functions inherited from bridges.benchmark.GraphBenchmark | |
GraphBenchmark (LineChart plot) | |
GraphBenchmark (LineChart plot, long timeCap) | |
void | generateWikidataActorMovieData (int yearMin, int yearMax, long[] counts, GraphAdjList< String, String, String > graph, DataSource ds) throws IOException |
String | highestDegreeVertex (GraphAdjList< String, String, String > graph) |
Package Functions inherited from bridges.benchmark.Benchmark | |
Benchmark (LineChart plot, long timeCap) | |
Benchmark (LineChart plot) | |
Package Attributes inherited from bridges.benchmark.Benchmark | |
LineChart | plot |
Static Package Attributes inherited from bridges.benchmark.GraphBenchmark | |
static final int | CURRENT_YEAR = 2019 |
bridges.benchmark.PageRankBenchmark.PageRankBenchmark | ( | LineChart | plot, |
long | timeCap | ||
) |
bridges.benchmark.PageRankBenchmark.PageRankBenchmark | ( | LineChart | plot | ) |
void bridges.benchmark.PageRankBenchmark.run | ( | String | algoName, |
DataSource | ds, | ||
Consumer< PageRankParams > | prAlgo | ||
) | throws IOException |