districts | R Documentation |
The usual familial relations between vertices in mixed graphs.
districts(graph, ...)
un(graph, sort = 1)
neighbourhoods(graph, undirected_only = TRUE)
cliques(graph, sort = 1, max_len)
graph |
|
... |
other arguments, not currently used |
sort |
should output be sorted? sort=3 will also sort cliques |
undirected_only |
logical: should vertices not adjacent to an undirected edge be ignored? |
max_len |
maximum size of clique to consider |
districts
and neighbourhoods
find the
bidirected-connected and undirected-connected components of graph
.
un
finds the undirected part of graph
.
cliques
uses the Bron-Kirbosch algorithm to find
maximal fully-connected subsets.
un()
: Obtain undirected component
neighbourhoods()
: Obtain neighbourhoods
cliques()
: Obtain maximal complete undirected subsets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.