public void printClusteringCenters ( Writer stream ) throws IOException { if ( center != null && getClusteringFeature ( ) != null ) { getClusteringFeature ( ) . printClusterCenter ( stream ) ; } for ( ClusteringTreeNode child : children ) { child . printClusteringCenters ( stream ) ; } }
Writes all clustering centers of the ClusterFeatures of the tree with this node as the root to a given stream .