private void addSingleton ( TempCluster clus , DBIDRef id , double dist , boolean asCluster ) { if ( asCluster ) { clus . addChild ( makeSingletonCluster ( id , dist ) ) ; } else { clus . add ( id ) ; } clus . depth = dist ; }
Add a singleton object , as point or cluster .