| mask_forbidden | R Documentation |
forbidden sentinel to a cost matrixEvery front door that documents a forbidden argument masks with this one,
so lap_solve(), lap_solve_batch() and lap_solve_kbest() read the same
sentinel the same way. NA and Inf cells are forbidden to the solvers
already, so forbidden = NA is the identity.
mask_forbidden(cost_matrix, forbidden = NA)
The cost matrix with sentinel cells replaced by Inf.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.