hungarian_cc: Compute the hungarian matrix

Description Usage Arguments Value References See Also

View source: R/RcppExports.R

Description

This function calls an implementation of the Hungarian algorithm by Munkres. The Hungarian algorithm solves a weighted assignment problem on a bipartite graph. Note, here this algorithm is used in the re-labeling algorithm by Stephens (1997b).

Usage

1

Arguments

cost

A matrix containing the costs for each row source and column target.

Value

An integer matrix defining the best solution to the assignment problem.

References

See Also


simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.