# HG changeset patch # User Madarasi Peter # Date 1480283876 -3600 # Node ID 909bcb203f25dc5100d9a6aec913d56a160db246 # Parent 8349e9e65e1891701c758908afa365b5fed6f681 Fine tune. To be reviewed: abstract, intro, conclusion. diff -r 8349e9e65e18 -r 909bcb203f25 damecco.tex --- a/damecco.tex Sat Nov 26 00:15:22 2016 +0100 +++ b/damecco.tex Sun Nov 27 22:57:56 2016 +0100 @@ -329,10 +329,10 @@ $lab: (V_{small}\cup V_{large}) \longrightarrow K$ is a \textbf{node label function}, where K is an arbitrary set. The elements in K are the \textbf{node labels}. Two nodes, u and v are said to be - \textbf{equivalent}, if $lab(u)=lab(v)$. + \textbf{equivalent} if $lab(u)=lab(v)$. \end{definition} -When node labels are also given, the matched nodes must have the same +When node labels are given, the matched nodes must have the same labels. For example, the node labeled isomorphism is phrased by \begin{definition} $G_{small}$ and $G_{large}$ are \textbf{isomorphic by the node label @@ -345,16 +345,7 @@ \end{center} \end{definition} -The other two definitions can be extended in the same way. - -Note that edge label function can be defined similarly to node label -function, and all the definitions can be extended with additional -conditions, but it is out of the scope of this work. - -The equivalence of two nodes is usually defined by another relation, -$\\R\subseteq (V_{small}\cup V_{large})^2$. This overlaps with the -definition given above if R is an equivalence relation, which does not -mean restriction in biological and chemical applications. +Note that he other two definitions can be extended in the same way. \subsection{Common problems}\label{sec:CommProb} @@ -395,19 +386,19 @@ definitions and notations will be used throughout the whole paper. \begin{definition} A set $M\subseteq V_{small}\times V_{large}$ is called -\textbf{mapping}, if no node of $V_{small}$ or of $V_{large}$ appears +\textbf{mapping} if no node of $V_{small}\cup V_{large}$ appears in more than one pair in M. That is, M uniquely associates some of the nodes in $V_{small}$ with some nodes of $V_{large}$ and vice versa. \end{definition} \begin{definition} -Mapping $M$ \textbf{covers} a node v, if there exists a pair in M, which +Mapping $M$ \textbf{covers} a node v if there exists a pair in M, which contains v. \end{definition} \begin{definition} -A mapping $M$ is $\mathbf{whole\ mapping}$, if $M$ covers all the +A mapping $M$ is $\mathbf{whole\ mapping}$ if $M$ covers all the nodes in $V_{small}$. \end{definition} @@ -418,9 +409,8 @@ \end{notation} \begin{notation} -Let $\mathbf{Pair(M,v)}$ be the pair of $v$ in $M$, if such a node -exist, otherwise $\mathbf{Pair(M,v)}$ is undefined. For a mapping $M$ -and $v\in V_{small}\cup V_{large}$. +Let $\mathbf{Pair(M,v)}$ be the pair of $v$ in $M$ if such a node +exist, otherwise $\mathbf{Pair(M,v)}$ is undefined, where $M$ is a mapping and $v\in V_{small}\cup V_{large}$. \end{notation} Note that if $\mathbf{Pair(M,v)}$ exists, then it is unique @@ -441,26 +431,26 @@ \begin{definition} Let M be a mapping. A logical function $\mathbf{Cons_{PT}}$ is a -\textbf{consistency function by } $\mathbf{PT}$, if the following +\textbf{consistency function by } $\mathbf{PT}$ if the following holds. If there exists whole mapping $W$ of type $PT$ for which $M\subseteq W$, then $Cons_{PT}(M)$ is true. \end{definition} \begin{definition} Let M be a mapping. A logical function $\mathbf{Cut_{PT}}$ is a -\textbf{cutting function by } $\mathbf{PT}$, if the following +\textbf{cutting function by } $\mathbf{PT}$ if the following holds. $\mathbf{Cut_{PT}(M)}$ is false if $M$ can be extended to a whole mapping $W$ of type $PT$. \end{definition} \begin{definition} -$M$ is said to be \textbf{consistent mapping by} $\mathbf{PT}$, if +$M$ is said to be \textbf{consistent mapping by} $\mathbf{PT}$ if $Cons_{PT}(M)$ is true. \end{definition} $Cons_{PT}$ and $Cut_{PT}$ will often be used in the following form. \begin{notation} -Let $\mathbf{Cons_{PT}(p, M)}:=Cons_{PT}(M\cup\{p\})$ and +Let $\mathbf{Cons_{PT}(p, M)}:=Cons_{PT}(M\cup\{p\})$, and $\mathbf{Cut_{PT}(p, M)}:=Cut_{PT}(M\cup\{p\})$, where $p\in{V_{small}\!\times\!V_{large}}$ and $M\cup\{p\}$ is mapping. \end{notation} @@ -508,7 +498,7 @@ $Cut_{PT}(p,M(s))$ are evaluated. If $Cons_{PT}(p,M(s))$ is true and $Cut_{PT}(p,M(s))$ is false, the successor state $\tilde{s}=s\cup \{p\}$ is computed, and the whole process is recursively applied to -$\tilde{s}$. Otherwise, $\tilde{s}$ is not consistent by $PT$ or it +$\tilde{s}$. Otherwise, $\tilde{s}$ is not consistent by $PT$, or it can be proved that $s$ can not be extended to a whole mapping. In order to make sure of the correctness, see @@ -518,13 +508,8 @@ consistent mappings. \end{claim} -Note that a state may be reached in many different ways, since the -order of insertions into M does not influence the nascent mapping. In -fact, the number of different ways which lead to the same state can be -exponentially large. If $G_{small}$ and $G_{large}$ are circles with n -nodes and n different node labels, there exists exactly one graph -isomorphism between them, but it will be reached in $n!$ different -ways. +Note that a state may be reached in exponentially many different ways, since the +order of insertions into $M$ does not influence the nascent mapping. However, one may observe @@ -533,9 +518,9 @@ Let $\prec$ an arbitrary total ordering relation on $V_{small}$. If the algorithm ignores each $p=(u,v) \in P(s)$, for which \begin{center} -$\exists (\hat{u},\hat{v})\in P(s): \hat{u} \prec u$, +$\exists (\tilde{u},\tilde{v})\in P(s): \tilde{u} \prec u$, \end{center} -then no state can be reached more than ones and each state associated +then no state can be reached more than once, and each state associated with a whole mapping remains reachable. \end{claim} @@ -557,7 +542,7 @@ \end{notation} The set $P(s)$ includes the pairs of uncovered neighbours of covered -nodes and if there is not such a node pair, all the pairs containing +nodes, and if there is not such a node pair, all the pairs containing two uncovered nodes are added. Formally, let \[ P(s)\!=\! @@ -578,8 +563,8 @@ For example, the consistency function of induced subgraph isomorphism is as follows. \begin{notation} Let $\mathbf{\Gamma_{small} (u)}:=\{\tilde{u}\in V_{small} : -(u,\tilde{u})\in E_{small}\}$\\ Let $\mathbf{\Gamma_{large} - (v)}:=\{\tilde{v}\in V_{large} : (v,\tilde{v})\in E_{large}\}$ +(u,\tilde{u})\in E_{small}\}$, and $\mathbf{\Gamma_{large} + (v)}:=\{\tilde{v}\in V_{large} : (v,\tilde{v})\in E_{large}\}$, where $u\in V_{small}$ and $v\in V_{large}$. \end{notation} $M(s)\cup \{(u,v)\}$ is a consistent mapping by $IND$ $\Leftrightarrow @@ -656,25 +641,15 @@ \begin{definition} An order $(u_{\sigma(1)},u_{\sigma(2)},..,u_{\sigma(|V_{small}|)})$ of -$V_{small}$ is \textbf{matching order}, if exists $\prec$ total +$V_{small}$ is \textbf{matching order} if exists $\prec$ total ordering relation, s.t. the VF2 with $\prec$ on the d-th level finds pair for $u_{\sigma(d)}$ for all $d\in\{1,..,|V_{small}|\}$. \end{definition} \begin{claim}\label{claim:MOclaim} -A total ordering is matching order, iff the nodes of every component +A total ordering is matching order iff the nodes of every component form an interval in the node sequence, and every node connects to a -previous node in its component except the first node of the -component. The order of the components is arbitrary. \\Formally -spoken, an order -$(u_{\sigma(1)},u_{\sigma(2)},..,u_{\sigma(|V_{small}|)})$ of -$V_{small}$ is matching order $\Leftrightarrow$ $\forall -G'_{small}=(V'_{small},E'_{small})\ component\ of\ G_{small}: \forall -i: (\exists j : j