المرجع الالكتروني للمعلوماتية
المرجع الألكتروني للمعلوماتية

الرياضيات
عدد المواضيع في هذا القسم 9761 موضوعاً
تاريخ الرياضيات
الرياضيات المتقطعة
الجبر
الهندسة
المعادلات التفاضلية و التكاملية
التحليل
علماء الرياضيات

Untitled Document
أبحث عن شيء أخر
الرطوبة النسبية في الوطن العربي
2024-11-02
الجبال الالتوائية الحديثة
2024-11-02
الامطار في الوطن العربي
2024-11-02
الاقليم المناخي الموسمي
2024-11-02
اقليم المناخ المتوسطي (مناخ البحر المتوسط)
2024-11-02
اقليم المناخ الصحراوي
2024-11-02

الكتابة والرسائل في العصر الأموي
25-12-2015
ما يعرب بالحركات الاصلية
2024-10-28
عقد الوديعة
2023-10-09
جغرافية السياحة والعمران
28-11-2017
أحمد بن علي بن أحمد بن العباس الاسدي النجاشي
22-8-2016
طبقة نصف القيمة = سمك نصف القيمة half-value layer = half-value thickness
26-11-2019

Directed Graphs  
  
2055   01:26 مساءاً   date: 24-7-2016
Author : Jean-Claude Fournier
Book or Source : Graph Theory and Applications
Page and Part : 83-90


Read More
Date: 13-4-2022 1834
Date: 28-7-2016 1516
Date: 6-4-2022 2142

Many applications are modeled by graphs with edges which are oriented, the endvertices of the edge not playing a symmetric role.

They are called directed graphs. Among them, two classes are particularly important: directed graphs without circuits and arborescences, the latter being commonly called “trees” in, for example, computer science.

1.1 Definitions and basic concepts

A directed graph, abbreviated to digraph, G, is defined by two finite sets: a non-empty set X of vertices and a set A of arcs, or directed edges, with an ordered pair (x, y) of vertices which are the endvertices of a, associated with each arc. Vertex y is called the head and vertex x is called the tail.

1.1.1 Notation

We write G =(X,A). Sets X and A may also be denoted by X(G)and A(G). We keep, as in the undirected case, the notations nG or n for the number of vertices and mG or m for the number of arcs.

1.1.2 Terminology

When (x, y) is the ordered pair of endvertices associated with arc a,we say that arc a joins vertex x to vertex y, that arc a is incident to vertices x and y, or more specifically that arc a comes out of vertex x and that it enters into vertex y .Vertex y is called a successor of x and vertex x is called a predecessor of y. As with graphs, we have a loop in the case of equality x = y, and a multiple arc in the cases of arcs having an identical ordered pair  (x, y) associated with them. It is possible to specify, according to the number of arcs involved: double arc, triple arc, etc. Two arcs of which the associated ordered pairs are respectively (x, y)and(y,x) are said to be opposed.

A digraph is said to be strict if it has no loops and no multiple arcs (it may have opposed arcs). In this case, often encountered, each arc is identified by the ordered pair of its endvertices, which are then distinct, and we write, for example, a =(x, y). For a strict digraph G =(X,A), we can define the set of the arcs A directly as a subset of the Cartesian product X × X.

           A strict digraph is symmetric if for any arc (x, y) there is also the opposed arc (y,x). This concept is very close to that of a graph.

Figure 1. 1 (a) A digraph: the arc a is associated with the ordered pair (x, z), b with the ordered pair (z,x), c with the ordered pair (x, y), d with the ordered pair (z, y),and e with the ordered pair (y, y); (b) the underlying graph

1.1.3 Representation

As we saw in Figure 1.1(a), digraphs are drawn in a plane as graphs, with simply an arrow indicating its orientation on each arc line, the arrow going from x to y if the ordered pair (x, y) is associated with it. Finally, to complete the definition of digraphs, it should be noted that the digraphs under consideration are unlabeled digraphs, that is, considered up to isomorphism. We will not go back over this concept which can be defined with graphs and does not pose any practical problem.

1.1.4 Underlying graph

Given a digraph G we consider the underlying graph, obviously defined by “forgetting” the orientation of the arcs of G, that is that each arc with which the ordered pair (x, y) is associated is replaced by an edge of which the associated pair of endvertices is xy (see Figure 1.1(b)).

Note. Given a graph G there are 2m digraphs for which the underlying graph is G (m being the number of edges of G).

All concepts defined for graphs also apply to digraphs by means of the underlying graph: degree of a vertex, connectedness and connected components, walk, trail, path, etc. For example, we say that a digraph is connected if its underlying graph is connected. These concepts are therefore independent from the orientation of the arcs. There are also other concepts which take into account the orientation of the arcs and which we are now going to define.

1.1.5 “Directed” concepts

Some concepts can be transposed directly from the undirected to the directed case by replacing the word edge by the word arc. These are: sub digraphs, induced sub digraphs, spanning sub digraphs, directed walks, directed trails, directed paths and directed cycles, which we also call circuits.

For example, a directed walk is a sequence of elements, alternately vertices and arcs beginning and ending with a vertex, and such that each arc has for its tail the preceding vertex in the sequence and for its head the following vertex. The first and the last vertices are the ends. A directed cycle, or circuit, is a closed directed path of length ≥ 1 (its ends coincide). We say that a directed walk or a directed cycle goes through an arc or a vertex if it contains this arc or vertex. The length of a directed walk or a directed cycle is the number of its arcs. As with graphs, a directed walk in a digraph may have zero length but a cycle must have a length ≥ 1.

Figure1.2. A strict directed graph, with, in bold: (a) a directed closed trail (x, c,w, e, z, g,u,h,w, f, v, d, y, a,x); (b) a circuit (x, b, z, g, u, h,w, f, v, d, y, a, x)

The following concepts have a definition specific to the directed case.

1.1.6 In degrees and out degrees

The indegree of a vertex x of a digraph G is the number of arcs entering into x .The outdegree of x is the number of arcs exiting from x. These are denoted by dG(x), or d(x), and d+G(x), or d+(x), and are integers. It is easily seen that:

Loops are not often considered in digraphs, nevertheless this formula correctly accounts for them, knowing that each loop in a digraph counts for one unit of outdegree and one unit of indegree of the vertex under consideration. We again find the formula for the sum of the degrees given in of Basic Concepts, in observing that for each vertex x we have: dG(x)= d G(x)+d+G(x), so:

A digraph G is strongly connected if for any two distinct vertices x and y there is a directed path going from x to y. Note that as this definition is symmetric in x and y, there is also a directed path from y to x.

A strongly connected component of G is a maximal strongly connected induced subdigraph of G. Maximal means that there is no strongly connected induced subdigraph containing strictly (for the vertices) this subdigraph. These components may also be defined as being the subdigraphs induced by the classes of the following equivalence relation on the vertices: there is a directed path from x to y and a directed path from y to x. These components define a partition of the set of the vertices (but not of the arcs) and constitute decomposition into strongly connected components of G. This decomposition is unique.

The strongly connected components are less simple to determine than the connected components, but there are nevertheless good algorithms (of linear complexity) for finding them.

Figure 1.3. (a) A digraph which is not strongly connected; (b) its three strongly connected components (note that one of them is reduced to a vertex)

Note. Vertices belonging to the same circuit belong to the same strongly connected component (justify).

1.1.8 Representations of digraphs inside a machine

The same principle used to represent a (undirected) graph inside a machine can be applied to digraphs, with a few additional specifications because of orientation.

1. The adjacency matrix M =(mij ) of a digraph G =(X,A), with X = {x1,...,xn}, is defined by putting mij equal to the number of arcs of which the associated ordered pair is (xi,xj ). Contrary to the undirected case, this square matrix is not usually symmetric (but it is the case with a symmetric digraph).

2. The data for the neighborhood of each vertex can be given by lists of successors: each list associated with a vertex contains the successors of that vertex. Classically, it is possible to implement these lists as linked lists. In concrete terms, a table indexed on the vertex type contains for each vertex an access pointer to its list of successors. For some applications  the digraph is more naturally represented by lists of predecessors. Each vertex is associated with the list of its predecessors. It is not very hard to go from one to the other, that is from successors’ lists to predecessors’ lists and vice versa (write the corresponding algorithms).

Another way to model a digraph using the neighborhoods of its vertices (which we will use in Chapter 8 for flows) is to give for each vertex the set of arcs exiting from this vertex and the set of arcs entering this vertex.

3. The list of arcs constitutes the third principle of the implementation of digraphs. In concrete terms, it is also possible to have an array indexed on the type arc, the arcs being numbered from 1 to m, with the ordered pair of its endvertices associated with each arc. These data can be given in a record composed of two fields, in the order: the tail of the arc, then its head.

The advantages and inconveniences of these various representations, in particular the memory space required, can be analyzed as in the case of graphs.

Figure 1.4 illustrates these representation principles.

Figure 1.4. Different representations of a (strict) digraph

We also consider weighted digraphs: G =(X,A) with a mapping v : A →R. The implementing of these digraphs by an adjacency matrix, when they are strict, is generally well suited: each entry of the matrix is the value of the corresponding arc. The implementing by list of arcs can also be adapted but in practice the choice is made depending on the entry in the digraph required by the algorithm.


Graph Theory  and Applications ,Jean-Claude Fournier, WILEY, page(83-90)

 

 

 




الجبر أحد الفروع الرئيسية في الرياضيات، حيث إن التمكن من الرياضيات يعتمد على الفهم السليم للجبر. ويستخدم المهندسون والعلماء الجبر يومياً، وتعول المشاريع التجارية والصناعية على الجبر لحل الكثير من المعضلات التي تتعرض لها. ونظراً لأهمية الجبر في الحياة العصرية فإنه يدرّس في المدارس والجامعات في جميع أنحاء العالم. ويُعجب الكثير من الدارسين للجبر بقدرته وفائدته الكبيرتين، إذ باستخدام الجبر يمكن للمرء أن يحل كثيرًا من المسائل التي يتعذر حلها باستخدام الحساب فقط.وجاء اسمه من كتاب عالم الرياضيات والفلك والرحالة محمد بن موسى الخورازمي.


يعتبر علم المثلثات Trigonometry علماً عربياً ، فرياضيو العرب فضلوا علم المثلثات عن علم الفلك كأنهما علمين متداخلين ، ونظموه تنظيماً فيه لكثير من الدقة ، وقد كان اليونان يستعملون وتر CORDE ضعف القوسي قياس الزوايا ، فاستعاض رياضيو العرب عن الوتر بالجيب SINUS فأنت هذه الاستعاضة إلى تسهيل كثير من الاعمال الرياضية.

تعتبر المعادلات التفاضلية خير وسيلة لوصف معظم المـسائل الهندسـية والرياضـية والعلمية على حد سواء، إذ يتضح ذلك جليا في وصف عمليات انتقال الحرارة، جريان الموائـع، الحركة الموجية، الدوائر الإلكترونية فضلاً عن استخدامها في مسائل الهياكل الإنشائية والوصف الرياضي للتفاعلات الكيميائية.
ففي في الرياضيات, يطلق اسم المعادلات التفاضلية على المعادلات التي تحوي مشتقات و تفاضلات لبعض الدوال الرياضية و تظهر فيها بشكل متغيرات المعادلة . و يكون الهدف من حل هذه المعادلات هو إيجاد هذه الدوال الرياضية التي تحقق مشتقات هذه المعادلات.