| Package | Description |
|---|---|
| it.uniroma3.mat.extendedset.intset | |
| it.uniroma3.mat.extendedset.utilities | |
| it.uniroma3.mat.extendedset.wrappers | |
| it.uniroma3.mat.extendedset.wrappers.matrix |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIntSet
This class provides a skeletal implementation of the
IntSet
interface to minimize the effort required to implement this interface. |
class |
ArraySet
IntSet-based class internally managed by a sorted array of
ints. |
class |
ConciseSet
This is CONCISE: COmpressed 'N' Composable Integer SEt.
|
class |
FastSet
An
IntSet implementation, representing a set of integers, based on an
uncompressed bitmap. |
class |
HashIntSet
Implements a fast hash-set.
|
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntSet.clone()
See the
clone() of Object |
abstract IntSet |
AbstractIntSet.clone()
See the
clone() of Object |
IntSet |
IntSet.complemented()
Generates the complement set.
|
IntSet |
AbstractIntSet.complemented()
Generates the complement set.
|
IntSet |
IntSet.convert(Collection<Integer> c)
Converts a given collection into an instance of the current class.
|
abstract IntSet |
AbstractIntSet.convert(Collection<Integer> c)
Converts a given collection into an instance of the current class.
|
IntSet |
IntSet.convert(int... a)
Converts a given array into an instance of the current class.
|
abstract IntSet |
AbstractIntSet.convert(int... a)
Converts a given array into an instance of the current class.
|
IntSet |
IntSet.difference(IntSet other)
Generates the difference set
|
IntSet |
AbstractIntSet.difference(IntSet other)
Generates the difference set
|
IntSet |
IntSet.empty()
Generates an empty set
|
abstract IntSet |
AbstractIntSet.empty()
Generates an empty set
|
IntSet |
IntSet.intersection(IntSet other)
Generates the intersection set
|
IntSet |
AbstractIntSet.intersection(IntSet other)
Generates the intersection set
|
IntSet |
IntSet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
IntSet |
AbstractIntSet.symmetricDifference(IntSet c)
Generates the symmetric difference set
|
IntSet |
IntSet.union(IntSet other)
Generates the union set
|
IntSet |
AbstractIntSet.union(IntSet other)
Generates the union set
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends IntSet> |
IntSet.powerSet()
Computes the power-set of the current set.
|
List<? extends IntSet> |
AbstractIntSet.powerSet()
Computes the power-set of the current set.
|
List<? extends IntSet> |
IntSet.powerSet(int min,
int max)
Computes a subset of the power-set of the current set, composed by those
subsets that have cardinality between
min and
max. |
List<? extends IntSet> |
AbstractIntSet.powerSet(int min,
int max)
Computes a subset of the power-set of the current set, composed by those
subsets that have cardinality between
min and
max. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IntSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
boolean |
HashIntSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
boolean |
FastSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
boolean |
ConciseSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
boolean |
ArraySet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
boolean |
AbstractIntSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
int |
FastSet.compareTo(IntSet o) |
int |
ConciseSet.compareTo(IntSet o) |
int |
AbstractIntSet.compareTo(IntSet o) |
boolean |
IntSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
HashIntSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
FastSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
ConciseSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
ArraySet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
AbstractIntSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
IntSet.containsAny(IntSet other)
|
boolean |
HashIntSet.containsAny(IntSet c)
|
boolean |
FastSet.containsAny(IntSet c)
|
boolean |
ConciseSet.containsAny(IntSet c)
|
boolean |
ArraySet.containsAny(IntSet other)
|
boolean |
AbstractIntSet.containsAny(IntSet c)
|
boolean |
IntSet.containsAtLeast(IntSet other,
int minElements)
|
boolean |
HashIntSet.containsAtLeast(IntSet c,
int minElements)
|
boolean |
FastSet.containsAtLeast(IntSet c,
int minElements)
|
boolean |
ConciseSet.containsAtLeast(IntSet c,
int minElements)
|
boolean |
ArraySet.containsAtLeast(IntSet other,
int minElements)
|
boolean |
AbstractIntSet.containsAtLeast(IntSet c,
int minElements)
|
IntSet |
IntSet.difference(IntSet other)
Generates the difference set
|
HashIntSet |
HashIntSet.difference(IntSet other)
Generates the difference set
|
FastSet |
FastSet.difference(IntSet other)
Generates the difference set
|
ConciseSet |
ConciseSet.difference(IntSet other)
Generates the difference set
|
ArraySet |
ArraySet.difference(IntSet other)
Generates the difference set
|
IntSet |
AbstractIntSet.difference(IntSet other)
Generates the difference set
|
int |
IntSet.differenceSize(IntSet other)
Computes the difference set size.
|
int |
AbstractIntSet.differenceSize(IntSet other)
Computes the difference set size.
|
IntSet |
IntSet.intersection(IntSet other)
Generates the intersection set
|
HashIntSet |
HashIntSet.intersection(IntSet other)
Generates the intersection set
|
FastSet |
FastSet.intersection(IntSet other)
Generates the intersection set
|
ConciseSet |
ConciseSet.intersection(IntSet other)
Generates the intersection set
|
ArraySet |
ArraySet.intersection(IntSet other)
Generates the intersection set
|
IntSet |
AbstractIntSet.intersection(IntSet other)
Generates the intersection set
|
int |
IntSet.intersectionSize(IntSet other)
Computes the intersection set size.
|
int |
HashIntSet.intersectionSize(IntSet c)
Computes the intersection set size.
|
int |
FastSet.intersectionSize(IntSet c)
Computes the intersection set size.
|
int |
ConciseSet.intersectionSize(IntSet o)
Computes the intersection set size.
|
int |
ArraySet.intersectionSize(IntSet other)
Computes the intersection set size.
|
int |
AbstractIntSet.intersectionSize(IntSet c)
Computes the intersection set size.
|
double |
IntSet.jaccardDistance(IntSet other)
Computes the Jaccard distance between this set and the given set.
|
double |
AbstractIntSet.jaccardDistance(IntSet other)
Computes the Jaccard distance between this set and the given set.
|
double |
IntSet.jaccardSimilarity(IntSet other)
Computes the Jaccard similarity coefficient between this set and the
given set.
|
double |
AbstractIntSet.jaccardSimilarity(IntSet other)
Computes the Jaccard similarity coefficient between this set and the
given set.
|
boolean |
IntSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
HashIntSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
FastSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
ConciseSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
ArraySet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
AbstractIntSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
IntSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
boolean |
HashIntSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
boolean |
FastSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
boolean |
ConciseSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
boolean |
ArraySet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
boolean |
AbstractIntSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
IntSet |
IntSet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
HashIntSet |
HashIntSet.symmetricDifference(IntSet c)
Generates the symmetric difference set
|
FastSet |
FastSet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
ConciseSet |
ConciseSet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
ArraySet |
ArraySet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
IntSet |
AbstractIntSet.symmetricDifference(IntSet c)
Generates the symmetric difference set
|
int |
IntSet.symmetricDifferenceSize(IntSet other)
Computes the symmetric difference set size.
|
int |
AbstractIntSet.symmetricDifferenceSize(IntSet other)
Computes the symmetric difference set size.
|
IntSet |
IntSet.union(IntSet other)
Generates the union set
|
HashIntSet |
HashIntSet.union(IntSet other)
Generates the union set
|
FastSet |
FastSet.union(IntSet other)
Generates the union set
|
ConciseSet |
ConciseSet.union(IntSet other)
Generates the union set
|
ArraySet |
ArraySet.union(IntSet other)
Generates the union set
|
IntSet |
AbstractIntSet.union(IntSet other)
Generates the union set
|
int |
IntSet.unionSize(IntSet other)
Computes the union set size.
|
int |
AbstractIntSet.unionSize(IntSet other)
Computes the union set size.
|
double |
IntSet.weightedJaccardDistance(IntSet other)
Computes the weighted version of the Jaccard distance between this set
and the given set.
|
double |
AbstractIntSet.weightedJaccardDistance(IntSet other)
Computes the weighted version of the Jaccard distance between this set
and the given set.
|
double |
IntSet.weightedJaccardSimilarity(IntSet other)
Computes the weighted version of the Jaccard similarity coefficient
between this set and the given set.
|
double |
AbstractIntSet.weightedJaccardSimilarity(IntSet other)
Computes the weighted version of the Jaccard similarity coefficient
between this set and the given set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IntSetStatistics
A wrapper class for classes that implement the
IntSet interface to count method calls |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntSetStatistics.clone()
See the
clone() of Object |
IntSet |
IntSetStatistics.complemented()
Generates the complement set.
|
IntSet |
IntSetStatistics.convert(Collection<Integer> c)
Converts a given collection into an instance of the current class.
|
IntSet |
IntSetStatistics.convert(int... a)
Converts a given array into an instance of the current class.
|
IntSet |
IntSetStatistics.difference(IntSet other)
Generates the difference set
|
IntSet |
IntSetStatistics.empty()
Generates an empty set
|
static IntSet |
IntSetStatistics.extractContainer(IntSet c)
Removes the
IntSetStatistics wrapper |
IntSet |
IntSetStatistics.intersection(IntSet other)
Generates the intersection set
|
IntSet |
IntSetStatistics.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
IntSet |
IntSetStatistics.union(IntSet other)
Generates the union set
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends IntSet> |
IntSetStatistics.powerSet()
Computes the power-set of the current set.
|
List<? extends IntSet> |
IntSetStatistics.powerSet(int min,
int max)
Computes a subset of the power-set of the current set, composed by those
subsets that have cardinality between
min and
max. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IntSetStatistics.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
int |
IntSetStatistics.compareTo(IntSet o) |
boolean |
IntSetStatistics.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
IntSetStatistics.containsAny(IntSet other)
|
boolean |
IntSetStatistics.containsAtLeast(IntSet other,
int minElements)
|
IntSet |
IntSetStatistics.difference(IntSet other)
Generates the difference set
|
int |
IntSetStatistics.differenceSize(IntSet other)
Computes the difference set size.
|
static IntSet |
IntSetStatistics.extractContainer(IntSet c)
Removes the
IntSetStatistics wrapper |
IntSet |
IntSetStatistics.intersection(IntSet other)
Generates the intersection set
|
int |
IntSetStatistics.intersectionSize(IntSet other)
Computes the intersection set size.
|
double |
IntSetStatistics.jaccardDistance(IntSet other)
Computes the Jaccard distance between this set and the given set.
|
double |
IntSetStatistics.jaccardSimilarity(IntSet other)
Computes the Jaccard similarity coefficient between this set and the
given set.
|
boolean |
IntSetStatistics.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
IntSetStatistics.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
IntSet |
IntSetStatistics.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
int |
IntSetStatistics.symmetricDifferenceSize(IntSet other)
Computes the symmetric difference set size.
|
IntSet |
IntSetStatistics.union(IntSet other)
Generates the union set
|
int |
IntSetStatistics.unionSize(IntSet other)
Computes the union set size.
|
double |
IntSetStatistics.weightedJaccardDistance(IntSet other)
Computes the weighted version of the Jaccard distance between this set
and the given set.
|
double |
IntSetStatistics.weightedJaccardSimilarity(IntSet other)
Computes the weighted version of the Jaccard similarity coefficient
between this set and the given set.
|
| Constructor and Description |
|---|
IntSetStatistics(IntSet container)
Wraps an
IntSet instance with an IntSetStatistics
instance |
| Modifier and Type | Field and Description |
|---|---|
protected IntSet |
LongSet.ExtendedLongIterator.current |
| Modifier and Type | Field and Description |
|---|---|
protected Iterator<Map.Entry<Long,IntSet>> |
LongSet.ExtendedLongIterator.otherItrs |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
LongSet.emptyBlock() |
IntSet |
IndexedSet.indices()
Returns the set of indices.
|
IntSet |
IntegerSet.intSet() |
| Constructor and Description |
|---|
IndexedSet(IntSet indices,
Collection<T> universe)
Creates an empty
IndexedSet based on a given collection that
represents the set of all possible items that can be added to the
IndexedSet instance. |
IntegerSet(IntSet items)
Wraps an instance of
IntSet |
LongSet(IntSet block)
Creates an empty set
|
| Modifier and Type | Method and Description |
|---|---|
IntSet |
BinaryMatrix.emptyRow() |
IntSet |
BinaryMatrix.getCol(int col)
Gets a copy of the column with the given index
|
IntSet |
BinaryMatrix.getRow(int row)
Gets a copy of the row with the given index
|
IntSet |
BinaryMatrix.involvedCols() |
IntSet |
BinaryMatrix.involvedRows() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BinaryMatrix.addAll(int row,
IntSet cols)
Adds the specified cells to this matrix, if not already present.
|
boolean |
BinaryMatrix.addAll(IntSet rowSet,
int col)
Adds the specified cells to this matrix, if not already present.
|
boolean |
BinaryMatrix.addAll(IntSet rowSet,
IntSet colSet)
Adds the specified cells to this matrix, if not already present.
|
boolean |
BinaryMatrix.containsAll(int row,
IntSet colSet)
Returns true if this matrix contains all of the cells of the
specified collection.
|
boolean |
BinaryMatrix.containsAll(IntSet rowSet,
int col)
Returns true if this matrix contains all of the cells of the
specified collection.
|
boolean |
BinaryMatrix.containsAll(IntSet rowSet,
IntSet colSet)
Returns true if this matrix contains all of the cells of the
specified collection.
|
boolean |
BinaryMatrix.removeAll(int row,
IntSet cols)
Removes the specified cells from this matrix.
|
boolean |
BinaryMatrix.removeAll(IntSet rowSet,
int col)
Removes the specified cells from this matrix.
|
boolean |
BinaryMatrix.removeAll(IntSet rowSet,
IntSet colSet)
Removes the specified cells from this matrix.
|
boolean |
BinaryMatrix.retainAll(int row,
IntSet cols)
Retains the specified cells from this matrix.
|
boolean |
BinaryMatrix.retainAll(IntSet rowSet,
int col)
Removes the specified cells from this matrix.
|
boolean |
BinaryMatrix.retainAll(IntSet rowSet,
IntSet colSet)
Removes the specified cells from this matrix.
|
| Constructor and Description |
|---|
BinaryMatrix(IntSet template)
Creates an empty matrix.
|
Copyright © 2016. All rights reserved.