5.146. elements
DESCRIPTION | LINKS | GRAPH |
- Origin
- Constraint
- Arguments
- Restrictions
- Purpose
All the items of should be equal to one of the entries of the table .
- Example
-
The constraint holds since each item of its first argument corresponds to an item of the collection: the first item of corresponds to the fourth item of , while the second item of corresponds to the first item of .
- Typical
- Symmetries
Items of are permutable.
Items of are permutable.
All occurrences of two distinct values in or can be swapped; all occurrences of a value in or can be renamed to any unused value.
- Arg. properties
Functional dependency: determined by and .
- Usage
Used for replacing several constraints sharing exactly the same table by a single constraint.
- Reformulation
The constraint can be expressed in term of a conjunction of constraints of the form:
Β Β Β
- See also
implied by: , .
- Keywords
constraint arguments: pure functional dependency.
- Cond. implications
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
-
- Graph property(ies)
-
- Graph model
PartsΒ (A) andΒ (B) of FigureΒ 5.146.1 respectively show the initial and final graph associated with the Example slot. Since we use the graph property, the arcs of the final graph are stressed in bold.
Figure 5.146.1. Initial and final graph of the constraint
(a) (b) - Signature
Since all the attributes of collection are distinct and because of the first condition of the arc constraint, a source vertex of the final graph can have at most one successor. Therefore is the maximum number of arcs of the final graph and we can rewrite to . So we can simplify to .