| verify_that_generated_solution_really_is_a_solution | R Documentation | 
Theoretically, this should not be necessary, but checking it here to make sure that the implementation is working correctly. Correct solutions will have every species attaining a representation fraction of their target of at least 1 (where 1 means exactly meeting their target).
verify_that_generated_solution_really_is_a_solution( bpm, dependent_node_IDs, num_spp, num_PUs, PU_costs )
| bpm | bipartite matrix; integer matrix with one row for each species and one column for each planning unit. Each matrix entry specifies whether that species occupies that planning unit; 1 indicates the species does occupy the planning unit and 0 indicates it does not. Same as occ_matrix. | 
| dependent_node_IDs | integer vector of IDs of planning units contained in a constructed correct solution to a Xu problem | 
| num_spp | integer number of species in the problem | 
| num_PUs | integer number of planning units | 
| PU_costs | numeric vector of planning unit costs | 
Returns TRUE if given solution does cover all species targets; quits otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.