Class RectanglesPlacementTestTime
java.lang.Object
topics.branchandbound.utils.BranchAndBound
topics.branchandbound.rectangles.RectanglesPlacementTestTime
Sequential Performance Benchmark (Rectangle Placement)
Standalone execution driver designed to benchmark the sequential (single-threaded) performance of the Branch and Bound rectangle placement algorithm. It measures the total wall-clock time required to navigate the state space and discover the optimal combinatorial configuration.
This class serves as a computational baseline to evaluate the speedup and efficiency gains achieved by parallel execution models.
- Author:
- vicegd
- See Also:
-
Field Summary
Fields inherited from class BranchAndBound
bestNode, globalUpperBound, nodeHeap, rootNode -
Constructor Summary
ConstructorsConstructorDescriptionInitializes the benchmark environment, defining the board dimensions and the specific set of rectangular pieces to be processed. -
Method Summary
Methods inherited from class BranchAndBound
branchAndBound, getBestNode, getRootNode, printSolutionTrace
-
Constructor Details
-
RectanglesPlacementTestTime
public RectanglesPlacementTestTime()Initializes the benchmark environment, defining the board dimensions and the specific set of rectangular pieces to be processed.
-
-
Method Details
-
main
Main execution entry point. Triggers the sequential algorithm and records the total elapsed execution time.- Parameters:
args- Command-line arguments (not utilized).
-