public static class GraphReintegration.MaxSlopeReintegrateOneDegrees extends GraphReintegration.PlainGraphReintegration
added, aperture, DEGREE_TO_RADIANS_CONSTANT, isRadiusDynamic, k, padding, paddingDefault, RADIANS_TO_DEGREE_CONSTANT, radius
Constructor and Description |
---|
GraphReintegration.MaxSlopeReintegrateOneDegrees() |
Modifier and Type | Method and Description |
---|---|
void |
compute(org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable> vertex,
java.lang.Iterable<LayoutMessage> messages) |
protected void |
computePositions(int size,
org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable> vertex,
java.lang.Iterable<LayoutMessage> itl) |
void |
preSuperstep() |
protected void |
rebuild(int size,
org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable> vertex) |
protected void |
storeInformation(float slope,
float startSlope) |
computeOneDegreeVerticesCoordinates, placeVerticesInCone, reconstructGraph, reconstructGraphKeepingIterator, vertexPlacer
addEdgeRequest, addVertexRequest, addVertexRequest, getContext, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerContext, initialize, postSuperstep, removeEdgesRequest, removeVertexRequest, sendMessage, sendMessageToAllEdges, sendMessageToMultipleEdges
aggregate, getAggregatedValue, getBroadcast, reduce, setWorkerGlobalCommUsage
getConf, setConf
public GraphReintegration.MaxSlopeReintegrateOneDegrees()
public void compute(org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable> vertex, java.lang.Iterable<LayoutMessage> messages) throws java.io.IOException
compute
in interface org.apache.giraph.graph.Computation<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable,LayoutMessage,LayoutMessage>
compute
in class org.apache.giraph.graph.AbstractComputation<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable,LayoutMessage,LayoutMessage>
java.io.IOException
protected void computePositions(int size, org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable> vertex, java.lang.Iterable<LayoutMessage> itl) throws java.io.IOException
java.io.IOException
public void preSuperstep()
preSuperstep
in interface org.apache.giraph.graph.Computation<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable,LayoutMessage,LayoutMessage>
preSuperstep
in class GraphReintegration.PlainGraphReintegration
protected void rebuild(int size, org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable> vertex) throws java.io.IOException
java.io.IOException
protected void storeInformation(float slope, float startSlope)