Interface CostEstimatorFactory
public interface CostEstimatorFactory
Factory class for the construction of cost estimators for compression
-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ACostEstimatecreate(CompressionSettings cs, CostEstimatorBuilder costBuilder, int nRows, int nCols, double sparsity) Create a cost estimator to enable comparison of different suggested compression formats
-
Method Details
-
create
static ACostEstimate create(CompressionSettings cs, CostEstimatorBuilder costBuilder, int nRows, int nCols, double sparsity) Create a cost estimator to enable comparison of different suggested compression formats- Parameters:
cs- The compression settings to use.costBuilder- A cost builder to build the specific specialized formats of cost estimatorsnRows- The number of rows in a given input to compressnCols- The number of columns in a given input to compresssparsity- The sparsity of the input to compress- Returns:
- A cost estimator
-