Class MatrixHeapMerger
java.lang.Object
org.tribuo.math.util.MatrixHeapMerger
- All Implemented Interfaces:
Serializable,Merger
Merges each
DenseSparseMatrix using a PriorityQueue as a heap on the MatrixIterator.
Relies upon MatrixIterator.compareTo(MatrixIterator).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmerge(DenseSparseMatrix[] inputs) Merges an array of DenseSparseMatrix into a single DenseSparseMatrix.merge(SparseVector[] inputs) Merges an array of SparseVector into a single SparseVector.
-
Constructor Details
-
MatrixHeapMerger
public MatrixHeapMerger()
-
-
Method Details