Bridges-Java
3.4.3
Bridges(Java API)
|
Benchmarks Shortest Path algorithms.
Benchmarks Shortest Path 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 | |
ShortestPathBenchmark (LineChart plot, long timeCap) | |
ShortestPathBenchmark (LineChart plot) | |
void | run (String algoName, Consumer< ShortestPathParams > spAlgo, DataSource ds) throws IOException |
benchmark a particular Shortest Path algorithm that accepts a single ShortestPathParams argument More... | |
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.ShortestPathBenchmark.ShortestPathBenchmark | ( | LineChart | plot, |
long | timeCap | ||
) |
bridges.benchmark.ShortestPathBenchmark.ShortestPathBenchmark | ( | LineChart | plot | ) |
void bridges.benchmark.ShortestPathBenchmark.run | ( | String | algoName, |
Consumer< ShortestPathParams > | spAlgo, | ||
DataSource | ds | ||
) | throws IOException |
benchmark a particular Shortest Path algorithm that accepts a single ShortestPathParams argument
algoName | Screen name of the algorithm |
spAlgo | the actual algorithm |