View source: R/bipartite_matching_algorithm_v3.R
This function performs graph matching between a bipartite and a unipartite graph that are assumed to share a common set of vertices. The method performs an alignment of the non-zero entries of the inverse covariance matrix of the bipartite graph, and the nonzero entries of the unipartite adjacency matrix.
1 2 3 4 5 6 7 8 9 10 |
A |
Adjacency matrix of the unipartite graph. |
B |
Bipartite graph incidence matrix, where rows correspond to the vertices in common with the unipartite graph. |
Q_true |
A permutation matrix with the true solution, if known. When the true solution is unknown, the default is NULL. |
lambdas |
Penalty values for the optimization algorithm. |
MAX_ITER |
Maximum number of iterations. |
verbose |
If TRUE, the method prints an output after each iteration. |
covariance |
Wheter to use covariance or correlation matrix. |
seeds |
If some vertices have known correspondence, a vector containing the indexes of these vertices can be passed through this parameter, and the corresponding rows of A and B are assumed to be aligned. The algorithm will then match the remaining vertices. The default is NULL if no seeds are available. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.