Class ScenarioRunner


  • public class ScenarioRunner
    extends java.lang.Object
    A class for performing benchmarks using scenarios.
    • Constructor Summary

      Constructors 
      Constructor Description
      ScenarioRunner​(Scenario[] scenarios, IO io, int iterations)
      Performs benchmarking.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BenchmarkResults run()
      Runs benchmarks with all the pathfinding algorithms, prints progress notifications to IO and returns the results.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScenarioRunner

        public ScenarioRunner​(Scenario[] scenarios,
                              IO io,
                              int iterations)
        Performs benchmarking.
        Parameters:
        scenarios - scenarios used for benchmarking
        io - io used for printing progress notifications
        iterations - iterations per scenario
    • Method Detail

      • run

        public BenchmarkResults run()
        Runs benchmarks with all the pathfinding algorithms, prints progress notifications to IO and returns the results.
        Returns:
        benchmark results