Graphical neighbours
Let
and in-neighbours are defined analogously
the cardinality of these being referred to as the out-degree and in-degree respectively.
- If
is a graph, the out-neighbours and in-neighbours coïncide and are denoted . - If
is a multidigraph, these are multisets.