public static class GraphReintegration.FairShareReintegrateOneEdges extends GraphReintegration.MaxSlopeReintegrateOneDegrees
Modifier and Type | Field and Description |
---|---|
protected float |
lowThreshold |
protected java.util.HashMap<java.lang.Float,java.lang.Float> |
slopes |
added, aperture, DEGREE_TO_RADIANS_CONSTANT, isRadiusDynamic, k, padding, paddingDefault, RADIANS_TO_DEGREE_CONSTANT, radius
Constructor and Description |
---|
GraphReintegration.FairShareReintegrateOneEdges() |
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) |
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) |
computePositions
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
protected float lowThreshold
protected java.util.HashMap<java.lang.Float,java.lang.Float> slopes
public GraphReintegration.FairShareReintegrateOneEdges()
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 GraphReintegration.MaxSlopeReintegrateOneDegrees
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.MaxSlopeReintegrateOneDegrees
protected void rebuild(int size, org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable> vertex) throws java.io.IOException
rebuild
in class GraphReintegration.MaxSlopeReintegrateOneDegrees
java.io.IOException
protected void storeInformation(float slope, float startSlope)
storeInformation
in class GraphReintegration.MaxSlopeReintegrateOneDegrees