Package | Description |
---|---|
com.raffaeleconforti.foreignkeydiscovery.functionaldependencies |
Modifier and Type | Method and Description |
---|---|
static ComparableSet<java.lang.String> |
TANEjava.closure(ComparableSet<FunctionalDependency> FD_SET,
ComparableSet<java.lang.String> ATTR_SET)
Computes the closure of an attribute set X under F where F is a set of
functional dependencies.
|
ComparableSet<T> |
ComparableSet.deepCopy()
Makes a copy of the ComparableSet
|
ComparableSet<T> |
ComparableSet.difference(ComparableSet<T> comparableSet)
Returns the mathematical difference of two sets
|
ComparableSet<java.lang.String> |
FunctionalDependency.getX()
Returns the left-hand-side of a functional dependency
|
ComparableSet<java.lang.String> |
FunctionalDependency.getY()
Returns the right-hand-side of a functional dependency
|
ComparableSet<T> |
ComparableSet.intersection(ComparableSet<T> comparableSet)
Returns the mathematical intersection of two sets
|
static ComparableSet<FunctionalDependency> |
TANEjava.minimalCover(ComparableSet<FunctionalDependency> FD_SET)
Computes the minimal cover for a set of functional dependencies.
|
ComparableSet<T> |
ComparableSet.union(ComparableSet<T> comparableSet)
Returns the mathematical union of two sets
|
ComparableSet<T> |
ComparableSet.without(T element)
Removes one element of the set
|
Modifier and Type | Method and Description |
---|---|
void |
FunctionalDependency.addX(ComparableSet<java.lang.String> attribute)
Adds an attribue set to the left-hand-side
|
void |
FunctionalDependency.addY(ComparableSet<java.lang.String> attribute)
Adds an attribue set to the right-hand-side
|
static ComparableSet<java.lang.String> |
TANEjava.closure(ComparableSet<FunctionalDependency> FD_SET,
ComparableSet<java.lang.String> ATTR_SET)
Computes the closure of an attribute set X under F where F is a set of
functional dependencies.
|
static ComparableSet<java.lang.String> |
TANEjava.closure(ComparableSet<FunctionalDependency> FD_SET,
ComparableSet<java.lang.String> ATTR_SET)
Computes the closure of an attribute set X under F where F is a set of
functional dependencies.
|
int |
ComparableSet.compareTo(ComparableSet<T> comparableSet) |
ComparableSet<T> |
ComparableSet.difference(ComparableSet<T> comparableSet)
Returns the mathematical difference of two sets
|
ComparableSet<T> |
ComparableSet.intersection(ComparableSet<T> comparableSet)
Returns the mathematical intersection of two sets
|
boolean |
ComparableSet.isSubset(ComparableSet<T> set)
Returns true if the overgiven set is a subset the set
|
static ComparableSet<FunctionalDependency> |
TANEjava.minimalCover(ComparableSet<FunctionalDependency> FD_SET)
Computes the minimal cover for a set of functional dependencies.
|
ComparableSet<T> |
ComparableSet.union(ComparableSet<T> comparableSet)
Returns the mathematical union of two sets
|