Class DenseEncoding
- java.lang.Object
-
- org.apache.sysds.runtime.compress.estim.encoding.DenseEncoding
-
-
Constructor Summary
Constructors Constructor Description DenseEncoding(AMapToData map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DenseEncodingcombine(IEncode e)Combine two encodings, note it should be guaranteed by the caller that the number of unique multiplied does not overflow Integer.EstimationFactorsextractFacts(int[] cols, int nRows, double tupleSparsity, double matrixSparsity)intgetUnique()booleanisDense()Signify if the counts are including zero or without zero.StringtoString()
-
-
-
Constructor Detail
-
DenseEncoding
public DenseEncoding(AMapToData map)
-
-
Method Detail
-
combine
public DenseEncoding combine(IEncode e)
Description copied from interface:IEncodeCombine two encodings, note it should be guaranteed by the caller that the number of unique multiplied does not overflow Integer.
-
extractFacts
public EstimationFactors extractFacts(int[] cols, int nRows, double tupleSparsity, double matrixSparsity)
- Specified by:
extractFactsin interfaceIEncode
-
isDense
public boolean isDense()
Description copied from interface:IEncodeSignify if the counts are including zero or without zero.
-
-