public class RandomWalkWithRestartComputation extends RandomWalkComputation<org.apache.hadoop.io.DoubleWritable>
| Constructor and Description | 
|---|
| RandomWalkWithRestartComputation() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected double | recompute(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable> vertex,
         Iterable<org.apache.hadoop.io.DoubleWritable> transitionProbabilities,
         double teleportationProbability)Perform a single step of a random walk computation. | 
| protected double | transitionProbability(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable> vertex,
                     double stateProbability,
                     Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable> edge)Compute the probability of transitioning to a neighbor vertex | 
compute, getDanglingProbability, getPreviousCumulativeProbability, initialProbability, teleportationProbabilityaddEdgeRequest, addVertexRequest, addVertexRequest, getContext, getMyWorkerIndex, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerContext, getWorkerCount, getWorkerForVertex, initialize, postSuperstep, preSuperstep, removeEdgesRequest, removeVertexRequest, sendMessage, sendMessageToAllEdges, sendMessageToMultipleEdgesaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfsetConfgetBroadcastreduce, reduceMergeaggregategetAggregatedValueprotected double transitionProbability(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable> vertex, double stateProbability, Edge<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable> edge)
RandomWalkComputationtransitionProbability in class RandomWalkComputation<org.apache.hadoop.io.DoubleWritable>vertex - VertexstateProbability - current steady state probability of the vertexedge - edge to neighborprotected double recompute(Vertex<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable> vertex, Iterable<org.apache.hadoop.io.DoubleWritable> transitionProbabilities, double teleportationProbability)
RandomWalkComputationrecompute in class RandomWalkComputation<org.apache.hadoop.io.DoubleWritable>vertex - VertextransitionProbabilities - Messages received in the previous step.teleportationProbability - Probability of teleporting to another
          vertex.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.