- All Implemented Interfaces:
- org.apache.giraph.conf.GiraphConfigurationSettable<org.apache.hadoop.io.LongWritable,PartitioningVertexValue,EdgeValue>, org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<org.apache.hadoop.io.LongWritable,PartitioningVertexValue,EdgeValue>
public class PartitioningOutputFormat
extends org.apache.giraph.io.formats.TextVertexOutputFormat<org.apache.hadoop.io.LongWritable,PartitioningVertexValue,EdgeValue>
This class outputs the graph partitioning phase result into a text format in which each line represents a
vertex and is structured as follows:
[id, vertex connected component, xcoord, ycoord, n. of pruned one degree vertices associated with the vertex, [[neighbor id] {, [neighbor id]}*]]
It fits LayoutInputFormat. Vertex coordinates can be randomized using the "spinner.doRandomizeCoordinates" option.
- Author:
- Alessio Arleo