public class GraphMLClusterWriter extends AbstractClusterWriter
clusterIdToPoints, measure, writer
Constructor and Description |
---|
GraphMLClusterWriter(Writer writer,
Map<Integer,List<WeightedPropertyVectorWritable>> 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, write
public GraphMLClusterWriter(Writer writer, Map<Integer,List<WeightedPropertyVectorWritable>> clusterIdToPoints, DistanceMeasure measure, int numTopFeatures, String[] dictionary, int subString) throws IOException
IOException
public void write(ClusterWritable clusterWritable) throws IOException
ClusterWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstractClusterWriter
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.