Hasse diagram
创始人
2024-04-16 01:19:02
0

In order theory, a Hasse diagram (/ˈhæsə/; German: [ˈhasə]) is a type of mathematical diagram used to represent a finite partially ordered set, in the form of a drawing of its transitive reduction. Concretely, for a partially ordered set (S, ≤) one represents each element of S as a vertex in the plane and draws a line segment or curve that goes upward from x to y whenever y ≠ x and y covers x (that is, whenever x ≤ y and there is no z such that x ≤ z ≤ y). These curves may cross each other but must not touch any vertices other than their endpoints. Such a diagram, with labeled vertices, uniquely determines its partial order.

The diagrams are named after Helmut Hasse (1898–1979); according to Garrett Birkhoff (1948), they are so called because of the effective use Hasse made of them. However, Hasse was not the first to use these diagrams. One example that predates Hasse can be found in Henri Gustav Vogt (1895). Although Hasse diagrams were originally devised as a technique for making drawings of partially ordered sets by hand, they have more recently been created automatically using graph drawing techniques.[1]

The phrase “Hasse diagram” may also refer to the transitive reduction as an abstract directed acyclic graph, independently of any drawing of that graph, but this usage is eschewed here.[2][3][4]

在这里插入图片描述

The power set of a 2-element set ordered by inclusion

Contents

  • 1 Diagram design
  • 2 Upward planarity
  • 3 UML notation

1 Diagram design

Although Hasse diagrams are simple as well as intuitive tools for dealing with finite posets, it turns out to be rather difficult to draw “good” diagrams. The reason is that there will in general be many possible ways to draw a Hasse diagram for a given poset. The simple technique of just starting with the minimal elements of an order and then drawing greater elements incrementally often produces quite poor results: symmetries and internal structure of the order are easily lost.

The following example demonstrates the issue. Consider the power set of a 4-element set ordered by inclusion {\displaystyle \subseteq }\subseteq . Below are four different Hasse diagrams for this partial order. Each subset has a node labelled with a binary encoding that shows whether a certain element is in the subset (1) or not (0):

在这里插入图片描述
The first diagram makes clear that the power set is a graded poset. The second diagram has the same graded structure, but by making some edges longer than others, it emphasizes that the 4-dimensional cube is a combinatorial union of two 3-dimensional cubes, and that a tetrahedron (abstract 3-polytope) likewise merges two triangles (abstract 2-polytopes). The third diagram shows some of the internal symmetry of the structure. In the fourth diagram the vertices are arranged like the elements of a 4×4 matrix.

2 Upward planarity

Main article: Upward planar drawing

If a partial order can be drawn as a Hasse diagram in which no two edges cross, its covering graph is said to be upward planar. A number of results on upward planarity and on crossing-free Hasse diagram construction are known:

If the partial order to be drawn is a lattice, then it can be drawn without crossings if and only if it has order dimension at most two.[5] In this case, a non-crossing drawing may be found by deriving Cartesian coordinates for the elements from their positions in the two linear orders realizing the order dimension, and then rotating the drawing counterclockwise by a 45-degree angle.
If the partial order has at most one minimal element, or it has at most one maximal element, then it may be tested in linear time whether it has a non-crossing Hasse diagram.[6]
It is NP-complete to determine whether a partial order with multiple sources and sinks can be drawn as a crossing-free Hasse diagram.[7] However, finding a crossing-free Hasse diagram is fixed-parameter tractable when parametrized by the number of articulation points and triconnected components of the transitive reduction of the partial order.[8]
If the y-coordinates of the elements of a partial order are specified, then a crossing-free Hasse diagram respecting those coordinate assignments can be found in linear time, if such a diagram exists.[9] In particular, if the input poset is a graded poset, it is possible to determine in linear time whether there is a crossing-free Hasse diagram in which the height of each vertex is proportional to its rank.

在这里插入图片描述

This Hasse diagram of the lattice of subgroups of the dihedral group Dih4 has no crossing edges.

3 UML notation

The standard diagram for a chain of inclusions is the UML class, connecting sets by the inheritance relation. The illustration shows a nested set collection, C:

B = {♠, ♥, ♦, ♣}; B1 = {♠, ♥}; B2 = {♦, ♣}; B3 = {♣};
C = {B, B1, B2, B3}.

在这里插入图片描述

Expressing the example by standard UML inheritance connectors. Each set is a distinct object (standard UML boxes are rectangular).

相关内容

热门资讯

节前给父母买礼物?警惕保健品骗... 年底将至,不少朋友开始计划给父母选购礼物。给父母的礼物一般以实用为主,因而不少朋友会从“健康”方面考...
跨周期调节发力 一大批重磅政策... 央视网消息:为落实中央经济工作会议部署的重点任务,12月31日上午,国家发展改革委举行新闻发布会,发...
中国证监会修改《证券期货行政执... 新华社北京12月31日电(记者刘慧、刘羽佳)中国证监会对《证券期货行政执法当事人承诺制度实施规定》进...
一揽子解决4000余起涉央视著... 寒风凛冽,北京迎来深冬。最高人民法院的那棵皂角树也褪去了旧衣,门口的接待室里来了几位“熟悉”的客人,...
南山区商事(金融)纠纷调处中心... 12月31日,深圳市南山区商事(金融)纠纷调处中心召开座谈会。南山区司法局、南山区人民法院,以及入驻...
深圳写手智能科技申请法律服务平... 国家知识产权局信息显示,深圳写手智能科技有限公司申请一项名为“法律服务平台的数据信息集成方法及系统”...
江苏博云塑业申请无氟阻燃工程塑... 国家知识产权局信息显示,江苏博云塑业股份有限公司申请一项名为“无氟阻燃工程塑料合金及其制备方法”的专...
国常会:审议通过《供水条例(草... 钛媒体App 12月31日消息,李强主持召开国务院常务会议,审议通过《供水条例(草案)》和《中华人民...
教育部出台制度规范职业教育教师... 新华社北京12月31日电(记者魏冠宇)记者从教育部获悉,教育部教师队伍建设专家指导委员会职业学校教师...
证监会:支持相关市场机构、人员... 证监会有关部门负责人答记者问。问:12月30日,五矿证券公告就广道数字虚假陈述设立先行赔付专项基金,...