You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/graph2simplicial/neighborhood_complex_lifting.ipynb
+1-15Lines changed: 1 addition & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -189,21 +189,7 @@
189
189
"In this section we instantiate the lifting technique. For this particular case we are using the *neighbourhood complex* lifting. Given a graph $G = (V, E)$ we denote the vertex of $G$ as $V(G)$. Then the *neighbourhood complex* (a simplicial complex) $N(G)$ has as vertex the set $V(G)$ and as simplices the subsets of $V(G)$ that have a common neighbour.\n",
190
190
"Consequently, this lifts a graph to a simplicial complex of rank $k$ where the is the maximum amount of nodes with which it shares a neighbour. This definition follow from [[1]](https://www.sciencedirect.com/science/article/pii/0097316578900225). \n",
191
191
"\n",
192
-
"The maximum rank $r$ of the simplicial complex (denoting the simplex with highest cardinality) will be of the highest neighbourhood which will in turn, given the definition of a simplex include all of it's subsets as simples. Say, given a simplex $\\sigma$, then $\\forall \\tau \\prec \\sigma$ \n",
"Take any subset $S$ of the combinatorial representation of $\\sigma_v$ with $|S| > 1$. By the above definition, we know that if we take any arbitrairy $u', v' \\in S$ then there is at least one $w'$ such that $(u', w') \\in E(G)$ and $(v', w') \\in E(G)$. This follows from the fact that the choice of $v$ is arbitraty, so if $x$ shares a neighbour with $y$ and $z$ then $y$ shares a neighbour with $z$.\n",
205
-
"\n",
206
-
"The algorithm to compute this will inspect all nodes, all of it's neighbours and then check which nodes share this neighbours. This naive implementation's complexity is $\\mathcal{O}(|V|^3)$, where the worst case is for complete graphs.\n",
192
+
"The maximum rank $r$ of the simplicial complex (denoting the simplex with highest cardinality) will be of the highest neighbourhood. The algorithm to compute this will inspect all nodes, all of it's neighbours and then check which nodes share this neighbours. This naive implementation's complexity is $\\mathcal{O}(|V|^3)$, where the worst case is for complete graphs.\n",
207
193
"\n",
208
194
"\n",
209
195
"Note that we can set the parameter `complex_dim` as high as we like to limit the size of the neighbourhood that is taken into account since for well connected graphs this will explode exponentially for the number of simplices created. \n",
0 commit comments