Euler diagram

news2025/8/2 17:41:39

An Euler diagram (/ˈɔɪlər/, OY-lər) is a diagrammatic means of representing sets and their relationships. They are particularly useful for explaining complex hierarchies and overlapping definitions. They are similar to another set diagramming technique, Venn diagrams. Unlike Venn diagrams, which show all possible relations between different sets, the Euler diagram shows only relevant relationships.

The first use of “Eulerian circles” is commonly attributed to Swiss mathematician Leonhard Euler (1707–1783). In the United States, both Venn and Euler diagrams were incorporated as part of instruction in set theory as part of the new math movement of the 1960s. Since then, they have also been adopted by other curriculum fields such as reading[1] as well as organizations and businesses.

Euler diagrams consist of simple closed shapes in a two-dimensional plane that each depict a set or category. How or whether these shapes overlap demonstrates the relationships between the sets. Each curve divides the plane into two regions or “zones”: the interior, which symbolically represents the elements of the set, and the exterior, which represents all elements that are not members of the set. Curves that do not overlap represent disjoint sets, which have no elements in common. Two curves that overlap represent sets that intersect, that have common elements; the zone inside both curves represents the set of elements common to both sets (the intersection of the sets). A curve completely within the interior of another is a subset of it.

Venn diagrams are a more restrictive form of Euler diagrams. A Venn diagram must contain all 2n logically possible zones of overlap between its n curves, representing all combinations of inclusion/exclusion of its constituent sets. Regions not part of the set are indicated by coloring them black, in contrast to Euler diagrams, where membership in the set is indicated by overlap as well as color.

在这里插入图片描述

An Euler diagram illustrating that the set of “animals with four legs” is a subset of “animals”, but the set of “minerals” is disjoint (has no members in common) with “animals”

在这里插入图片描述

An Euler diagram showing the relationships between different Solar System objects

Contents

  • 1 History
  • 2 Relation between Euler and Venn diagrams
    • 2.1 Example: Euler- to Venn-diagram and Karnaugh map
  • 3 Gallery
  • 4 See also

1 History

As shown in the illustration to the right, Sir William Hamilton in his posthumously published Lectures on Metaphysics and Logic (1858–60) erroneously asserts that the original use of circles to “sensualize … the abstractions of Logic” (p. 180) was not Leonhard Paul Euler (1707–1783) but rather Christian Weise (1642–1708) in his Nucleus Logicae Weisianae that appeared in 1712 posthumously, however, the latter book was actually written by Johann Christian Lange rather than Weise.[2][3] He references Euler’s Letters to a German Princess [Partie II, Lettre XXXV, February 17, 1791, ed. Cournot (1842), pp. 412–417. – ED.][nb 1]

In Hamilton’s illustration the four categorical propositions that can occur in a syllogism as symbolized by the drawings A, E, I and O are:[4]

A: The Universal Affirmative, Example: “All metals are elements”.
E: The Universal Negative, Example: “No metals are compound substances”.
I: The Particular Affirmative, Example: “Some metals are brittle”.
O: The Particular Negative, Example: “Some metals are not brittle”.
In his 1881 Symbolic Logic Chapter V “Diagrammatic Representation”, John Venn (1834–1923) comments on the remarkable prevalence of the Euler diagram:

“…of the first sixty logical treatises, published during the last century or so, which were consulted for this purpose:-somewhat at random, as they happened to be most accessible :-it appeared that thirty four appealed to the aid of diagrams, nearly all of these making use of the Eulerian Scheme.” (Footnote 1 page 100)

But nevertheless, he contended, “the inapplicability of this scheme for the purposes of a really general Logic” (page 100) and on page 101 observed that, “It fits in but badly even with the four propositions of the common Logic to which it is normally applied.” Venn ends his chapter with the observation illustrated in the examples below—that their use is based on practice and intuition, not on a strict algorithmic practice:

“In fact … those diagrams not only do not fit in with the ordinary scheme of propositions which they are employed to illustrate, but do not seem to have any recognized scheme of propositions to which they could be consistently affiliated.” (pp. 124–125)
Finally, in his Chapter XX HISTORIC NOTES Venn gets to a crucial criticism (italicized in the quote below); observe in Hamilton’s illustration that the O (Particular Negative) and I (Particular Affirmative) are simply rotated:

“We now come to Euler’s well-known circles which were first described in his Lettres a une Princesse d’Allemagne (Letters 102–105). The weak point about these consists in the fact that they only illustrate in strictness the actual relations of classes to one another, rather than the imperfect knowledge of these relations which we may possess, or wish to convey, by means of the proposition. Accordingly they will not fit in with the propositions of common logic, but demand the constitution of a new group of appropriate elementary propositions… This defect must have been noticed from the first in the case of the particular affirmative and negative, for the same diagram is commonly employed to stand for them both, which it does indifferently well”. (italics added: page 424)
(Sandifer 2003 reports that Euler makes such observations too; Euler reports that his figure 45 (a simple intersection of two circles) has 4 different interpretations). Whatever the case, armed with these observations and criticisms, Venn then demonstrates (pp. 100–125) how he derived what has become known as his Venn diagrams from the “…old-fashioned Euler diagrams.” In particular he gives an example, shown on the left.

By 1914, Louis Couturat (1868–1914) had labeled the terms as shown on the drawing on the right. Moreover, he had labeled the exterior region (shown as a’b’c’) as well. He succinctly explains how to use the diagram – one must strike out the regions that are to vanish:

“VENN’S method is translated in geometrical diagrams which represent all the constituents, so that, in order to obtain the result, we need only strike out (by shading) those which are made to vanish by the data of the problem.” (italics added p. 73)
Given the Venn’s assignments, then, the unshaded areas inside the circles can be summed to yield the following equation for Venn’s example:

“No Y is Z and ALL X is Y: therefore No X is Z” has the equation x’yz’ + xyz’ + x’y’z for the unshaded area inside the circles (but this is not entirely correct; see the next paragraph).
In Venn the 0th term, x’y’z’, i.e. the background surrounding the circles, does not appear. Nowhere is it discussed or labeled, but Couturat corrects this in his drawing. The correct equation must include this unshaded area shown in boldface:

“No Y is Z and ALL X is Y: therefore No X is Z” has the equation x’yz’ + xyz’ + x’y’z + x’y’z’ .
In modern usage the Venn diagram includes a “box” that surrounds all the circles; this is called the universe of discourse or the domain of discourse.

Couturat now observes that, in a direct algorithmic (formal, systematic) manner, one cannot derive reduced Boolean equations, nor does it show how to arrive at the conclusion “No X is Z”. Couturat concluded that the process “has … serious inconveniences as a method for solving logical problems”:

“It does not show how the data are exhibited by canceling certain constituents, nor does it show how to combine the remaining constituents so as to obtain the consequences sought. In short, it serves only to exhibit one single step in the argument, namely the equation of the problem; it dispenses neither with the previous steps, i. e., “throwing of the problem into an equation” and the transformation of the premises, nor with the subsequent steps, i. e., the combinations that lead to the various consequences. Hence it is of very little use, inasmuch as the constituents can be represented by algebraic symbols quite as well as by plane regions, and are much easier to deal with in this form.”(p. 75)
Thus the matter would rest until 1952 when Maurice Karnaugh (1924– ) would adapt and expand a method proposed by Edward W. Veitch; this work would rely on the truth table method precisely defined in Emil Post’s 1921 PhD thesis “Introduction to a general theory of elementary propositions” and the application of propositional logic to switching logic by (among others) Claude Shannon, George Stibitz, and Alan Turing.[nb 2] For example, in chapter “Boolean Algebra”, Hill and Peterson (1968, 1964) present sections 4.5ff “Set Theory as an Example of Boolean Algebra”, and in it they present the Venn diagram with shading and all. They give examples of Venn diagrams to solve example switching-circuit problems, but end up with this statement:

“For more than three variables, the basic illustrative form of the Venn diagram is inadequate. Extensions are possible, however, the most convenient of which is the Karnaugh map, to be discussed in Chapter 6.” (p. 64)
In Chapter 6, section 6.4 “Karnaugh Map Representation of Boolean Functions” they begin with:

“The Karnaugh map1 [1Karnaugh 1953] is one of the most powerful tools in the repertory of the logic designer. … A Karnaugh map may be regarded either as a pictorial form of a truth table or as an extension of the Venn diagram.” (pp. 103–104)
The history of Karnaugh’s development of his “chart” or “map” method is obscure. Karnaugh in his 1953 referenced Veitch 1951, Veitch referenced Claude E. Shannon 1938 (essentially Shannon’s Master’s thesis at M.I.T.), and Shannon in turn referenced, among other authors of logic texts, Couturat 1914. In Veitch’s method the variables are arranged in a rectangle or square; as described in Karnaugh map, Karnaugh in his method changed the order of the variables to correspond to what has become known as (the vertices of) a hypercube.

在这里插入图片描述

A page from Hamilton’s Lectures on Logic. The symbolism A, E, I, and O refers to the categorical statements that can occur in a syllogism. The small text to the left erroneously states: “The first employment of circular diagrams in logic improperly ascribed to Euler. To be found in Christian Weise”, a book actually written by Johann Christian Lange.[2][3]

在这里插入图片描述

On the right is page 74 from Couturat 1914 wherein he labels the 8 regions of the Venn diagram. The modern name for these “regions” is minterms. These are shown on the left with the variables x, y and z per Venn’s drawing. The symbolism is as follows: logical AND ( & ) is represented by arithmetic multiplication, and the logical NOT ( ~ ) is represented by " ’ " after the variable, e.g. the region x’y’z is read as “NOT x AND NOT y AND z” i.e. ~x & ~y & z.

在这里插入图片描述

Composite of two pages 115–116 from Venn 1881 showing his example of how to convert a syllogism of three parts into his type of diagram. Venn calls the circles “Eulerian circles” (cf Sandifer 2003, Venn 1881:114 etc) in the “Eulerian scheme” (Venn 1881:100) of “old-fashioned Eulerian diagrams” (Venn 1881:113).

在这里插入图片描述

Both the Veitch diagram and Karnaugh map show all the minterms, but the Veitch is not particularly useful for reduction of formulas. Observe the strong resemblance between the Venn and Karnaugh diagrams; the colors and the variables x, y, and z are per Venn’s example.

2 Relation between Euler and Venn diagrams

Venn diagrams are a more restrictive form of Euler diagrams. A Venn diagram must contain all 2n logically possible zones of overlap between its n curves, representing all combinations of inclusion/exclusion of its constituent sets. Regions not part of the set are indicated by coloring them black, in contrast to Euler diagrams, where membership in the set is indicated by overlap as well as color. When the number of sets grows beyond 3 a Venn diagram becomes visually complex, especially compared to the corresponding Euler diagram. The difference between Euler and Venn diagrams can be seen in the following example. Take the three sets:

{\displaystyle A={1,,2,,5}}A={1,,2,,5}
{\displaystyle B={1,,6}}B={1,,6}
{\displaystyle C={4,,7}}C={4,,7}
The Euler and the Venn diagrams of those sets are:

在这里插入图片描述

Euler diagram

在这里插入图片描述

Venn diagram

In a logical setting, one can use model-theoretic semantics to interpret Euler diagrams, within a universe of discourse. In the examples below, the Euler diagram depicts that the sets Animal and Mineral are disjoint since the corresponding curves are disjoint, and also that the set Four Legs is a subset of the set of Animals. The Venn diagram, which uses the same categories of Animal, Mineral, and Four Legs, does not encapsulate these relationships. Traditionally the emptiness of a set in Venn diagrams is depicted by shading in the region. Euler diagrams represent emptiness either by shading or by the absence of a region.

Often a set of well-formedness conditions are imposed; these are topological or geometric constraints imposed on the structure of the diagram. For example, connectedness of zones might be enforced, or concurrency of curves or multiple points might be banned, as might tangential intersection of curves. In the adjacent diagram, examples of small Venn diagrams are transformed into Euler diagrams by sequences of transformations; some of the intermediate diagrams have concurrency of curves. However, this sort of transformation of a Venn diagram with shading into an Euler diagram without shading is not always possible. There are examples of Euler diagrams with 9 sets that are not drawable using simple closed curves without the creation of unwanted zones since they would have to have non-planar dual graphs.

在这里插入图片描述

Examples of small Venn diagrams (on left) with shaded regions representing empty sets, showing how they can be easily transformed into equivalent Euler diagrams (right)

2.1 Example: Euler- to Venn-diagram and Karnaugh map

This example shows the Euler and Venn diagrams and Karnaugh map deriving and verifying the deduction “No Xs are Zs”. In the illustration and table the following logical symbols are used:

1 can be read as “true”, 0 as “false”
for NOT and abbreviated to ’ when illustrating the minterms e.g. x’ =defined NOT x,
  • for Boolean OR (from Boolean algebra: 0 + 0 = 0, 0 + 1 = 1 + 0 = 1, 1 + 1 = 1)
    & (logical AND) between propositions; in the minterms AND is omitted in a manner similar to arithmetic multiplication: e.g. x’y’z =defined ~x & ~y & z (From Boolean algebra: 0·0 = 0, 0·1 = 1·0 = 0, 1·1 = 1, where “·” is shown for clarity)
    → (logical IMPLICATION): read as IF … THEN …, or " IMPLIES ", P → Q = defined NOT P OR Q

在这里插入图片描述

Before it can be presented in a Venn diagram or Karnaugh Map, the Euler diagram’s syllogism “No Y is Z, All X is Y” must first be reworded into the more formal language of the propositional calculus: " ‘It is not the case that: Y AND Z’ AND ‘If an X then a Y’ ". Once the propositions are reduced to symbols and a propositional formula ( ~(y & z) & (x → y) ), one can construct the formula’s truth table; from this table the Venn and/or the Karnaugh map are readily produced. By use of the adjacency of "1"s in the Karnaugh map (indicated by the grey ovals around terms 0 and 1 and around terms 2 and 6) one can “reduce” the example’s Boolean equation i.e. (x’y’z’ + x’y’z) + (x’yz’ + xyz’) to just two terms: x’y’ + yz’. But the means for deducing the notion that “No X is Z”, and just how the reduction relates to this deduction, is not forthcoming from this example.

Given a proposed conclusion such as “No X is a Z”, one can test whether or not it is a correct deduction by use of a truth table. The easiest method is put the starting formula on the left (abbreviate it as P) and put the (possible) deduction on the right (abbreviate it as Q) and connect the two with logical implication i.e. P → Q, read as IF P THEN Q. If the evaluation of the truth table produces all 1s under the implication-sign (→, the so-called major connective) then P → Q is a tautology. Given this fact, one can “detach” the formula on the right (abbreviated as Q) in the manner described below the truth table.

Given the example above, the formula for the Euler and Venn diagrams is:

“No Ys are Zs” and “All Xs are Ys”: ( ~(y & z) & (x → y) ) =defined P
And the proposed deduction is:

“No Xs are Zs”: ( ~ (x & z) ) =defined Q
So now the formula to be evaluated can be abbreviated to:

( ~(y & z) & (x → y) ) → ( ~ (x & z) ): P → Q
IF ( “No Ys are Zs” and “All Xs are Ys” ) THEN ( “No Xs are Zs” )

在这里插入图片描述
At this point the above implication P → Q (i.e. ~(y & z) & (x → y) ) → ~(x & z) ) is still a formula, and the deduction – the “detachment” of Q out of P → Q – has not occurred. But given the demonstration that P → Q is tautology, the stage is now set for the use of the procedure of modus ponens to “detach” Q: “No Xs are Zs” and dispense with the terms on the left.[nb 3]

Modus ponens (or “the fundamental rule of inference”[5]) is often written as follows: The two terms on the left, P → Q and P, are called premises (by convention linked by a comma), the symbol ⊢ means “yields” (in the sense of logical deduction), and the term on the right is called the conclusion:

P → Q, P ⊢ Q
For the modus ponens to succeed, both premises P → Q and P must be true. Because, as demonstrated above the premise P → Q is a tautology, “truth” is always the case no matter how x, y and z are valued, but “truth” is only the case for P in those circumstances when P evaluates as “true” (e.g. rows 0 OR 1 OR 2 OR 6: x’y’z’ + x’y’z + x’yz’ + xyz’ = x’y’ + yz’).[nb 4]

P → Q , P ⊢ Q
i.e.: ( ~(y & z) & (x → y) ) → ( ~ (x & z) ) , ( ~(y & z) & (x → y) ) ⊢ ( ~ (x & z) )
i.e.: IF “No Ys are Zs” and “All Xs are Ys” THEN “No Xs are Zs”, “No Ys are Zs” and “All Xs are Ys” ⊢ “No Xs are Zs”
One is now free to “detach” the conclusion “No Xs are Zs”, perhaps to use it in a subsequent deduction (or as a topic of conversation).

The use of tautological implication means that other possible deductions exist besides “No Xs are Zs”; the criterion for a successful deduction is that the 1s under the sub-major connective on the right include all the 1s under the sub-major connective on the left (the major connective being the implication that results in the tautology). For example, in the truth table, on the right side of the implication (→, the major connective symbol) the bold-face column under the sub-major connective symbol " ~ " has the all the same 1s that appear in the bold-faced column under the left-side sub-major connective & (rows 0, 1, 2 and 6), plus two more (rows 3 and 4).

3 Gallery

在这里插入图片描述

A Venn diagram shows all possible intersections.

在这里插入图片描述

Euler diagram visualizing a real situation, the relationships between various supranational European organizations. (clickable version)

在这里插入图片描述

Humorous diagram comparing Euler and Venn diagrams.

在这里插入图片描述

Euler diagram of types of triangles, using the definition that isosceles triangles have at least (rather than exactly) 2 equal sides.

在这里插入图片描述

Euler diagram of terminology of the British Isles.

在这里插入图片描述

The 22 (of 256) essentially different Venn diagrams with 3 circles (top) and their corresponding Euler diagrams (bottom)
Some of the Euler diagrams are not typical, and some are even equivalent to Venn diagrams. Areas are shaded to indicate that they contain no elements.

在这里插入图片描述

Henri Milne -Edwards’s (1844) diagram of relationships of vertebrate animals, illustrated as a series of nested sets.

在这里插入图片描述

A clickable Euler diagram[file] showing the relationships between various multinational European organisations and agreements.

4 See also

Rainbow box
Spider diagram – an extension of Euler diagrams adding existence to contour intersections.
Venn diagram

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/35038.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

使用css形变实现一个立方体

关于 Nuxt.js 2016 年 10 月 25 日,zeit.co 背后的团队对外发布了 Next.js ,一个 React 的服务端渲染应用框架。几小时后,与 Next.js 异曲同工,一个基于 Vue.js 的服务端渲染应用框架应运而生,我们称之为:…

速卖通跨境智星,速卖通合理补单技法

1、测评的用途   提升店铺信誉等级和好评,最重要的是提升产品权重和搜索排名,因为如果产品没有曝光,就没有流量,当然当有了权重和搜索排名,好评也是必不可少的。 2、爆款打造   很多新人在测评的时候会关注店铺排名…

Git版本控制工具使用

文章目录1. CICD系统构成和流程1.1 CICD来源及概念1.2 Git版本控制系统2. Git操作和使用git config (基本配置操作)git clone <repo URL\> (创建仓库|拷贝已有仓库)git branch (分支相关操作- 创建|查看|删除)git checkout (操作文件和分支)git add/commit (提交和修改-保…

Unity导入URDF模型(turtlebot3 waffle pi为例)

本篇文章介绍Unity下如何导入机器人的URDF模型&#xff0c;主要参考官方教程&#xff1a;https://github.com/Unity-Technologies/Unity-Robotics-Hub/blob/main/tutorials/urdf_importer/urdf_tutorial.md   关于导入的机器人模型选择了turtlebot3 waffle pi作为示例 1.Uni…

Sa-Token

介绍 类似于Security的认证授权的解决方案&#xff0c;但是使用起来非常方便&#xff0c;1.支持登录认证&#xff0c;授权权限验证&#xff0c;踢人&#xff1b;2.支持自定义Token&#xff0c;并且能够结合Redis完成前后端分离认证方案&#xff1b;3.支持单点登录&#xff08;…

柯桥成人英语培训机构哪家好,新陈代谢到底是什么?

新陈代谢到底是什么? Metabolism is a combination of biochemical processes that your body uses to convert food into energy. These metabolic processes include breathing, eating and digesting food, the delivery of nutrients to your cells through the blood, th…

【Linux】(四)VS Code远程开发方式-实验室服务器使用VS Code远程开发

VS code 方式系列文章一、服务器情况简介1.1服务器及用户1.2 cuda1.3 conda环境二、VS code连接使用说明2.1 下载VS code2.2 配置2.3 调试文件附录&#xff1a;VS code调试复杂配置公共数据集系列文章 &#xff08;一&#xff09;服务器初次配置及安装vncserver &#xff08;二…

磨金石教育摄影技能干货分享|古风人像拍摄要注意哪些问题

古风人像与普通人像的拍摄略有不同&#xff0c;有三个要素需要做好准备。服装、妆容、道具。 服装有不少考究&#xff0c;不同的服装有不同的风格&#xff0c;侠士、温婉、清新、可爱等等&#xff0c;今天我们要拍摄的主题风格是侠女。所以选择的是魏晋风汉服。 妆 容 妆容也是…

【无人机】基于PID控制器和A星算法实现无人机路径规划附matlab代码

✅作者简介&#xff1a;热爱科研的Matlab仿真开发者&#xff0c;修心和技术同步精进&#xff0c;matlab项目合作可私信。 &#x1f34e;个人主页&#xff1a;Matlab科研工作室 &#x1f34a;个人信条&#xff1a;格物致知。 更多Matlab仿真内容点击&#x1f447; 智能优化算法 …

生鲜电商十年:如何撞破盈利难墙?谁在竞速突围?

生鲜电商已十年。 这十年间&#xff0c;无数资本和公司前赴后继&#xff0c;试图探索出一条持续盈利路径&#xff0c;并完成商业模式的持续迭代&#xff0c;然而成功者寥寥。 这么大规模、长时间的摸索&#xff0c;在整个互联网行业都较为少见。一是因为它足够难&#xff0c;…

神经网络和深度学习-反向传播back propagation代码

反向传播back propagation代码 再简单模型中&#xff0c;按照下图的神经网络来完成模型的训练 在复杂的模型当中&#xff0c;输入&#xff0c;权重&#xff0c;隐藏层的数量都是很多的&#xff0c;例如下图中&#xff0c;输入x有5个神经元&#xff0c;第一层隐藏层h中有6个神经…

Rust China Hackathon 2022 达坦科技组空中宣讲会来啦!

Rust China Hackathon 2022 即将来袭&#xff01; 本届Hackathon的主题为「Rust For Fun」&#xff0c;分为「社区组」与「企业组」。 达坦科技作为本届Hackathon的协办方&#xff0c;赞助参与本次企业组赛道&#xff0c;将基于Xline这个开源项目&#xff0c;就Concurrent Inde…

【linux】物理磁盘挂载目录——(分区、格式化、重启自动挂载)

大家好&#xff0c;我是好学的小师弟&#xff01; 现有一全新的物理磁盘需要挂载到某个目录下&#xff0c;操作步骤如下。 目录 一、磁盘分区 二、磁盘格式化 三、磁盘挂载 四、重启自动挂载 注意点: 1.该目录要存在&#xff0c;不存在的话需手动mkdir创建 2.该目录需要为…

IMS各网元的主要功能

文章目录用户注册时&#xff1a; 手机发出一个注册消息到他所在的拜访地的P。 比如&#xff0c;他是山西太原的用户&#xff0c;他这时候到了北京&#xff0c;那么这个时候&#xff0c;他要注册到IMS网络里面的话&#xff0c;这个P-CSCF就是北京的P-CSCF&#xff0c;这个北京的…

[附源码]java毕业设计游戏账号交易平台

项目运行 环境配置&#xff1a; Jdk1.8 Tomcat7.0 Mysql HBuilderX&#xff08;Webstorm也行&#xff09; Eclispe&#xff08;IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持&#xff09;。 项目技术&#xff1a; SSM mybatis Maven Vue 等等组成&#xff0c;B/S模式 M…

【零基础入门MyBatis系列】第十一篇——动态SQL

一、概述 &#x1f4d6; 1、什么是动态SQL&#xff1f; 根据不同条件生成不同的SQL语句&#xff0c;是mybatis的一大优势。用于动态拼接SQL语句 &#x1f4d6; 2、如何实现动态SQL&#xff1f; mybatis 为我们提供了一些标签&#xff0c;在写SQL语句的时候&#xff0c;合理…

Qt | QListView、QListWidget、QTableView、QTableWidget的使用示例及区别

Qt | QListView、QListWidget、QTableView、QTableWidget的使用示例及区别 目录Qt | QListView、QListWidget、QTableView、QTableWidget的使用示例及区别1、简介2、使用示例1、QListView2、QTableView3、QListWidget4、QTableWidget1、简介 QListView、QListWidget是列表形式…

Maven安装配置

Maven安装配置 第一步 : 解压 解压 apache-maven-3.6.1.rar 既安装完成 解压缩后的目录结构如下&#xff1a; bin目录 &#xff1a; 存放的是可执行命令。mvn 命令重点关注。conf目录 &#xff1a;存放Maven的配置文件。settings.xml 配置文件后期需要修改。lib目录 &#xf…

基于DPDK(x86平台)应用性能优化实践

产生性能瓶颈有多方面的原因&#xff0c;包括硬件&#xff08;自身能力限制或BIOS设置不当&#xff09;、操作系统&#xff08;某些feature没打开&#xff09;和软件。软件方面的性能瓶颈主要是由于编码不当导致&#xff0c;常见原因有以下几种&#xff1a; 数据结构cache lin…

【多线程】读写锁ReentrantReadWriteLock源码分析

【多线程】读写锁ReentrantReadWriteLock源码分析&#xff08;一&#xff09;读写锁ReentrantReadWriteLock源码分析【1】类图结构和参数【2】写锁的获取和释放&#xff08;1&#xff09;lock方法&#xff08;2&#xff09;lockInterruptibly方法&#xff08;3&#xff09;tryL…