当前位置:网站首页>Definitions and terms of drawings
Definitions and terms of drawings
2022-06-22 19:56:00 【Just one word】
- chart (Graph) It is composed of the finite non empty set of vertices and the set of edges between vertices , Usually expressed as :G(V,E), among ,G Represents a graph ,V The picture is G The set of vertices in ,E The picture is G A collection in the middle .
- For the definition of graph , We need to be clear about a few things to pay attention to :
In linear tables we call data elements elements elements , A tree is called a node , In the graph, the data elements are called vertices (Vertex).
Linear tables can have no data elements , Known as the empty table , There can be no nodes in the tree , It's called the empty tree , And graph structure emphasizes vertex set in most textbooks in our country V Be poor, not empty .
In the linear table , There is a linear relationship between adjacent data elements , In the tree structure , The nodes of two adjacent layers have hierarchical relationship , And in the graph structure , There may be a relationship between any two vertices , The logical relationship between vertices is represented by edges , Edge sets can be empty . - No to the edge : If the summit Vi To Vj The edge between has no direction , We call this edge undirected (Edge), With unordered pairs (Vi,Vj) To express .

Upper figure G1 It's an undirected graph ,G1={V1,E1}, among V1={A,B,C,D},E1={(A,B),(B,C),(C,D),(D,A),(A,C)}. - There is a directional side : If from the top Vi To Vj There's a direction on the side of , We call this side a directed side , Also become an arc (Arc), With an orderly couple <Vi,Vj> To express ,Vi It's called the arc tail ,Vj It's called the arc head .

Upper figure G2 It's a digraph ,G2={V2,E2}, among V2={A,B,C,D},E2={<B,A>,<B,C>,<C,A>,<A,D>} - Simple picture : In the diagram structure , If there is no edge from vertex to itself , And the same edge does not appear repeatedly , This is called a simple graph .
- Undirected complete graph : In the undirected graph , If there is an edge between any two vertices , The graph is called undirected complete graph . contain n The undirected complete graph of vertices has n*(n-1)/2 side .

- Directed complete graph : In a directed graph , If there are two arcs with opposite directions between any two vertices , It is called directed complete graph . contain n The directed complete graph of vertices has n*(n-1) side .

- Sparse graph and dense graph : Sparse and dense here are fuzzy concepts , Are relative , It is generally considered that the number of edges or arcs is less than n*logn(n Is the number of vertices ) A graph of is called a sparse graph , On the contrary, it is called dense graph .
- Some graphs have edges or arcs with numbers associated with them , The number related to the edge or arc of a graph is called weight (Weight), Weighted graphs are often called nets (Network).
- Suppose there are two graphs G1=(V1,E1) and G2=(V2,E2), If V2⊆V1,E2⊆E1, said G2 by G1 The children of (Subgraph).

- For undirected graphs G=(V,E), If the side (V1,V2)∈E, It's called the summit V1 and V2 They are adjacency points to each other (Adjacent), namely V1 and V2 Next to each other . edge (V1,V2) Attachment (incident) At the top V1 and V2, Or in other words (V1,V2) And the summit V1 and V2 Related to .
- The vertices V Degree (Degree) Is and V Number of sides associated , Write it down as TD(V), Here's the picture , The vertices A And B They are adjacency points to each other , edge (A,B) Attached to the apex A And B On , The vertices A The degree of 3.

- For digraphs G=(V,E), If there is <V1,V2>∈E, It's called the summit V1 Adjacent to the vertex V2, The vertices V2 Adjacency from vertex V1.
At the top V The number of arcs for the head is called V The degree of (InDegree), Write it down as ID(V), With V The number of arcs with tails is called V The degree of (OutDegree), Write it down as OD(V), So the apex V The degree of TD(V)=ID(V)+OD(V).
Following vertex A My penetration is 2, The output is 1, So the summit A The degree is 3.
- Undirected graph G=(V,E) From the top V1 To the top V2 The path of (Path).
The following figure lists the vertices with red lines B To the top D Four different paths :
- If G It's a directed graph , Then the path is also directed .
The following figure lists vertices with red lines B To the top D Two paths to , And the summit A To the top B There is no path
- The length of the path is the number of edges or arcs on the path .
- The same path from the first vertex to the last vertex is called a loop or ring (Cycle).
- The path in which vertices do not appear repeatedly in a sequence is called a simple path , Except for the first vertex and the last vertex , The rest of the vertices do not repeat the loop , It's called a simple loop or a simple ring .
The left side of the figure below is a simple ring , The right side is not a simple ring :
- In the undirected graph G in , If from the top V1 To the top V2 There is a path , said V1 and V2 It's connected , If for any two vertices in the graph Vi and Vj It's all connected , said G It's a connected graph (ConnectedGraph)
The left side of the figure below is not a connected graph , On the right is the connected graph :
- In undirected graph, the polar connected subgraph is called connected component .
( Connected components are “ The entire undirected graph is not a connected graph ” Put forward for the premise )
Note the following concepts :
1) First, let's say subgraphs , And subgraphs are connected ;
2) Connected subgraphs contain maximal vertex points ;
3) Connected subgraphs with maximal vertex number contain all edges attached to these vertices .
The left figure below shows the connected components , The right figure does not contain D The vertices , So it's not a connected component .
- In digraph G in , If for each pair Vi To Vj There are paths , said G It's a strongly connected graph .
The maximal strongly connected subgraph in a directed graph is called the strongly connected component of a directed graph .
The left side of the figure below is not a strongly connected graph , The right side is . And on the right is the maximal strongly connected subgraph on the left , It's also the strongly connected component on the left .
- The spanning tree of a connected graph is a minimal connected subgraph , It contains all the n vertices , But only enough to make a tree n-1 side .

The following figure shows a spanning tree in the above figure
- If a directed graph has exactly one vertex, the degree of penetration is 0, The penetration of the other vertices is 1, Is a directed tree .

Connected graph
http://data.biancheng.net/view/201.html
边栏推荐
- 08_一句话让你人间清醒
- [compréhension approfondie de la technologie tcaplusdb] exploitation et entretien de tcaplusdb - inspection quotidienne des patrouilles
- 0.1-----用AD画PCB的流程
- 误用append案例一则
- Explain in simple terms the bloom filter
- 510000 prize pool invites you to join the war! The second Alibaba cloud ECS cloudbuild developer competition is coming
- 哈夫曼树(C语言)
- 3D打印机耗材受潮
- 1.3-----Simplify 3D切片软件简单设置
- MySQL数据库DQL查询操作
猜你喜欢

华为云招募工业智能领域合作伙伴,强力扶持+商业变现

Chapter I 100 hot questions (1-5)

Xintang nuc980 usage record: basic description of development environment preparation and compilation configuration

Agent model of structured model

1.4----- PCB design? (circuit design) determination scheme

如何用银灿IS903主控DIY自己的U盘?(练习BGA焊接的好项目)

0816 shortcomings of Feida (improvement direction)

记可视化项目代码设计的心路历程以及理解

Nrf51822 peripheral learning

Altium Designer中off grid pin解决方法
随机推荐
delegate
Velocity 语法
佐治亚理工学院|具有服务质量保证的多无人机野火协同覆盖和跟踪规划
Canvas picture frame
Explain in simple terms the bloom filter
冒泡排序、选择排序、直接插入排序
拓扑排序
Nlp-d57-nlp competition D26 & skimming questions D13 & reading papers & finding bugs for more than an hour
Redis 大 key 问题
插值查找和折半(二分)查找
calendar控件编程
AttributeError: ‘KeyedVectors‘ object has no attribute ‘wv‘
About Random Forest
The array objects are filled in one by one according to the ID (fill Arr1 into arr2)
Openpnp使用过程的一些问题记录
Compilation error: /usr/bin/ld: /usr/local/lib/libgflags a(gflags.cc.o): relocation R_ X86_ 64_ 32S against `. rodata‘
深入浅出聊布隆过滤器(Bloom Filter)
Calendar control programming
2.什么是机械设计?
How to use yincan IS903 to master DIY's own USB flash disk? (good items for practicing BGA welding)