Class RectanglesPlacementTestTimeThreads

java.lang.Object
topics.branchandbound.utils.threads.BranchAndBoundThreads
topics.branchandbound.rectangles.RectanglesPlacementTestTimeThreads

public class RectanglesPlacementTestTimeThreads extends BranchAndBoundThreads

Concurrent Performance Benchmark (Rectangle Placement)

Standalone execution driver designed to benchmark the concurrent (multithreaded) performance of the Branch and Bound rectangle placement algorithm. It dispatches a specified pool of worker threads to navigate the state space in parallel and records the total elapsed wall-clock time.

This class serves as a direct comparative metric against the sequential execution baseline to evaluate hardware utilization and algorithmic speedup.

Author:
vicegd
See Also:
  • Constructor Details

    • RectanglesPlacementTestTimeThreads

      public RectanglesPlacementTestTimeThreads()
      Initializes the concurrent benchmark environment, defining the board dimensions and the specific set of rectangular pieces to be processed.
  • Method Details

    • main

      public static void main(String[] args)
      Main execution entry point. Triggers the multithreaded algorithm using a defined pool of worker threads and records the total elapsed execution time.
      Parameters:
      args - Command-line arguments (not utilized).