The igraph neighbors() and igraph incident() functions do not allow callers to control how self-loops and…
The igraph neighbors() and igraph incident() functions do not allow callers to control how self-loops and…: a task in LegoFlow-SWE (Harbor dataset). When multiple is IGRAPH NO MULTIPLE , repeating the same neighbour due to parallel edges should be collapsed to a single entry; however, if loops is…
The task
When `multiple` is `IGRAPH_NO_MULTIPLE`, repeating the same neighbour due to parallel edges should be collapsed to a single entry; however, if `loops` is `IGRAPH_LOOPS_TWICE` and the neighbour is the vertex itself, two occurrences are still required.
Part of Lego-X/LegoFlow-SWE.