Package org.apache.sysds.hops.estim
Class EstimatorBitsetMM.BitsetMatrix1
- java.lang.Object
- 
- org.apache.sysds.hops.estim.EstimatorBitsetMM.BitsetMatrix
- 
- org.apache.sysds.hops.estim.EstimatorBitsetMM.BitsetMatrix1
 
 
- 
- Enclosing class:
- EstimatorBitsetMM
 
 public static class EstimatorBitsetMM.BitsetMatrix1 extends EstimatorBitsetMM.BitsetMatrix This class represents a boolean matrix and provides key operations. In the interest of a cache-conscious matrix multiplication and reduced memory overhead, we use a linearized and padded array of longs instead of Java's BitSet per row (which causes memory overheads per row and does not allow for range ORs). However, this implies a maximum size of 16GB.
- 
- 
Constructor SummaryConstructors Constructor Description BitsetMatrix1(int rlen, int clen)BitsetMatrix1(MatrixBlock in)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EstimatorBitsetMM.BitsetMatrixand(EstimatorBitsetMM.BitsetMatrix bsb)EstimatorBitsetMM.BitsetMatrixcbind(EstimatorBitsetMM.BitsetMatrix bsb)EstimatorBitsetMM.BitsetMatrixflip()booleanget(int r, int c)EstimatorBitsetMM.BitsetMatrixor(EstimatorBitsetMM.BitsetMatrix bsb)EstimatorBitsetMM.BitsetMatrixrbind(EstimatorBitsetMM.BitsetMatrix bsb)voidset(int r, int c)- 
Methods inherited from class org.apache.sysds.hops.estim.EstimatorBitsetMM.BitsetMatrixgetNonZeros, getNumColumns, getNumRows, matMult, transpose
 
- 
 
- 
- 
- 
Constructor Detail- 
BitsetMatrix1public BitsetMatrix1(int rlen, int clen)
 - 
BitsetMatrix1public BitsetMatrix1(MatrixBlock in) 
 
- 
 - 
Method Detail- 
andpublic EstimatorBitsetMM.BitsetMatrix and(EstimatorBitsetMM.BitsetMatrix bsb) 
 - 
orpublic EstimatorBitsetMM.BitsetMatrix or(EstimatorBitsetMM.BitsetMatrix bsb) 
 - 
rbindpublic EstimatorBitsetMM.BitsetMatrix rbind(EstimatorBitsetMM.BitsetMatrix bsb) 
 - 
cbindpublic EstimatorBitsetMM.BitsetMatrix cbind(EstimatorBitsetMM.BitsetMatrix bsb) 
 - 
flippublic EstimatorBitsetMM.BitsetMatrix flip() 
 - 
setpublic void set(int r, int c)- Specified by:
- setin class- EstimatorBitsetMM.BitsetMatrix
 
 - 
getpublic boolean get(int r, int c)- Specified by:
- getin class- EstimatorBitsetMM.BitsetMatrix
 
 
- 
 
-