{ } Raw JSON

bundles / skimage latest / skimage / graph / _rag / RAG / next_id

function

skimage.graph._rag:RAG.next_id

source: /dev/scikit-image/src/skimage/graph/_rag.py :285

Signature

def   next_id ( self )

Summary

Returns the id for the new node to be inserted.

Extended Summary

The current implementation returns one more than the maximum id.

Returns

id : int

The id of the new node to be inserted.

Aliases

  • skimage.graph.RAG.next_id