- 1、本文档共42页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
离散数学_
Chapter 8 Relations §8.1 Relations and their properties (1) 8.1.1 The concept of relation §8.1 Relations and their properties (2) §8.1 Relations and their properties (3) §8.1 Relations and their properties (4) §8.1 Relations and their properties (5) §8.1 Relations and their properties (6) §8.1 Relations and their properties (7) §8.1 Relations and their properties (9) §8.2 N-ary Relations and Their Applications (1) §8.2 N-ary Relations and Their Applications (2) §8.2 N-ary Relations and Their Applications (3) §8.2 N-ary Relations and Their Applications (4) §8.2 N-ary Relations and Their Applications (5) §8.3 Representing relations (1) §8.3 Representing relations (1) §8.3 Representing relations (2) §8.4 Closures of Relations (11) 8.4.3 Warshall’s algorithm Computing Wk from Wk-1: Step1:First transfer to Wk all 1’s in Wk-1. Step2:List the location p1,p2,…,in column k of Wk-1,where the entry is 1,and the locations q1,q2,…,in row of Wk-1,where the entry is 1. Step3:Put 1’s in all the positions pi,qj of Wk. §8.4 Closures of Relations (12) 8.4.3 Warshall’s algorithm W:=MR; For i=1 to n Begin For j=1 to n If W[j,i]=1 Then for k=1 to n W[j,k]:=W[j,k]+W[i,k]; End Print W; §8.5 Equivalence relations (1) 8.5.1 The concept of equivalence relations Definition: A relation on a set A is called equivalence relation if it is reflexive,symmetric,and transitive. §8.5 Equivalence relations (2) 8.5.1 The concept of equivalence relations Example:A={1,2,3,…,10} R3={(a,b)|(a-b)/3?整数} §8.5 Equivalence relations (3) 8.5.2 Equivalence classes Definition: Let R be an equivalence relation on a set A.The set of all elements that are related to an element a of A is called the equivalence class of a.The equivalence class of a with respect to R is denoted by [a]R.
文档评论(0)