Interface CostEstimatorFactory
-
public interface CostEstimatorFactory
Factory class for the construction of cost estimators for compression
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CostEstimatorFactory.CostType
-
Method Summary
Static Methods Modifier and Type Method Description 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
-
-
-
Method Detail
-
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
-
-