/** * Finds out the cluster directory of the vector and writes it into the specified cluster. */ private void putVectorInRespectiveCluster(String clusterId, WeightedVectorWritable point) throws IOException { Writer writer = findWriterForVector(clusterId); postProcessedClusterDirectories.put(clusterId, PathDirectory.getClusterPathForClusterId(clusterPostProcessorOutput, clusterId)); writeVectorToCluster(writer, point); }
/** * Finds out the cluster directory of the vector and writes it into the specified cluster. */ private void putVectorInRespectiveCluster(String clusterId, WeightedVectorWritable point) throws IOException { Writer writer = findWriterForVector(clusterId); postProcessedClusterDirectories.put(clusterId, PathDirectory.getClusterPathForClusterId(clusterPostProcessorOutput, clusterId)); writeVectorToCluster(writer, point); }
/** * Finds out the cluster directory of the vector and writes it into the specified cluster. */ private void putVectorInRespectiveCluster(String clusterId, WeightedVectorWritable point) throws IOException { Writer writer = findWriterForVector(clusterId); postProcessedClusterDirectories.put(clusterId, PathDirectory.getClusterPathForClusterId(clusterPostProcessorOutput, clusterId)); writeVectorToCluster(writer, point); }