public abstract class AbstractMatrixAbstraction<E> extends AbstractAbstraction<E> implements MatrixAbstraction<E>
Constructor and Description |
---|
AbstractMatrixAbstraction(E[] eventClasses,
double[][] matrix,
double threshold) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<E> |
getAllGeqForColumn(E t) |
java.util.Collection<E> |
getAllGeqForColumn(int c) |
java.util.Collection<E> |
getAllGeqForColumns(java.util.Collection<E> coll) |
java.util.Collection<E> |
getAllGeqForColumns(int[] cols) |
java.util.Collection<E> |
getAllGeqForRow(E t) |
java.util.Collection<E> |
getAllGeqForRow(int r) |
java.util.Collection<E> |
getAllGeqForRows(java.util.Collection<E> rows) |
java.util.Collection<E> |
getAllGeqForRows(int[] rows) |
java.util.Collection<org.processmining.framework.util.Pair<E,E>> |
getAllGEQThreshold() |
int[] |
getAllIndicesGeqForColumn(int column) |
int[] |
getAllIndicesGeqForRow(int row) |
java.util.Collection<org.processmining.framework.util.Pair<E,E>> |
getAllLessThanThreshold() |
double[][] |
getMatrix() |
int |
getNumberOfColumns() |
int |
getNumberOfRows() |
double[] |
getRow(int r) |
double |
getThreshold() |
double |
getValue(E row,
E col) |
double |
getValue(int row,
int col) |
boolean |
holds(E r,
E c) |
boolean |
holds(int r,
int c) |
getEventClass, getEventClasses, getIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventClass, getEventClasses, getIndex
public AbstractMatrixAbstraction(E[] eventClasses, double[][] matrix, double threshold)
public java.util.Collection<E> getAllGeqForColumn(E t)
getAllGeqForColumn
in interface MatrixAbstraction<E>
public java.util.Collection<E> getAllGeqForColumn(int c)
getAllGeqForColumn
in interface MatrixAbstraction<E>
public java.util.Collection<E> getAllGeqForColumns(java.util.Collection<E> coll)
getAllGeqForColumns
in interface MatrixAbstraction<E>
public java.util.Collection<E> getAllGeqForColumns(int[] cols)
getAllGeqForColumns
in interface MatrixAbstraction<E>
public java.util.Collection<E> getAllGeqForRow(E t)
getAllGeqForRow
in interface MatrixAbstraction<E>
public java.util.Collection<E> getAllGeqForRow(int r)
getAllGeqForRow
in interface MatrixAbstraction<E>
public java.util.Collection<E> getAllGeqForRows(java.util.Collection<E> rows)
getAllGeqForRows
in interface MatrixAbstraction<E>
public java.util.Collection<E> getAllGeqForRows(int[] rows)
getAllGeqForRows
in interface MatrixAbstraction<E>
public java.util.Collection<org.processmining.framework.util.Pair<E,E>> getAllGEQThreshold()
getAllGEQThreshold
in interface MatrixAbstraction<E>
public int[] getAllIndicesGeqForColumn(int column)
getAllIndicesGeqForColumn
in interface MatrixAbstraction<E>
public int[] getAllIndicesGeqForRow(int row)
getAllIndicesGeqForRow
in interface MatrixAbstraction<E>
public java.util.Collection<org.processmining.framework.util.Pair<E,E>> getAllLessThanThreshold()
getAllLessThanThreshold
in interface MatrixAbstraction<E>
public double[][] getMatrix()
getMatrix
in interface MatrixAbstraction<E>
public int getNumberOfColumns()
getNumberOfColumns
in interface MatrixAbstraction<E>
public int getNumberOfRows()
getNumberOfRows
in interface MatrixAbstraction<E>
public double[] getRow(int r)
getRow
in interface MatrixAbstraction<E>
public double getThreshold()
getThreshold
in interface MatrixAbstraction<E>
public double getValue(E row, E col)
getValue
in interface MatrixAbstraction<E>
public double getValue(int row, int col)
getValue
in interface MatrixAbstraction<E>
public boolean holds(E r, E c)
holds
in interface MatrixAbstraction<E>
public boolean holds(int r, int c)
holds
in interface MatrixAbstraction<E>