bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / graph / _mcp / MCP_Flexible / examine_neighbor
cython_function_or_method
skimage.graph._mcp:MCP_Flexible.examine_neighbor
Signature
def examine_neighbor ( self , index , new_index , offset_length ) Summary
examine_neighbor(index, new_index, offset_length) This method is called once for every pair of neighboring nodes, as soon as both nodes are frozen.
Extended Summary
This method can be overloaded to obtain information about neighboring nodes, and/or to modify the behavior of the MCP algorithm. One example is the MCP_Connect class, which checks for meeting fronts using this hook.
Aliases
-
skimage.graph.MCP_Flexible.examine_neighbor