Академический Документы
Профессиональный Документы
Культура Документы
6
Partial Orderings
• reflexive
• antisymmetric
and
• transitive
__________________
_________________
Examples:
Note: this implies that <a, s> is not in R for any a unless a
= s. (There is nothing smaller than s under the order R).
___________________
___________________
Examples:
• (N, ≤ ) is well-ordered.
__________________
• x 1 R1 x2
or
• x 1 = x2 and y 1 R 2 y 2.
_________________
Example:
Then
__________________
A 1 × A 2 × A 3 × . . . × A n.
__________________
_______________
Strings
________________
Example:
a R b and b R c.
aabc R abac
_________________
Example:
∅
{a}, {b}, {c}
{a, b, c}
The digraph is
{a, b, c}
{a, b} {b, c}
{a, c}
{a} {c}
{b}
_________________
Proof:
___________________
Example:
_________________
Example:
___________________
Example:
Lattices
__________________
Examples:
2 4
1 3
- 2 is not related to 4
- 4 is not related to 2
Topological Sorting
___________________
___________________
Example:
4 3
5 9
6
8
7
Then 1R2, 1R4, 1R3, 4R9, 4R5, 3R2, 3R9, 3R6, 8R7.
5 9 6 2 7
4 3
1 8
4 3
8
Now draw 4 (or 3 or 8) and delete from the diagram.
Always choose a minimal element. Any one will do.
...and so forth.
_____________________