public class GraphMLClusterWriter extends AbstractClusterWriter
clusterIdToPoints, measure, writer| Constructor and Description |
|---|
GraphMLClusterWriter(Writer writer,
Map<Integer,List<WeightedVectorWritable>> clusterIdToPoints,
DistanceMeasure measure,
int numTopFeatures,
String[] dictionary,
int subString) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(ClusterWritable clusterWritable)
Write out a Cluster
|
getClusterIdToPoints, getTopFeatures, getTopTerms, getWriter, write, writepublic GraphMLClusterWriter(Writer writer, Map<Integer,List<WeightedVectorWritable>> clusterIdToPoints, DistanceMeasure measure, int numTopFeatures, String[] dictionary, int subString) throws IOException
IOExceptionpublic void write(ClusterWritable clusterWritable) throws IOException
ClusterWriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class AbstractClusterWriterIOExceptionCopyright © 2008–2013 The Apache Software Foundation. All rights reserved.