public static class TestSwitchClasses.Computation2 extends AbstractComputation<org.apache.hadoop.io.IntWritable,TestSwitchClasses.StatusValue,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.DoubleWritable>
Constructor and Description |
---|
Computation2() |
Modifier and Type | Method and Description |
---|---|
void |
compute(Vertex<org.apache.hadoop.io.IntWritable,TestSwitchClasses.StatusValue,org.apache.hadoop.io.IntWritable> vertex,
Iterable<org.apache.hadoop.io.IntWritable> messages) |
addEdgeRequest, addVertexRequest, addVertexRequest, getContext, getMyWorkerIndex, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerContext, getWorkerCount, getWorkerForVertex, initialize, postSuperstep, preSuperstep, removeEdgesRequest, removeVertexRequest, sendMessage, sendMessageToAllEdges, sendMessageToMultipleEdges
aggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsage
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf
setConf
getBroadcast
reduce, reduceMerge
aggregate
getAggregatedValue
public void compute(Vertex<org.apache.hadoop.io.IntWritable,TestSwitchClasses.StatusValue,org.apache.hadoop.io.IntWritable> vertex, Iterable<org.apache.hadoop.io.IntWritable> messages) throws IOException
compute
in interface Computation<org.apache.hadoop.io.IntWritable,TestSwitchClasses.StatusValue,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.DoubleWritable>
compute
in class AbstractComputation<org.apache.hadoop.io.IntWritable,TestSwitchClasses.StatusValue,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.DoubleWritable>
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.