public abstract class Combinator extends Object
| Constructor and Description |
|---|
Combinator() |
| Modifier and Type | Method and Description |
|---|---|
BooleanMatrix |
combineMatrix(BooleanMatrix a,
BooleanMatrix previousCombination,
BooleanMatrix basis,
double onesWeight)
Calculates the combination matrix C, that describes, how each row of the
original matrix A can be expressed as boolean combination of basis
patterns from basis matrix B.
|
protected abstract BooleanMatrix |
combineRow(BooleanMatrix row,
BooleanMatrix previousCombination,
BooleanMatrix basis,
double onesWeight)
Describes a row of the original matrix as combination of basis rows from
the basis matrix.
|
protected abstract BooleanMatrix combineRow(BooleanMatrix row, BooleanMatrix previousCombination, BooleanMatrix basis, double onesWeight)
row - a row from the original matrixpreviousCombination - approximation, already obtained by previous stepsbasis - the basis matrix (with basis patterns as rows)onesWeight - relative weight of 1 -> 0 errorspublic BooleanMatrix combineMatrix(BooleanMatrix a, BooleanMatrix previousCombination, BooleanMatrix basis, double onesWeight)
a - original matrixpreviousCombination - an already calculated approximation of the solution (this
matrix will be modified and returned by the algorithm)basis - basis matrixonesWeight - relative weight of 1 -> 0 errorsCopyright © 2015. All rights reserved.