Searched refs:selfdist (Results 1 – 1 of 1) sorted by relevance
718 numeric_t *selfdist; /* Saved for use in some formulas */ member2640 NJ->selfdist = (numeric_t *)mymalloc(sizeof(numeric_t)*NJ->maxnodes); in InitNJ()2641 for (iNode = 0; iNode < NJ->maxnodes; iNode++) NJ->selfdist[iNode] = 0; in InitNJ()2690 NJ->selfdist = myfree(NJ->selfdist, sizeof(numeric_t)*NJ->maxnodes); in FreeNJ()2874 - NJ->selfdist[join.i] * NJ->selfweight[join.i] - rawIJ * join.weight; in FastNJ()2876 - NJ->selfdist[join.j] * NJ->selfweight[join.j] - rawIJ * join.weight; in FastNJ()2959 besthit_t selfdist; in FastNJ() local2961 NJ->selfdist[newnode] = selfdist.dist; in FastNJ()2962 NJ->selfweight[newnode] = selfdist.weight; in FastNJ()7593 * (dist.dist * dist.weight * nActive - NJ->selfweight[iNode] * NJ->selfdist[iNode]); in SetOutDistance()[all …]