Class AbstractMatrixAbstraction<E>
- java.lang.Object
-
- org.processmining.logabstractions.models.abstr.AbstractAbstraction<E>
-
- org.processmining.logabstractions.models.abstr.AbstractMatrixAbstraction<E>
-
- All Implemented Interfaces:
Abstraction<E>,MatrixAbstraction<E>
- Direct Known Subclasses:
CausalPrecedenceAbstractionImpl,CausalRelationAbstractionImpl,CausalSuccessionAbstractionImpl,DirectlyFollowsAbstractionImpl,EventuallyFollowsAbstractionImpl,LengthTwoLoopAbstractionImpl,LongTermFollowsAbstractionImpl,MendaciousAbstractionImpl,ParallelAbstractionImpl,TwoWayLengthTwoLoopAbstractionImpl,UnrelatedAbstractionImpl
public abstract class AbstractMatrixAbstraction<E> extends AbstractAbstraction<E> implements MatrixAbstraction<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractMatrixAbstraction(E[] eventClasses, double[][] matrix, double threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<E>getAllGeqForColumn(int c)java.util.Collection<E>getAllGeqForColumn(E t)java.util.Collection<E>getAllGeqForColumns(int[] cols)java.util.Collection<E>getAllGeqForColumns(java.util.Collection<E> coll)java.util.Collection<E>getAllGeqForRow(int r)java.util.Collection<E>getAllGeqForRow(E t)java.util.Collection<E>getAllGeqForRows(int[] rows)java.util.Collection<E>getAllGeqForRows(java.util.Collection<E> 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()intgetNumberOfColumns()intgetNumberOfRows()double[]getRow(int r)doublegetThreshold()doublegetValue(int row, int col)doublegetValue(E row, E col)booleanholds(int r, int c)booleanholds(E r, E c)-
Methods inherited from class org.processmining.logabstractions.models.abstr.AbstractAbstraction
getEventClass, getEventClasses, getIndex
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.logabstractions.models.Abstraction
getEventClass, getEventClasses, getIndex
-
-
-
-
Constructor Detail
-
AbstractMatrixAbstraction
public AbstractMatrixAbstraction(E[] eventClasses, double[][] matrix, double threshold)
-
-
Method Detail
-
getAllGeqForColumn
public java.util.Collection<E> getAllGeqForColumn(E t)
- Specified by:
getAllGeqForColumnin interfaceMatrixAbstraction<E>
-
getAllGeqForColumn
public java.util.Collection<E> getAllGeqForColumn(int c)
- Specified by:
getAllGeqForColumnin interfaceMatrixAbstraction<E>
-
getAllGeqForColumns
public java.util.Collection<E> getAllGeqForColumns(java.util.Collection<E> coll)
- Specified by:
getAllGeqForColumnsin interfaceMatrixAbstraction<E>
-
getAllGeqForColumns
public java.util.Collection<E> getAllGeqForColumns(int[] cols)
- Specified by:
getAllGeqForColumnsin interfaceMatrixAbstraction<E>
-
getAllGeqForRow
public java.util.Collection<E> getAllGeqForRow(E t)
- Specified by:
getAllGeqForRowin interfaceMatrixAbstraction<E>
-
getAllGeqForRow
public java.util.Collection<E> getAllGeqForRow(int r)
- Specified by:
getAllGeqForRowin interfaceMatrixAbstraction<E>
-
getAllGeqForRows
public java.util.Collection<E> getAllGeqForRows(java.util.Collection<E> rows)
- Specified by:
getAllGeqForRowsin interfaceMatrixAbstraction<E>
-
getAllGeqForRows
public java.util.Collection<E> getAllGeqForRows(int[] rows)
- Specified by:
getAllGeqForRowsin interfaceMatrixAbstraction<E>
-
getAllGEQThreshold
public java.util.Collection<org.processmining.framework.util.Pair<E,E>> getAllGEQThreshold()
- Specified by:
getAllGEQThresholdin interfaceMatrixAbstraction<E>
-
getAllIndicesGeqForColumn
public int[] getAllIndicesGeqForColumn(int column)
- Specified by:
getAllIndicesGeqForColumnin interfaceMatrixAbstraction<E>
-
getAllIndicesGeqForRow
public int[] getAllIndicesGeqForRow(int row)
- Specified by:
getAllIndicesGeqForRowin interfaceMatrixAbstraction<E>
-
getAllLessThanThreshold
public java.util.Collection<org.processmining.framework.util.Pair<E,E>> getAllLessThanThreshold()
- Specified by:
getAllLessThanThresholdin interfaceMatrixAbstraction<E>
-
getMatrix
public double[][] getMatrix()
- Specified by:
getMatrixin interfaceMatrixAbstraction<E>
-
getNumberOfColumns
public int getNumberOfColumns()
- Specified by:
getNumberOfColumnsin interfaceMatrixAbstraction<E>
-
getNumberOfRows
public int getNumberOfRows()
- Specified by:
getNumberOfRowsin interfaceMatrixAbstraction<E>
-
getRow
public double[] getRow(int r)
- Specified by:
getRowin interfaceMatrixAbstraction<E>
-
getThreshold
public double getThreshold()
- Specified by:
getThresholdin interfaceMatrixAbstraction<E>
-
getValue
public double getValue(E row, E col)
- Specified by:
getValuein interfaceMatrixAbstraction<E>
-
getValue
public double getValue(int row, int col)- Specified by:
getValuein interfaceMatrixAbstraction<E>
-
holds
public boolean holds(E r, E c)
- Specified by:
holdsin interfaceMatrixAbstraction<E>
-
holds
public boolean holds(int r, int c)- Specified by:
holdsin interfaceMatrixAbstraction<E>
-
-