A B C D F G H I L M N O P Q R S T U V W 

A

accumulateBatch() - Method in class org.wikibrain.matrix.SparseMatrixTransposer
 
almostEquals(ValueConf) - Method in class org.wikibrain.matrix.ValueConf
 
asMap() - Method in class org.wikibrain.matrix.BaseMatrixRow
 
asMap() - Method in interface org.wikibrain.matrix.MatrixRow
 
asTroveMap() - Method in class org.wikibrain.matrix.BaseMatrixRow
 
asTroveMap() - Method in interface org.wikibrain.matrix.MatrixRow
 

B

BaseMatrixRow - Class in org.wikibrain.matrix
A base class for matrix rows.
BaseMatrixRow() - Constructor for class org.wikibrain.matrix.BaseMatrixRow
 
buffers - Variable in class org.wikibrain.matrix.MemoryMappedMatrix
 

C

close() - Method in class org.wikibrain.matrix.DenseMatrix
 
close() - Method in class org.wikibrain.matrix.MemoryMappedMatrix
 
close() - Method in class org.wikibrain.matrix.SparseMatrix
 
createBuffer(int, int[], short[]) - Method in class org.wikibrain.matrix.DenseMatrixRow
 
createBuffer(int, int[], short[]) - Method in class org.wikibrain.matrix.SparseMatrixRow
 

D

DEFAULT_HEADER_SIZE - Static variable in class org.wikibrain.matrix.DenseMatrix
 
DEFAULT_HEADER_SIZE - Static variable in class org.wikibrain.matrix.SparseMatrix
 
DenseMatrix - Class in org.wikibrain.matrix
Implementation of a dense matrix.
DenseMatrix(File) - Constructor for class org.wikibrain.matrix.DenseMatrix
Create a dense matrix based on the data in a particular file.
DenseMatrix.DenseMatrixIterator - Class in org.wikibrain.matrix
 
DenseMatrix.DenseMatrixIterator() - Constructor for class org.wikibrain.matrix.DenseMatrix.DenseMatrixIterator
 
DenseMatrixRow - Class in org.wikibrain.matrix
A single dense matrix row backed by a byte buffer.
DenseMatrixRow(ValueConf, int, LinkedHashMap<Integer, Float>) - Constructor for class org.wikibrain.matrix.DenseMatrixRow
 
DenseMatrixRow(ValueConf, int, int[], float[]) - Constructor for class org.wikibrain.matrix.DenseMatrixRow
 
DenseMatrixRow(ValueConf, int[], ByteBuffer) - Constructor for class org.wikibrain.matrix.DenseMatrixRow
Wrap an existing byte buffer that contains a row.
DenseMatrixWriter - Class in org.wikibrain.matrix
 
DenseMatrixWriter(File, ValueConf) - Constructor for class org.wikibrain.matrix.DenseMatrixWriter
 

F

FILE_HEADER - Static variable in class org.wikibrain.matrix.DenseMatrix
 
FILE_HEADER - Static variable in class org.wikibrain.matrix.SparseMatrix
 
finish() - Method in class org.wikibrain.matrix.DenseMatrixWriter
 
finish() - Method in class org.wikibrain.matrix.SparseMatrixWriter
 

G

getBuffer() - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getBuffer() - Method in class org.wikibrain.matrix.SparseMatrixRow
 
getColIds() - Method in class org.wikibrain.matrix.DenseMatrix
 
getColIds() - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getColIndex(int) - Method in class org.wikibrain.matrix.BaseMatrixRow
 
getColIndex(int) - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getColIndex(int) - Method in interface org.wikibrain.matrix.MatrixRow
 
getColIndex(int) - Method in class org.wikibrain.matrix.SparseMatrixRow
 
getColValue(int) - Method in class org.wikibrain.matrix.BaseMatrixRow
 
getColValue(int) - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getColValue(int) - Method in interface org.wikibrain.matrix.MatrixRow
 
getColValue(int) - Method in class org.wikibrain.matrix.SparseMatrixRow
 
getIndexForId(int) - Method in class org.wikibrain.matrix.BaseMatrixRow
 
getIndexForId(int) - Method in interface org.wikibrain.matrix.MatrixRow
 
getNorm() - Method in class org.wikibrain.matrix.BaseMatrixRow
 
getNorm() - Method in interface org.wikibrain.matrix.MatrixRow
 
getNumCols() - Method in class org.wikibrain.matrix.BaseMatrixRow
 
getNumCols() - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getNumCols() - Method in interface org.wikibrain.matrix.MatrixRow
 
getNumCols() - Method in class org.wikibrain.matrix.SparseMatrixRow
 
getNumRows() - Method in class org.wikibrain.matrix.DenseMatrix
 
getNumRows() - Method in interface org.wikibrain.matrix.Matrix
Returns the number of rows.
getNumRows() - Method in class org.wikibrain.matrix.SparseMatrix
 
getPackedColValue(int) - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getPackedColValue(int) - Method in class org.wikibrain.matrix.SparseMatrixRow
 
getPath() - Method in class org.wikibrain.matrix.DenseMatrix
 
getPath() - Method in interface org.wikibrain.matrix.Matrix
Returns the path to the file that backs the matrix.
getPath() - Method in class org.wikibrain.matrix.SparseMatrix
 
getRow(int) - Method in class org.wikibrain.matrix.DenseMatrix
 
getRow(int) - Method in interface org.wikibrain.matrix.Matrix
Gets a particular matrix row.
getRow(int) - Method in class org.wikibrain.matrix.MemoryMappedMatrix
 
getRow(int) - Method in class org.wikibrain.matrix.SparseMatrix
 
getRowIds() - Method in class org.wikibrain.matrix.DenseMatrix
 
getRowIds() - Method in interface org.wikibrain.matrix.Matrix
Gets all row ids.
getRowIds() - Method in class org.wikibrain.matrix.SparseMatrix
 
getRowIdsInDiskOrder() - Method in class org.wikibrain.matrix.MemoryMappedMatrix
 
getRowIndex() - Method in class org.wikibrain.matrix.BaseMatrixRow
 
getRowIndex() - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getRowIndex() - Method in interface org.wikibrain.matrix.MatrixRow
 
getRowIndex() - Method in class org.wikibrain.matrix.SparseMatrixRow
 
getValueConf() - Method in class org.wikibrain.matrix.DenseMatrix
 
getValueConf() - Method in class org.wikibrain.matrix.DenseMatrixRow
 
getValueConf() - Method in class org.wikibrain.matrix.DenseMatrixWriter
 
getValueConf() - Method in class org.wikibrain.matrix.SparseMatrix
 
getValueConf() - Method in class org.wikibrain.matrix.SparseMatrixRow
 
getValueConf() - Method in class org.wikibrain.matrix.SparseMatrixWriter
 
getValueForId(int) - Method in class org.wikibrain.matrix.BaseMatrixRow
 
getValueForId(int) - Method in interface org.wikibrain.matrix.MatrixRow
 
getValues() - Method in class org.wikibrain.matrix.DenseMatrixRow
 

H

hasNext() - Method in class org.wikibrain.matrix.DenseMatrix.DenseMatrixIterator
 
hasNext() - Method in class org.wikibrain.matrix.SparseMatrix.SparseMatrixIterator
 
HEADER - Static variable in class org.wikibrain.matrix.DenseMatrixRow
 
HEADER - Static variable in class org.wikibrain.matrix.SparseMatrixRow
 

I

IntSorter - Class in org.wikibrain.matrix
 
IntSorter() - Constructor for class org.wikibrain.matrix.IntSorter
 
IntSorter.CompareInt - Interface in org.wikibrain.matrix
 
isIncreasing(int[]) - Static method in class org.wikibrain.matrix.SparseMatrixUtils
 
iterator() - Method in class org.wikibrain.matrix.DenseMatrix
 
iterator() - Method in interface org.wikibrain.matrix.Matrix
Returns an iterator over matrix rows.
iterator() - Method in class org.wikibrain.matrix.SparseMatrix
 

L

lastModified() - Method in class org.wikibrain.matrix.SparseMatrix
 
lessThan(int, int) - Method in interface org.wikibrain.matrix.IntSorter.CompareInt
 
LOG - Static variable in class org.wikibrain.matrix.DenseMatrix
 
LOG - Static variable in class org.wikibrain.matrix.MemoryMappedMatrix
 
LOG - Static variable in class org.wikibrain.matrix.SparseMatrix
 

M

main(String[]) - Static method in class org.wikibrain.matrix.SparseMatrixSorter
 
main(String[]) - Static method in class org.wikibrain.matrix.SparseMatrixTransposer
 
Matrix<T extends MatrixRow> - Interface in org.wikibrain.matrix
Base class for dense / sparse matrices
MatrixRow - Interface in org.wikibrain.matrix
Created with IntelliJ IDEA.
MAX_SCORE - Static variable in class org.wikibrain.matrix.DenseMatrixRow
 
MAX_SCORE - Static variable in class org.wikibrain.matrix.SparseMatrixRow
 
MAX_SCORE - Static variable in class org.wikibrain.matrix.ValueConf
 
maxScore - Variable in class org.wikibrain.matrix.ValueConf
 
MemoryMappedMatrix - Class in org.wikibrain.matrix
A wrapper around a file channel that contains a matrix in row major order.
MemoryMappedMatrix(File, FileChannel, TIntLongHashMap) - Constructor for class org.wikibrain.matrix.MemoryMappedMatrix
 
MemoryMappedMatrix(File, FileChannel, IntBuffer, LongBuffer) - Constructor for class org.wikibrain.matrix.MemoryMappedMatrix
 
MIN_SCORE - Static variable in class org.wikibrain.matrix.DenseMatrixRow
 
MIN_SCORE - Static variable in class org.wikibrain.matrix.SparseMatrixRow
 
MIN_SCORE - Static variable in class org.wikibrain.matrix.ValueConf
 
minScore - Variable in class org.wikibrain.matrix.ValueConf
 

N

next() - Method in class org.wikibrain.matrix.DenseMatrix.DenseMatrixIterator
 
next() - Method in class org.wikibrain.matrix.SparseMatrix.SparseMatrixIterator
 

O

org.wikibrain.matrix - package org.wikibrain.matrix
 

P

pack(float) - Method in class org.wikibrain.matrix.ValueConf
 
PACKED_RANGE - Static variable in class org.wikibrain.matrix.DenseMatrixRow
 
PACKED_RANGE - Static variable in class org.wikibrain.matrix.SparseMatrixRow
 
PACKED_RANGE - Static variable in class org.wikibrain.matrix.ValueConf
 
PAGE_SIZE - Static variable in class org.wikibrain.matrix.MemoryMappedMatrix
 
pinchScore(float) - Method in class org.wikibrain.matrix.ValueConf
 

Q

qsort(int[], IntSorter.CompareInt) - Static method in class org.wikibrain.matrix.IntSorter
 

R

range - Variable in class org.wikibrain.matrix.ValueConf
 
remove() - Method in class org.wikibrain.matrix.DenseMatrix.DenseMatrixIterator
 
remove() - Method in class org.wikibrain.matrix.SparseMatrix.SparseMatrixIterator
 
ROW_PADDING - Static variable in class org.wikibrain.matrix.DenseMatrixWriter
 
ROW_PADDING - Static variable in class org.wikibrain.matrix.SparseMatrixWriter
 

S

SCORE_RANGE - Static variable in class org.wikibrain.matrix.DenseMatrixRow
 
SCORE_RANGE - Static variable in class org.wikibrain.matrix.SparseMatrixRow
 
sort(SparseMatrix, File) - Method in class org.wikibrain.matrix.SparseMatrixSorter
 
SparseMatrix - Class in org.wikibrain.matrix
Implementation of a sparse matrix.
SparseMatrix(File) - Constructor for class org.wikibrain.matrix.SparseMatrix
 
SparseMatrix.SparseMatrixIterator - Class in org.wikibrain.matrix
 
SparseMatrix.SparseMatrixIterator() - Constructor for class org.wikibrain.matrix.SparseMatrix.SparseMatrixIterator
 
SparseMatrixRow - Class in org.wikibrain.matrix
A single sparse matrix row backed by a byte buffer.
SparseMatrixRow(ValueConf, int, TIntFloatMap) - Constructor for class org.wikibrain.matrix.SparseMatrixRow
 
SparseMatrixRow(ValueConf, int, LinkedHashMap<Integer, Float>) - Constructor for class org.wikibrain.matrix.SparseMatrixRow
 
SparseMatrixRow(ValueConf, int, int[], float[]) - Constructor for class org.wikibrain.matrix.SparseMatrixRow
 
SparseMatrixRow(ValueConf, int, int[], short[]) - Constructor for class org.wikibrain.matrix.SparseMatrixRow
 
SparseMatrixRow(ValueConf, ByteBuffer) - Constructor for class org.wikibrain.matrix.SparseMatrixRow
Wrap an existing byte buffer that contains a row.
SparseMatrixSorter - Class in org.wikibrain.matrix
Writes an output matrix with the same rows, but sorted by row ids
SparseMatrixSorter() - Constructor for class org.wikibrain.matrix.SparseMatrixSorter
 
SparseMatrixTransposer - Class in org.wikibrain.matrix
 
SparseMatrixTransposer(SparseMatrix, File) - Constructor for class org.wikibrain.matrix.SparseMatrixTransposer
 
SparseMatrixTransposer(SparseMatrix, File, int) - Constructor for class org.wikibrain.matrix.SparseMatrixTransposer
 
SparseMatrixUtils - Class in org.wikibrain.matrix
 
SparseMatrixUtils() - Constructor for class org.wikibrain.matrix.SparseMatrixUtils
 
SparseMatrixWriter - Class in org.wikibrain.matrix
 
SparseMatrixWriter(File, ValueConf) - Constructor for class org.wikibrain.matrix.SparseMatrixWriter
 
swap(int[], int, int) - Static method in class org.wikibrain.matrix.IntSorter
 

T

transpose() - Method in class org.wikibrain.matrix.SparseMatrixTransposer
 

U

unpack(short) - Method in class org.wikibrain.matrix.ValueConf
 

V

ValueConf - Class in org.wikibrain.matrix
Configuration for the values in a sparse matrix row.
ValueConf() - Constructor for class org.wikibrain.matrix.ValueConf
 
ValueConf(float, float) - Constructor for class org.wikibrain.matrix.ValueConf
 

W

write(File, Iterator<DenseMatrixRow>) - Static method in class org.wikibrain.matrix.DenseMatrixWriter
 
write(File, Iterator<DenseMatrixRow>, ValueConf) - Static method in class org.wikibrain.matrix.DenseMatrixWriter
 
write(File, Iterator<SparseMatrixRow>) - Static method in class org.wikibrain.matrix.SparseMatrixWriter
 
write(File, Iterator<SparseMatrixRow>, ValueConf) - Static method in class org.wikibrain.matrix.SparseMatrixWriter
 
writeBatch(Collection<SparseMatrixTransposer.RowAccumulator>) - Method in class org.wikibrain.matrix.SparseMatrixTransposer
 
writeRow(DenseMatrixRow) - Method in class org.wikibrain.matrix.DenseMatrixWriter
 
writeRow(SparseMatrixRow) - Method in class org.wikibrain.matrix.SparseMatrixWriter
 
A B C D F G H I L M N O P Q R S T U V W 

Copyright © 2014. All rights reserved.