org.eclipse.incquery.runtime.matchers.planning.helpers

## Class FunctionalDependencyHelper

- java.lang.Object
- - org.eclipse.incquery.runtime.matchers.planning.helpers.FunctionalDependencyHelper

-     public class FunctionalDependencyHelper
      extends java.lang.Object

  Helper utility class for functional dependency analysis. Throughout this class attribute sets are represented as generic sets and functional dependencies as maps from attribute set (generic sets) to attribute set (generic sets)
  Author:
    Adam Dudas

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FunctionalDependencyHelper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <A> java.util.Set<A>` | `closureOf(java.util.Collection<A> attributes, java.util.Map<java.util.Set<A>,java.util.Set<A>> dependencies)` Get the closure of the specified attribute set relative to the specified functional dependencies.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FunctionalDependencyHelper

          public FunctionalDependencyHelper()

  - ### Method Detail

    - #### closureOf

          public static <A> java.util.Set<A> closureOf(java.util.Collection<A> attributes,
                                                       java.util.Map<java.util.Set<A>,java.util.Set<A>> dependencies)

      Get the closure of the specified attribute set relative to the specified functional dependencies.
      Parameters:
        `attributes` - The attributes to get the closure of.
        `dependencies` - The functional dependencies of which the closure operation is relative to.
      Returns:
        The closure of the specified attribute set relative to the specified functional dependencies.