{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / graph / _mcp / MCP_Flexible

class

skimage.graph._mcp:MCP_Flexible

source: /dev/scikit-image/build/cp314/src/skimage/graph/_mcp.cpython-314-darwin.so

Signature

class   MCP_Flexible ( costs offsets = None fully_connected = True )

Members

Summary

Find minimum cost paths through an N-d costs array.

Extended Summary

See the documentation for MCP for full details. This class differs from MCP in that several methods can be overloaded (from pure Python) to modify the behavior of the algorithm and/or create custom algorithms based on MCP. Note that goal_reached can also be overloaded in the MCP class.

Aliases

  • skimage.graph.MCP_Flexible