当前位置:网站首页>[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 ;
边栏推荐
- Go practice -- factory mode of design patterns in golang (simple factory, factory method, abstract factory)
- Communication - how to be a good listener?
- 獲取並監控遠程服務器日志
- ES 2022 正式发布!有哪些新特性?
- Jetson AgX Orin platform porting ar0233 gw5200 max9295 camera driver
- 2022.6.30DAY591
- BTC-密码学原理
- Sophomore dilemma (resumption)
- @Solutions to null pointer error caused by Autowired
- Altaro requirements for starting from backup on Hyper-V
猜你喜欢
Classification and discussion of plane grab detection methods based on learning
6.23 warehouse operation on Thursday
穀歌 | 蛋白序列的深度嵌入和比對
Deep embedding and alignment of Google | protein sequences
Webrtc M96 release notes (SDP abolishes Plan B and supports opus red redundant coding)
今天很多 CTO 都是被干掉的,因为他没有成就业务
XML Configuration File
小学校园IP网络广播-基于校园局域网的小学IP数字广播系统设计
Ensemble, série shuishu] jour 9
Deploy crawl detection network using tensorrt (I)
随机推荐
Simpleitk learning notes
Ensemble, série shuishu] jour 9
Go practice -- gorilla / websocket used by gorilla web Toolkit
EMD distance - example of use
Troubleshooting of 32GB Jetson Orin SOM failure to brush
BTC-密码学原理
Go practice -- use redis in golang (redis and go redis / redis)
Making coco datasets
穀歌 | 蛋白序列的深度嵌入和比對
Altaro set grandfather parent child (GFS) archiving
Talk about how to use p6spy for SQL monitoring
How to use source insight
Redis 入门和数据类型讲解
请求数据库报错:“could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGram
Learn libcef together -- set cookies for your browser
PHP笔记超详细!!!
Final review (Day6)
Common interview questions of microservice
Go practice -- gorilla/rpc (gorilla/rpc/json) used by gorilla web Toolkit
AtCoder Beginner Contest 258(A-D)