![]() |
Bridges-Java
3.3.0
Bridges(Java API)
|
Inherits bridges.benchmark.GraphBenchmark.
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... | |
| 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 |