Module brute_force

Source
Expand description

Brute force optimization for LZ match and entropy multiplier parameters.

This module provides functionality to find optimal values for the lz_match_multiplier and entropy_multiplier parameters used in the size_estimate function.

It exposes two main optimization approaches:

The main entry point for using this module is the optimize_and_apply_coefficients function, which performs the optimization and applies the resulting coefficients to an existing MergedAnalysisResults object in place.

Modules§

brute_force_custom
brute_force_split

Structs§

BruteForceConfig
Configuration for the brute force optimization process.
OptimizationResult
Result of a brute force optimization.

Functions§

apply_optimized_coefficients
Applies the optimized coefficients to the merged results and original files.
optimize_and_apply_coefficients
Optimizes and applies coefficients to a slice of AnalysisResults objects.
print_all_optimization_results
Prints formatted optimization results for both split and custom comparisons.