public class WeightedMatrixCache extends BaseMatrixCache<IntDoublePairArrayWritable>
Constructor and Description |
---|
WeightedMatrixCache(java.lang.String blockName,
org.apache.hadoop.conf.Configuration conf,
int numCols,
int numRows) |
Modifier and Type | Method and Description |
---|---|
MatrixIterator<IntDoublePairArrayWritable> |
iterator() |
protected void |
putToMemory(IntIntPairWritable col,
IntDoublePairArrayWritable rows) |
freeze, put
public WeightedMatrixCache(java.lang.String blockName, org.apache.hadoop.conf.Configuration conf, int numCols, int numRows) throws java.io.IOException
java.io.IOException
protected void putToMemory(IntIntPairWritable col, IntDoublePairArrayWritable rows)
putToMemory
in class BaseMatrixCache<IntDoublePairArrayWritable>
public MatrixIterator<IntDoublePairArrayWritable> iterator() throws java.io.IOException
java.io.IOException