Package | Description |
---|---|
org.mathIT.algebra |
Provides classes for algebra and linear algebra.
|
org.mathIT.graphs |
Provides classes representing mathematical graphs and its vertices.
|
Modifier and Type | Method and Description |
---|---|
OrderedSet<E> |
OrderedSet.copy()
Creates and returns a clone copy of this set.
|
static <E extends Comparable<E>> |
OrderedSet.emptySet()
Returns the empty set.
|
static <E extends Comparable<E>> |
OrderedSet.emptySet(OrderedSet<E> set)
Returns the empty set.
|
OrderedSet<E> |
OrderedSet.intersect(ArrayList<? extends SortedSet<E>> sets)
Returns the intersection of this set and the specified set list.
|
OrderedSet<E> |
OrderedSet.intersect(SortedSet<E> set)
Returns the intersection of this set and the specified set.
|
OrderedSet<E> |
OrderedSet.minus(E element)
Returns the set difference of this set minus the specified element.
|
OrderedSet<E> |
OrderedSet.minus(SortedSet<E> minuend)
Returns the set difference of this set minus the specified minuend.
|
OrderedSet<E> |
OrderedSet.unify(ArrayList<? extends SortedSet<E>> sets)
Returns the union of this set and the specified set list.
|
OrderedSet<E> |
OrderedSet.unify(SortedSet<E> set)
Returns the union of this set and the specified set.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<MathSet<OrderedSet<E>>> |
OrderedSet.partitions()
Returns a list of partitions of this set.
|
static <E extends Comparable<E>> |
OrderedSet.partitions(OrderedSet<E> set)
Returns a list of partitions of the specified set.
|
ArrayList<OrderedSet<E>> |
OrderedSet.subsets(int k)
Returns the k-element subsets of this set,
i.e., each of its k-element combination, stored in an array list.
|
static <E extends Comparable<E>> |
OrderedSet.subsets(SortedSet<E> set,
int k)
Returns the k-element subsets of a set s,
i.e., each k-element combination of s,
stored in an array list.
|
Modifier and Type | Method and Description |
---|---|
static <E extends Comparable<E>> |
OrderedSet.emptySet(OrderedSet<E> set)
Returns the empty set.
|
static <E extends Comparable<E>> |
OrderedSet.partitions(OrderedSet<E> set)
Returns a list of partitions of the specified set.
|
Modifier and Type | Method and Description |
---|---|
OrderedSet<Integer> |
Clustering.get(int index)
Returns the cluster with the specified index of this clustering,
represented as the set consisting of the indices
of its vertices.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<OrderedSet<Integer>> |
Clustering.getClusters()
Returns a list of the clusters of this clustering.
|
Constructor and Description |
---|
Clustering(ArrayList<OrderedSet<Integer>> clusters)
Generates a clustering with the specified set of clusters.
|