当前位置:网站首页>[set theory] relational closure (reflexive closure | symmetric closure | transitive closure)
[set theory] relational closure (reflexive closure | symmetric closure | transitive closure)
2022-07-03 05:38:00 【Programmer community】
List of articles
- One 、 Relational closure
- Two 、 Reflexive closure
- 3、 ... and 、 Symmetric closure
- Four 、 Pass closures
One 、 Relational closure
Contains the given element , also Have specified properties Of The smallest aggregate , It is called the closure of relation ; The nature of this designation is relation
R
R
R
Reflexive closure r ( R ) : contain
R
R
R Relationship , towards
R
R
R In relationship , Add ordered pairs , become introspect Of The smallest binary relation
Symmetric closure s ( R ) : contain
R
R
R Relationship , towards
R
R
R In relationship , Add ordered pairs , become symmetry Of The smallest binary relation
Pass closures t ( R ) : contain
R
R
R Relationship , towards
R
R
R In relationship , Add ordered pairs , Turn into transmission Of The smallest binary relation
There are three important elements in the definition :
- Contains the given element
- Have specified properties
- The smallest binary relation
Two 、 Reflexive closure
Reflexive closure r ( R ) : contain
R
R
R Relationship , towards
R
R
R In relationship , Add ordered pairs , become introspect Of The smallest binary relation
R
⊆
r
(
R
)
R \subseteq r(R)
R⊆r(R)
r
(
R
)
r(R)
r(R) It's reflexive
∀
S
(
(
R
⊆
S
∧
S
since
back
)
→
r
(
R
)
⊆
S
)
\forall S ( ( R \subseteq S\land S introspect ) \to r(R) \subseteq S)
∀S((R⊆S∧S since back )→r(R)⊆S)
Relationship
R
R
R Diagram for
G
(
R
)
G(R)
G(R) :

R
R
R Reflexive closure of
G
(
r
(
R
)
)
G(r ( R ))
G(r(R)) The diagram : stay
R
R
R On the basis of , Add some ordered pairs , send
r
(
R
)
r(R)
r(R) become introspect Of The smallest binary relation , The reflexive condition is that all vertices have rings , Here we add rings for all four vertices ;

3、 ... and 、 Symmetric closure
Reflexive closure r ( R ) : contain
R
R
R Relationship , towards
R
R
R In relationship , Add ordered pairs , become symmetry Of The smallest binary relation
R
⊆
s
(
R
)
R \subseteq s(R)
R⊆s(R)
s
(
R
)
s(R)
s(R) It's symmetrical
∀
S
(
(
R
⊆
S
∧
S
Yes
call
)
→
r
(
R
)
⊆
S
)
\forall S ( ( R \subseteq S\land S symmetry ) \to r(R) \subseteq S)
∀S((R⊆S∧S Yes call )→r(R)⊆S)
Relationship
R
R
R Diagram for
G
(
R
)
G(R)
G(R) :

R
R
R Symmetric closure of
G
(
s
(
R
)
)
G(s ( R ))
G(s(R)) The diagram : stay
R
R
R On the basis of , Add some ordered pairs , send
s
(
R
)
s(R)
s(R) become symmetry Of The smallest binary relation , The condition of symmetry is Between any two vertices
0
/
2
0/2
0/2 The strip has a directed edge , Yes
0
0
0 Regardless of the edge , Yes
1
1
1 Add a reverse directed edge ;

Four 、 Pass closures
Reflexive closure r ( R ) : contain
R
R
R Relationship , towards
R
R
R In relationship , Add ordered pairs , become Pass on Of The smallest binary relation
R
⊆
t
(
R
)
R \subseteq t(R)
R⊆t(R)
t
(
R
)
t(R)
t(R) It's symmetrical
∀
S
(
(
R
⊆
S
∧
S
Pass on
Deliver
)
→
r
(
R
)
⊆
S
)
\forall S ( ( R \subseteq S\land S Pass on ) \to r(R) \subseteq S)
∀S((R⊆S∧S Pass on Deliver )→r(R)⊆S)
Relationship
R
R
R Diagram for
G
(
R
)
G(R)
G(R) :

R
R
R Symmetric closure of
G
(
t
(
R
)
)
G(t ( R ))
G(t(R)) The diagram : stay
R
R
R On the basis of , Add some ordered pairs , send
t
(
R
)
t(R)
t(R) become Pass on Of The smallest binary relation , The condition of transmission is ① Premise
a
→
b
,
b
→
c
a\to b, b \to c
a→b,b→c establish ,
a
→
c
a \to c
a→c There is , or ② The premise doesn't hold , If the premise is not tenable, it is transmitted by default , If the premise holds , You must add the corresponding third side ;

边栏推荐
- Xaml gradient issue in uwp for some devices
- Brief introduction of realsense d435i imaging principle
- Why should we rewrite hashcode when we rewrite the equals method?
- Shanghai daoning, together with American /n software, will provide you with more powerful Internet enterprise communication and security component services
- 联想R7000显卡的拆卸与安装
- DEX net 2.0 for crawl detection
- 2022.6.30DAY591
- "C and pointer" - Chapter 13 function pointer 1: callback function 2 (combined with template to simplify code)
- MySQL startup error: several solutions to the server quit without updating PID file
- 获取并监控远程服务器日志
猜你喜欢

Go practice - gorilla / handlers used by gorilla web Toolkit

Classification and discussion of plane grab detection methods based on learning

How to install and configure altaro VM backup for VMware vSphere

配置xml文件的dtd

Pessimistic lock and optimistic lock of multithreading

Introduction to redis using Lua script

【一起上水硕系列】Day 10

Technical analysis of qianyuantong multi card aggregation router

一起上水碩系列】Day 9

kubernetes资源对象介绍及常用命令(五)-(ConfigMap)
随机推荐
配置xml文件的dtd
Calculation method of AUC
Final review Day8
Source insight operation manual installation trial
redis 遇到 NOAUTH Authentication required
Talk about how to use p6spy for SQL monitoring
Common interview questions of microservice
How to use source insight
请求数据库报错:“could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGram
Gan network thought
Why is go language particularly popular in China
Capacity expansion mechanism of map
Shanghai daoning, together with American /n software, will provide you with more powerful Internet enterprise communication and security component services
Configure and use Anaconda environment in pycharm
大学校园IP网络广播-厂家基于校园局域网的大学校园IP广播方案设计指南
期末复习(Day5)
Go practice -- design patterns in golang's singleton
Redis 入门和数据类型讲解
Beaucoup de CTO ont été tués aujourd'hui parce qu'il n'a pas fait d'affaires
【一起上水硕系列】Day 7 内容+Day8