Description Usage Arguments Value Examples
View source: R/randomConnectionMatrix.R
Generates a connection matrix for a random undirected graph. Intended for input to QAOA_maxcut.
1 | randomConnectionMatrix(nNodes,nEdges)
|
nNodes |
Number of nodes in generated graph |
nEdges |
Number of undirected edges in generated graph |
Connection Matrix specifying the edges of an undirected graph. Rows are source nodes, columns are destination nodes.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.