expandNodes(index, distFunction, dataPair, knns);
}
// pair of objects
else {
// set handled
LeafEntry e1 = (LeafEntry) dataPair.entry1;
LeafEntry e2 = (LeafEntry) dataPair.entry2;
final DBID e1id = e1.getDBID();
List<TreeIndexPathComponent<DeLiCluEntry>> path = index.setHandled(e1id, relation.get(e1id));
if(path == null) {
throw new RuntimeException("snh: parent(" + e1id + ") = null!!!");
}
// add to cluster order
clusterOrder.add(e1id, e2.getDBID(), dataPair.distance);
numHandled++;
// reinsert expanded leafs
reinsertExpanded(distFunction, index, path, knns);
if(progress != null) {