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) |
computePositionscomputeOneDegreeVerticesCoordinates, placeVerticesInCone, reconstructGraph, reconstructGraphKeepingIterator, vertexPlaceraddEdgeRequest, addVertexRequest, addVertexRequest, getContext, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerContext, initialize, postSuperstep, removeEdgesRequest, removeVertexRequest, sendMessage, sendMessageToAllEdges, sendMessageToMultipleEdgesaggregate, getAggregatedValue, getBroadcast, reduce, setWorkerGlobalCommUsagegetConf, setConfprotected 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.MaxSlopeReintegrateOneDegreesjava.io.IOExceptionpublic void preSuperstep()
preSuperstep in interface org.apache.giraph.graph.Computation<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.NullWritable,LayoutMessage,LayoutMessage>preSuperstep in class GraphReintegration.MaxSlopeReintegrateOneDegreesprotected 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.MaxSlopeReintegrateOneDegreesjava.io.IOExceptionprotected void storeInformation(float slope,
float startSlope)
storeInformation in class GraphReintegration.MaxSlopeReintegrateOneDegrees