{ } Raw JSON

bundles / skimage latest / skimage / graph / _mcp / MCP_Flexible / update_node

cython_function_or_method

skimage.graph._mcp:MCP_Flexible.update_node

Signature

def   update_node ( self index new_index offset_length )

Summary

update_node(index, new_index, offset_length) This method is called when a node is updated, right after new_index is pushed onto the heap and the traceback map is updated.

Extended Summary

This method can be overloaded to keep track of other arrays that are used by a specific implementation of the algorithm. For instance the MCP_Connect class uses it to update an id map.

Aliases

  • skimage.graph.MCP_Flexible.update_node