- All Implemented Interfaces:
- org.apache.giraph.conf.GiraphConfigurationSettable<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable>, org.apache.giraph.conf.ImmutableClassesGiraphConfigurable<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable>
public class LayoutInputFormat
extends org.apache.giraph.io.formats.TextVertexInputFormat<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable>
This class is used to load data for the layout computation. It is a JSON format formed as follows:
[id, partition, connected component, x coordinate, y coordinate, n. of one degree vertices neighbors,[ [neighbor vertex Id, neighbor vertex partition] {,[neighbor vertex Id, neighbor vertex partition]}* ]]
It fits SpinnerVertexOutputFormat.
- Author:
- Alessio Arleo