1 #ifndef SYNCLUST_NEIGHBORS_H
2 #define SYNCLUST_NEIGHBORS_H
4 #include "sources/utils/boolean.h"
7 // evaluate distance between M[i,] and M[ii,]
17 // symmetrize neighborhoods lists (augmenting or reducing)
18 void symmetrizeNeighbors(
24 // restrain neighborhoods: choose one per quadrant (for convex optimization)
25 void restrainToQuadrants(
32 // structure to store a neighbor index and the distance to this neighbor
33 typedef struct IndDist
{
38 // Function to obtain neighborhoods.
39 // NOTE: alpha = weight parameter to compute distances; -1 means "adaptive"
40 List
** getNeighbors_core(