sketch.segment.node.maxid

Syntax

i := sketch.segment.node.maxid(sp)

Get the maximum ID number assigned to any node in the set sp. The next node created will be assigned this value plus one.

Returns:

i - maximum ID number of any node in the set

Arguments:

sp - sketch set pointer