ai-content-maker/.venv/Lib/site-packages/sklearn/cluster/_hierarchical_fast.pxd

10 lines
245 B
Cython
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
from ..utils._typedefs cimport intp_t
cdef class UnionFind:
cdef intp_t next_label
cdef intp_t[:] parent
cdef intp_t[:] size
cdef void union(self, intp_t m, intp_t n) noexcept
cdef intp_t fast_find(self, intp_t n) noexcept