This function calculates the global minima of the cost matrix; These minima will be the potential starting points The minima calculation is performed on the rows of the lm matrix: i.e. for each row, it finds the local minima, and also checks the edges.
1 | findGlobalMinima(lm, costMatrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.