| Package | Description |
|---|---|
| it.uniroma3.mat.extendedset.wrappers.matrix |
| Modifier and Type | Method and Description |
|---|---|
BinaryMatrix |
BinaryMatrix.clone()
See the
clone() of Object |
BinaryMatrix |
BinaryMatrix.complemented()
Generates the complement matrix, namely flipping all the cells.
|
BinaryMatrix |
BinaryMatrix.convert(boolean[][] a)
Converts a given matrix of boolean n x m into an instance
of the current class.
|
BinaryMatrix |
BinaryMatrix.difference(BinaryMatrix other)
Generates the difference matrix
|
BinaryMatrix |
BinaryMatrix.empty()
Generates an empty matrix of the same dimension
|
BinaryMatrix |
BinaryMatrix.intersection(BinaryMatrix other)
Generates the intersection matrix
|
BinaryMatrix |
PairSet.matrix()
Returns the set of indices.
|
BinaryMatrix |
BinaryMatrix.symmetricDifference(BinaryMatrix other)
Generates the symmetric difference matrix
|
BinaryMatrix |
BinaryMatrix.transposed()
Generated a transposed matrix
|
BinaryMatrix |
BinaryMatrix.union(BinaryMatrix other)
Generates the union matrix
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BinaryMatrix.addAll(BinaryMatrix other)
Adds all of the cells in the specified collection to this matrix if
they're not already present.
|
int |
BinaryMatrix.compareTo(BinaryMatrix o) |
boolean |
BinaryMatrix.containsAll(BinaryMatrix other)
Returns true if this matrix contains all of the cells of the
specified collection.
|
boolean |
BinaryMatrix.containsAny(BinaryMatrix other)
Returns
true if the specified BinaryMatrix instance
contains any cell that is also contained within this BinaryMatrix
instance |
boolean |
BinaryMatrix.containsAtLeast(BinaryMatrix other,
int minCells)
Returns
true if the specified BinaryMatrix instance
contains at least minElements cells that are also contained
within this BinaryMatrix instance |
static PairSet<Integer,Integer> |
PairSet.createFromBinaryMatrix(BinaryMatrix b)
Wraps a
BinaryMatrix instance with a PairSet instance. |
BinaryMatrix |
BinaryMatrix.difference(BinaryMatrix other)
Generates the difference matrix
|
int |
BinaryMatrix.differenceSize(BinaryMatrix other)
Computes the difference matrix size.
|
BinaryMatrix |
BinaryMatrix.intersection(BinaryMatrix other)
Generates the intersection matrix
|
int |
BinaryMatrix.intersectionSize(BinaryMatrix other)
Computes the intersection matrix size.
|
boolean |
BinaryMatrix.removeAll(BinaryMatrix other)
Removes from this matrix all of its cells that are contained in the
specified collection.
|
boolean |
BinaryMatrix.retainAll(BinaryMatrix other)
Retains only the cells in this matrix that are contained in the specified
collection.
|
BinaryMatrix |
BinaryMatrix.symmetricDifference(BinaryMatrix other)
Generates the symmetric difference matrix
|
int |
BinaryMatrix.symmetricDifferenceSize(BinaryMatrix other)
Computes the symmetric difference matrix size.
|
BinaryMatrix |
BinaryMatrix.union(BinaryMatrix other)
Generates the union matrix
|
int |
BinaryMatrix.unionSize(BinaryMatrix other)
Computes the union matrix size.
|
| Constructor and Description |
|---|
PairSet(BinaryMatrix matrix,
Collection<? extends Pair<T,I>> pairs)
Converts a generic collection of transaction-item pairs to a
PairSet instance. |
PairSet(BinaryMatrix matrix,
Collection<T> transactions,
Collection<I> items)
Initializes the set by specifying all possible transactions and items.
|
PairSet(BinaryMatrix matrix,
Object[][] pairs)
Initializes the set by specifying all possible transactions and items.
|
Copyright © 2016. All rights reserved.