This function tests if a set of nodes form a clique. A clique is a complete (fully connected) graph. The output of the function is a boolean variable with a value 0 or 1.
1 | is_clique(graph, nodes)
|
graph |
A graph that is stored in an adjacency matrix. |
nodes |
A set of nodes that are expressed in texts, e.g. c("V1", "V2") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.