logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mtree_subtree_data_min, mtree_subtree_data_max - return minmax data nodes

Description

       The mtree_subtree_data_min and mtree_subtree_data_max functions return the node number of the minimum and
       maximum data nodes respectively for the subtree with root node root for a tree with base data nodes.

       Nodes are numbered from 0 = root.

Errors

       None.

Library

       Librecast library (liblibrecast, -llibrecast)

Name

       mtree_subtree_data_min, mtree_subtree_data_max - return minmax data nodes

Return Value

       These functions return the number of the min or max data node as appropriate.

See Also

mtree_init(3), mtree_free(3), mtree_build(3), mtree_child(3), mtree_parent(3)

LIBRECAST                                          2023-07-23                              MTREE_SUBTREE_DATA(3)

Synopsis

#include<librecast/mtree.h>size_tmtree_subtree_data_min(size_tbase,size_troot);size_tmtree_subtree_data_max(size_tbase,size_troot);

       Compile and link with -llibrecast.

See Also