% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_partitions.R
\name{find_neighbors}
\alias{find_neighbors}
\title{Find Neighboring Cluster Partitions Using Midpoint Distance Criterion}
\usage{
find_neighbors(centers, parallel, cl, neighbor_tolerance)
}
\arguments{
\item{centers}{Matrix; rows are cluster center coordinates}

\item{parallel}{Logical; use parallel processing}

\item{cl}{Cluster object for parallel execution}

\item{neighbor_tolerance}{Numeric; scaling factor for distance comparisons}
}
\value{
List where element i contains indices of centers neighboring center i
}
\description{
Identifies neighboring partitions by evaluating whether the midpoint between
cluster centers is closer to those centers than to any other center.
}
\keyword{internal}
