|
|
Line 1: |
Line 1: |
| {{No footnotes|date=March 2010}}
| | Greetings. The writer's name is Phebe and she feels comfy when individuals use the complete title. Years ago we moved to North Dakota. Body developing is 1 of the issues I love most. Supervising is my occupation.<br><br>my weblog [http://Tomport.ru/node/19667 over the counter std test] |
| | |
| An '''ordered graph''' is a [[Graph (mathematics)|graph]] with a [[total order]] over its nodes.
| |
| | |
| In an ordered graph, the parents of a node are the nodes that are joined to it and precede it in the ordering. More precisely, <math>n</math> is a parent of <math>m</math> in the ordered graph <math>\langle N,E,< \rangle</math> if <math>(n,m) \in E</math> and <math>n < m</math>. The width of a node is the number of its parents, and the width of an ordered graph is the maximal width of its nodes.
| |
| | |
| The '''induced graph''' of an ordered graph is obtained by adding some edges to an ordering graph, using the method outlined below. The '''induced width''' of an ordered graph is the width of its induced graph.
| |
| | |
| Given an ordered graph, its induced graph is another ordered graph obtained by joining some pairs of nodes that are both parents of another node. In particular, nodes are considered in turn according to the ordering, from last to first. For each node, if two of its parents are not joined by an edge, that edge is added. In other words, when considering node <math>n</math>, if both <math>m</math> and <math>l</math> are parents of it and are not joined by an edge, the edge <math>(m,l)</math> is added to the graph. Since the parents of a node are always connected with each other, the induced graph is always [[Chordal graph|chordal]].
| |
| | |
| As an example, the induced graph of an ordered graph is calculated. The ordering is represented by the position of its nodes in the figures: a is the last node and d is the first.
| |
| | |
| {| cellpadding=10 style="border: gray solid thin;"
| |
| |-
| |
| | [[Image:Induced-1.svg]]
| |
| | [[Image:Induced-2.svg]]
| |
| | [[Image:Induced-3.svg]]
| |
| |-
| |
| | The original graph.
| |
| | Edge added considering the parents of <math>a</math>
| |
| | Edge added considering the parents of <math>b</math>
| |
| |}
| |
| | |
| Node <math>a</math> is considered first. Its parents are <math>b</math> and <math>c</math>, as they are both joined to <math>a</math> and both precede <math>a</math> in the ordering. Since they are not joined by an edge, one is added.
| |
| | |
| Node <math>b</math> is considered second. While this node only has <math>d</math> as a parent in the original graph, it also has <math>c</math> as a parent in the partially built induced graph. Indeed, <math>c</math> is joined to <math>b</math> and also precede <math>b</math> in the ordering. As a result, an edge joining <math>c</math> and <math>d</math> is added.
| |
| | |
| Considering <math>d</math> does not produce any change, as this node has no parents.
| |
| | |
| Processing nodes in order matters, as the introduced edges may create new parents, which are then relevant to the introduction of new edges. The following example shows that a different ordering produces a different induced graph of the same original graph. The ordering is the same as above but <math>b</math> and <math>c</math> are swapped.
| |
| | |
| {| cellpadding=10 style="border: gray solid thin;"
| |
| |-
| |
| | [[Image:Induced-4.svg]]
| |
| | [[Image:Induced-5.svg]]
| |
| |-
| |
| | Same graph, but the order of <math>b</math> and <math>c</math> is swapped
| |
| | Graph after considering <math>a</math>
| |
| |}
| |
| | |
| As in the previous case, both <math>b</math> and <math>c</math> are parents of <math>a</math>. Therefore, an edge between them is added. According to the new order, the second node that is considered is <math>c</math>. This node has only one parent (<math>b</math>). Therefore, no new edge is added. The third considered node is <math>b</math>. Its only parent is <math>d</math>. Indeed, <math>b</math> and <math>c</math> are not joined this time. As a result, no new edge is introduced. Since <math>d</math> has no parent as well, the final induced graph is the one above. This induced graph differs from the one produced by the previous ordering.
| |
| | |
| ==See also==
| |
| | |
| *[[Directed graph]]
| |
| *[[Local consistency]]
| |
| | |
| ==References==
| |
| | |
| *{{cite book
| |
| | first=Rina
| |
| | last=Dechter
| |
| | title=Constraint Processing
| |
| | publisher=Morgan Kaufmann
| |
| | year=2003
| |
| | url=http://www.ics.uci.edu/~dechter/books/index.html
| |
| }} ISBN 1-55860-890-7
| |
| | |
| [[Category:Constraint programming]]
| |
| [[Category:Extensions and generalizations of graphs]]
| |
Greetings. The writer's name is Phebe and she feels comfy when individuals use the complete title. Years ago we moved to North Dakota. Body developing is 1 of the issues I love most. Supervising is my occupation.
my weblog over the counter std test