MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / min

Function min

dynamic_programming/minimum_edit_distance.cpp:68–77  ·  view source on GitHub ↗

* @brief Takes input of the cost of * three operations: Insert, Replace and Delete * and return the minimum cost among them. * @param x used to pass minimum cost of Insert operations * @param y used to pass minimum cost of Replace operations * @param z used to pass minimum cost of Delete operations * @returns x if `x` is the minimum value * @returns y if `y` is the minimum value *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

editDistDPFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected