fbpx
Wikipedia

Ordered graph

An ordered graph is a graph with a total order over its nodes.

In an ordered graph, the parents of a node are the nodes that are adjacent to it and precede it in the ordering.[1] More precisely, is a parent of in the ordered graph if and . 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.[2]

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 , if both and are parents of it and are not joined by an edge, the edge is added to the graph. Since the parents of a node are always connected with each other, the induced graph is always 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.

The original graph. Edge added considering the parents of Edge added considering the parents of

Node is considered first. Its parents are and , as they are both joined to and both precede in the ordering. Since they are not joined by an edge, one is added.

Node is considered second. While this node only has as a parent in the original graph, it also has as a parent in the partially built induced graph. Indeed, is joined to and also precede in the ordering. As a result, an edge joining and is added.

Considering 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 and are swapped.

Same graph, but the order of and is swapped Graph after considering

As in the previous case, both and are parents of . Therefore, an edge between them is added. According to the new order, the second node that is considered is . This node has only one parent (). Therefore, no new edge is added. The third considered node is . Its only parent is . Indeed, and are not joined this time. As a result, no new edge is introduced. Since 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 edit

References edit

  • Dechter, Rina (2003). Constraint Processing. Morgan Kaufmann. ISBN 1-55860-890-7
  1. ^ Page 86 Dechter. (2003). Constraint Processing
  2. ^ Page 87 Dechter. (2003). Constraint Processing

ordered, graph, this, article, includes, list, general, references, lacks, sufficient, corresponding, inline, citations, please, help, improve, this, article, introducing, more, precise, citations, march, 2010, learn, when, remove, this, template, message, ord. This article includes a list of general references but it lacks sufficient corresponding inline citations Please help to improve this article by introducing more precise citations March 2010 Learn how and when to remove this template message An ordered graph is a graph with a total order over its nodes In an ordered graph the parents of a node are the nodes that are adjacent to it and precede it in the ordering 1 More precisely n displaystyle n is a parent of m displaystyle m in the ordered graph N E lt displaystyle langle N E lt rangle if n m E displaystyle n m in E and n lt m displaystyle n lt m 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 2 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 n displaystyle n if both m displaystyle m and l displaystyle l are parents of it and are not joined by an edge the edge m l displaystyle m l is added to the graph Since the parents of a node are always connected with each other the induced graph is always 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 The original graph Edge added considering the parents of a displaystyle a Edge added considering the parents of b displaystyle b Node a displaystyle a is considered first Its parents are b displaystyle b and c displaystyle c as they are both joined to a displaystyle a and both precede a displaystyle a in the ordering Since they are not joined by an edge one is added Node b displaystyle b is considered second While this node only has d displaystyle d as a parent in the original graph it also has c displaystyle c as a parent in the partially built induced graph Indeed c displaystyle c is joined to b displaystyle b and also precede b displaystyle b in the ordering As a result an edge joining c displaystyle c and d displaystyle d is added Considering d displaystyle d 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 b displaystyle b and c displaystyle c are swapped Same graph but the order of b displaystyle b and c displaystyle c is swapped Graph after considering a displaystyle a As in the previous case both b displaystyle b and c displaystyle c are parents of a displaystyle a Therefore an edge between them is added According to the new order the second node that is considered is c displaystyle c This node has only one parent b displaystyle b Therefore no new edge is added The third considered node is b displaystyle b Its only parent is d displaystyle d Indeed b displaystyle b and c displaystyle c are not joined this time As a result no new edge is introduced Since d displaystyle d 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 editDirected graph Local consistencyReferences editDechter Rina 2003 Constraint Processing Morgan Kaufmann ISBN 1 55860 890 7 Page 86 Dechter 2003 Constraint Processing Page 87 Dechter 2003 Constraint Processing Retrieved from https en wikipedia org w index php title Ordered graph amp oldid 926648148, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.