Factor-control-flow-graph: различия между версиями
Glk (обсуждение | вклад) (Новая страница: «'''Factor-control-flow-graph''' --- фактор-уграф. Let <math>R</math> be a set of alts of a cf-graph <math>G</math> such that every node of <math>G</math>…») |
KVN (обсуждение | вклад) Нет описания правки |
||
Строка 20: | Строка 20: | ||
of some subset <math>Y\subset V(G)</math>. | of some subset <math>Y\subset V(G)</math>. | ||
Then <math>R(G)</math> is defined as cf-graph <math>R'(G)</math>, where <math>R'=R\bigcup \{ \{p\}: p\in V(G)\setminus Y\}</math>. | Then <math>R(G)</math> is defined as cf-graph <math>R'(G)</math>, where <math>R'=R\bigcup \{ \{p\}: p\in V(G)\setminus Y\}</math>. | ||
[[Категория: Сводимые и регуляризуемые графы]] |
Текущая версия от 22:08, 11 сентября 2019
Factor-control-flow-graph --- фактор-уграф.
Let [math]\displaystyle{ R }[/math] be a set of alts of a cf-graph [math]\displaystyle{ G }[/math] such that every node of [math]\displaystyle{ G }[/math] belongs to a single alt from [math]\displaystyle{ R }[/math], i.e. [math]\displaystyle{ R }[/math] forms a partition of [math]\displaystyle{ V(G) }[/math].
The cf-graph [math]\displaystyle{ G' }[/math] in which [math]\displaystyle{ V(G')=R }[/math] is said to be obtained by reduction of alts [math]\displaystyle{ R }[/math] into nodes (notation [math]\displaystyle{ G'=R(G) }[/math]) if the following properties hold:
(1) for any [math]\displaystyle{ C_1,C_2\in R }[/math], [math]\displaystyle{ (C_1,C_2)\in A(G') }[/math] if and only if there are [math]\displaystyle{ p_1\in C_1 }[/math] and [math]\displaystyle{ p_2\in C_2 }[/math] such that [math]\displaystyle{ (p_1,p_2)\in A(G) }[/math],
(2) [math]\displaystyle{ C\in R }[/math] is the initial node of [math]\displaystyle{ G' }[/math] if and only if [math]\displaystyle{ C }[/math] contains the initial node of [math]\displaystyle{ G }[/math],
(3) [math]\displaystyle{ C\in R }[/math] is the terminal node of [math]\displaystyle{ G' }[/math] if and only if [math]\displaystyle{ C }[/math] contains the terminal node of [math]\displaystyle{ G }[/math].
The cf-graph [math]\displaystyle{ G' }[/math] is called a factor-control-flow-graph (or factor-cf-graph) of the cf-graph [math]\displaystyle{ G }[/math] with respect to [math]\displaystyle{ R }[/math].
Let [math]\displaystyle{ R }[/math] be a set of mutually disjoint alts of a cf-graph [math]\displaystyle{ G }[/math] that form a partitation of some subset [math]\displaystyle{ Y\subset V(G) }[/math]. Then [math]\displaystyle{ R(G) }[/math] is defined as cf-graph [math]\displaystyle{ R'(G) }[/math], where [math]\displaystyle{ R'=R\bigcup \{ \{p\}: p\in V(G)\setminus Y\} }[/math].