neighborhood (graph theory)
   HOME

TheInfoList



OR:

In
graph theory In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, an adjacent vertex of a vertex in a
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discret ...
is a vertex that is connected to by an
edge Edge or EDGE may refer to: Technology Computing * Edge computing, a network load-balancing system * Edge device, an entry point to a computer network * Adobe Edge, a graphical development application * Microsoft Edge, a web browser developed by ...
. The neighbourhood of a vertex in a graph is the subgraph of induced by all vertices adjacent to , i.e., the graph composed of the vertices adjacent to and all edges connecting vertices adjacent to . The neighbourhood is often denoted or (when the graph is unambiguous) . The same neighbourhood notation may also be used to refer to sets of adjacent vertices rather than the corresponding induced subgraphs. The neighbourhood described above does not include itself, and is more specifically the open neighbourhood of ; it is also possible to define a neighbourhood in which itself is included, called the closed neighbourhood and denoted by . When stated without any qualification, a neighbourhood is assumed to be open. Neighbourhoods may be used to represent graphs in computer algorithms, via the
adjacency list In graph theory and computer science, an adjacency list is a collection of unordered lists used to represent a finite graph. Each unordered list within an adjacency list describes the set of neighbors of a particular vertex in the graph. This ...
and
adjacency matrix In graph theory and computer science, an adjacency matrix is a square matrix used to represent a finite graph (discrete mathematics), graph. The elements of the matrix (mathematics), matrix indicate whether pairs of Vertex (graph theory), vertices ...
representations. Neighbourhoods are also used in the
clustering coefficient In graph theory, a clustering coefficient is a measure of the degree to which nodes in a graph tend to cluster together. Evidence suggests that in most real-world networks, and in particular social networks, nodes tend to create tightly knit groups ...
of a graph, which is a measure of the average
density Density (volumetric mass density or specific mass) is the ratio of a substance's mass to its volume. The symbol most often used for density is ''ρ'' (the lower case Greek letter rho), although the Latin letter ''D'' (or ''d'') can also be u ...
of its neighbourhoods. In addition, many important classes of graphs may be defined by properties of their neighbourhoods, or by symmetries that relate neighbourhoods to each other. An
isolated vertex In discrete mathematics, and more specifically in graph theory, a vertex (plural vertices) or node is the fundamental unit of which graphs are formed: an Graph (discrete mathematics)#Graph, undirected graph consists of a set of vertices and a s ...
has no adjacent vertices. The degree of a vertex is equal to the number of adjacent vertices. A special case is a loop that connects a vertex to itself; if such an edge exists, the vertex belongs to its own neighbourhood.


Local properties in graphs

If all vertices in ''G'' have neighbourhoods that are
isomorphic In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
to the same graph ''H'', ''G'' is said to be ''locally H'', and if all vertices in ''G'' have neighbourhoods that belong to some graph family ''F'', ''G'' is said to be ''locally F''. For instance, in the octahedron graph, shown in the figure, each vertex has a neighbourhood isomorphic to a cycle of four vertices, so the octahedron is locally ''C''4. For example: * Any
complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices i ...
''K''''n'' is locally ''K''''n-1''. The only graphs that are locally complete are disjoint unions of complete graphs. * A
Turán graph The Turán graph, denoted by T(n,r), is a complete multipartite graph; it is formed by partitioning a set of n vertices into r subsets, with sizes as equal as possible, and then connecting two vertices by an edge if and only if they belong to di ...
''T''(''rs'',''r'') is locally ''T''((''r''-1)''s'',''r''-1). More generally any Turán graph is locally Turán. * Every
planar graph In graph theory, a planar graph is a graph (discrete mathematics), graph that can be graph embedding, embedded in the plane (geometry), plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. ...
is locally outerplanar. However, not every locally outerplanar graph is planar. * A graph is triangle-free if and only if it is locally
independent Independent or Independents may refer to: Arts, entertainment, and media Artist groups * Independents (artist group), a group of modernist painters based in Pennsylvania, United States * Independentes (English: Independents), a Portuguese artist ...
. * Every ''k''-
chromatic Diatonic and chromatic are terms in music theory that are used to characterize scales. The terms are also applied to musical instruments, intervals, chords, notes, musical styles, and kinds of harmony. They are very often used as a pair, es ...
graph is locally (''k''-1)-chromatic. Every locally ''k''-chromatic graph has chromatic number O(\sqrt). * If a graph family ''F'' is closed under the operation of taking induced subgraphs, then every graph in ''F'' is also locally ''F''. For instance, every chordal graph is locally chordal; every
perfect graph In graph theory, a perfect graph is a Graph (discrete mathematics), graph in which the Graph coloring, chromatic number equals the size of the maximum clique, both in the graph itself and in every induced subgraph. In all graphs, the chromatic nu ...
is locally perfect; every
comparability graph In graph theory and order theory, a comparability graph is an undirected graph that connects pairs of elements that are comparable to each other in a partial order. Comparability graphs have also been called transitively orientable graphs, partial ...
is locally comparable; every (k)-(ultra)-homogeneous graph is locally (k)-(ultra)-homogeneous. * A graph is locally cyclic if every neighbourhood is a cycle. For instance, the
octahedron In geometry, an octahedron (: octahedra or octahedrons) is any polyhedron with eight faces. One special case is the regular octahedron, a Platonic solid composed of eight equilateral triangles, four of which meet at each vertex. Many types of i ...
is the unique connected locally ''C''4 graph, the
icosahedron In geometry, an icosahedron ( or ) is a polyhedron with 20 faces. The name comes . The plural can be either "icosahedra" () or "icosahedrons". There are infinitely many non- similar shapes of icosahedra, some of them being more symmetrical tha ...
is the unique connected locally ''C''5 graph, and the
Paley graph In mathematics, Paley graphs are undirected graphs constructed from the members of a suitable finite field by connecting pairs of elements that differ by a quadratic residue. The Paley graphs form an infinite family of conference graphs, which yiel ...
of order 13 is locally ''C''6. Locally cyclic graphs other than ''K''4 are exactly the underlying graphs of Whitney triangulations, embeddings of graphs on surfaces in such a way that the faces of the embedding are the cliques of the graph.; ; Locally cyclic graphs can have as many as n^ edges. *
Claw-free graph In graph theory, an area of mathematics, a claw-free graph is a graph that does not have a claw (graph theory), claw as an induced subgraph. A claw is another name for the complete bipartite graph K_ (that is, a star graph comprising three edges, ...
s are the graphs that are locally co- triangle-free; that is, for all vertices, the
complement graph In the mathematical field of graph theory, the complement or inverse of a graph is a graph on the same vertices such that two distinct vertices of are adjacent if and only if they are not adjacent in . That is, to generate the complement of ...
of the neighbourhood of the vertex does not contain a triangle. A graph that is locally ''H'' is claw-free if and only if the independence number of ''H'' is at most two; for instance, the graph of the regular icosahedron is claw-free because it is locally ''C''5 and ''C''5 has independence number two. * The locally linear graphs are the graphs in which every neighbourhood is an induced matching. * The Johnson graphs are locally grid, meaning that each neighborhood is a rook's graph.


Neighbourhood of a set

For a set ''A'' of vertices, the neighbourhood of ''A'' is the union of the neighbourhoods of the vertices, and so it is the set of all vertices adjacent to at least one member of ''A''. A set ''A'' of vertices in a graph is said to be a module if every vertex in ''A'' has the same set of neighbours outside of ''A''. Any graph has a uniquely recursive decomposition into modules, its
modular decomposition In Graph (discrete mathematics), graph theory, the modular decomposition is a decomposition of a Graph (discrete mathematics), graph into subsets of Vertex (graph theory), vertices called modules. A ''module'' is a generalization of a Connected c ...
, which can be constructed from the graph in
linear time In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations ...
; modular decomposition algorithms have applications in other graph algorithms including the recognition of
comparability graph In graph theory and order theory, a comparability graph is an undirected graph that connects pairs of elements that are comparable to each other in a partial order. Comparability graphs have also been called transitively orientable graphs, partial ...
s.


See also

*
Markov blanket In statistics and machine learning, a Markov blanket of a random variable is a minimal set of variables that renders the variable conditionally independent of all other variables in the system. This concept is central in probabilistic graphical ...
* Moore neighbourhood * Von Neumann neighbourhood * Second neighborhood problem *
Vertex figure In geometry, a vertex figure, broadly speaking, is the figure exposed when a corner of a general -polytope is sliced off. Definitions Take some corner or Vertex (geometry), vertex of a polyhedron. Mark a point somewhere along each connected ed ...
, a related concept in polyhedra * Link (simplicial complex), a generalization of the neighborhood to simplicial complexes


Notes


References

*; see in particular pp. 89–90 * *. *. *. *. *. *. *{{citation , last = Wigderson , first = Avi , author-link = Avi Wigderson , doi = 10.1145/2157.2158 , issue = 4 , journal =
Journal of the ACM The ''Journal of the ACM'' (''JACM'') is a peer-reviewed scientific journal covering computer science in general, especially theoretical aspects. It is an official journal of the Association for Computing Machinery. Its current editor-in-chief is ...
, pages = 729–735 , title = Improving the performance guarantee for approximate graph coloring , volume = 30 , year = 1983, s2cid = 32214512 , doi-access = free . Graph theory objects