Description Usage Arguments Value Examples
Generates a random, valid 3-GCP instance, without connectivity guarantee
1 | graph_random(N, density = 2)
|
N |
Integer - number of vertices in the graph. |
density |
0..1 - edge density in the graph. |
a list with two elements: V - number of nodes in the graph, and E - an edge list in the shape of a 2xE matrix. The graph is guaranteed to have a valid 3-coloring, but not guaranteed to be connected.
1 | generate_random(10,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.