Relations, properties of relations. Equivalence relations. Partial orderings презентация

Содержание

Слайд 2

Relations

 

Слайд 3

Relations

 

Слайд 4

Relations

 

Слайд 5

Relations

 

Слайд 6

Relations

We can use the concept of a directed graph to describe the ordered

pairs belonging to a given binary relation.

Слайд 7

Relations

 

Слайд 8

 


1 2
3 4
5 6
7

Слайд 9

Relations

 

Слайд 10

Properties of relations

 

Слайд 11

Properties of relations

 

Слайд 12

Properties of relations

 

Слайд 13

Properties of relations

 

Слайд 14

Properties of relations

 

Слайд 15

Properties of relations

 

Слайд 16

Properties of relations

 

Слайд 17

Properties of relations

 

Слайд 18

Properties of relations

 

Слайд 19

Properties of relations

 

Слайд 20

Equivalence relation

 

Слайд 21

Equivalence relation

 

Слайд 22

Equivalence relation

 

Слайд 23

Equivalence relation

 

Слайд 24

Equivalence relation

 

Слайд 25

Equivalence relation

 

Слайд 26

Equivalence relation

 

Слайд 27

Equivalence relation

 

Слайд 28

Equivalence relation

 

Слайд 29

Equivalence relation

 

Слайд 30

Equivalence relation

 

Слайд 31

Equivalence relation

 

Слайд 32

Equivalence relation

 

Слайд 33

Equivalence relation

 

Слайд 34

Equivalence relation

 

Слайд 38

Equivalence relation

 

Слайд 39

Equivalence relation

 

Слайд 40

Equivalence relation

 

Слайд 41

Equivalence relation

 

Слайд 43

Partial Orderings

 

Слайд 44

Partial Orderings

 

Слайд 45

Partial Orderings

Example 2
The divisibility relation| is a partial ordering on the set of

positive integers, because it is reflexive, antisymmetric, and transitive.

Слайд 46

Partial Orderings

 

Слайд 47

Partial Orderings

 

Слайд 48

Partial Orderings

 

Слайд 49

Partial Orderings

 

Слайд 50

Partial Orderings

 

Слайд 51

Partial Orderings

 

Слайд 52

 


Start with the directed graph for this relation.

3

4

2

1

Слайд 53

 


Remove all loops.

3

4

2

1

Слайд 54

 


Remove all loops.

3

4

2

1

Слайд 55

 


 

3

4

2

1

Слайд 56

 


 

3

4

2

1

Слайд 57

 


Remove all the arrows on the directed edges, because all edges point

“upward” toward their terminal vertex.

3

4

2

1

Слайд 58

 


Remove all the arrows on the directed edges, because all edges point

“upward” toward their terminal vertex.

3

4

2

1

Слайд 59

 

12

6

3

1

8

12

4

2

Слайд 60

 

 

 

 

 

 

 

 

 

Слайд 61

Maximal and minimal elements

 

Слайд 62

Maximal and minimal elements

Maximal and minimal elements are easy to spot using a

Hasse diagram.
They are the “top” and “bottom” elements in the diagram.

Слайд 63

 

The maximal elements are 8, 12, and the minimal element is 1.

12

6

3

1

8

12

4

2

Слайд 64

 

 

 

 

 

 

 

 

 

 

Слайд 65

Topological sorting

 

Слайд 66

Topological sorting

 

Слайд 67

Topological sorting

 

Слайд 68

The topological sorting algorithm

 

Слайд 69

The topological sorting algorithm

 

Слайд 70

The topological sorting algorithm

 

20

2

5

20

12

4

1

Слайд 71

The topological sorting algorithm

 

20

2

5

20

12

4

1

Слайд 72

The topological sorting algorithm

 

20

2

5

20

12

4

Слайд 73

The topological sorting algorithm

 

20

2

5

20

12

4

Слайд 74

The topological sorting algorithm

 

20

2

20

12

4

Слайд 75

The topological sorting algorithm

 

20

2

20

12

4

Слайд 76

The topological sorting algorithm

 

20

20

12

4

Слайд 77

The topological sorting algorithm

 

20

20

12

4

Слайд 78

The topological sorting algorithm

 

20

20

12

Слайд 79

The topological sorting algorithm

 

20

20

12

Слайд 80

The topological sorting algorithm

 

12

Слайд 81

The topological sorting algorithm

 

Слайд 82

The topological sorting algorithm

 

Слайд 83

The topological sorting algorithm

Example 8
Find a compatible total ordering for the poset.

 

 

 

 

 

12

 

 

Слайд 84

The topological sorting algorithm

 

 

 

 

 

 

12

 

 

Слайд 85

The topological sorting algorithm

 

 

 

 

 

 

12

 

Слайд 86

The topological sorting algorithm

 

 

 

 

 

 

12

 

Слайд 87

The topological sorting algorithm

 

 

 

 

 

 

12

Слайд 88

The topological sorting algorithm

 

 

 

 

 

 

12

Слайд 89

The topological sorting algorithm

 

 

 

 

 

12

Слайд 90

The topological sorting algorithm

 

 

 

 

 

12

Слайд 91

The topological sorting algorithm

 

 

 

 

12

Слайд 92

The topological sorting algorithm

 

 

 

 

12

Слайд 93

The topological sorting algorithm

 

 

 

12

Слайд 94

The topological sorting algorithm

 

 

 

12

Слайд 95

The topological sorting algorithm

 

 

12

Имя файла: Relations,-properties-of-relations.-Equivalence-relations.-Partial-orderings.pptx
Количество просмотров: 203
Количество скачиваний: 0