public class PageRank extends Object implements Computation<DoubleValue>
| 限定符和类型 | 字段和说明 |
|---|---|
static double |
CONF_ALPHA_DEFAULT |
static String |
CONF_ALPHA_KEY |
| 构造器和说明 |
|---|
PageRank() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterSuperstep(WorkerContext context) |
void |
beforeSuperstep(WorkerContext context) |
String |
category() |
void |
close(Config config) |
void |
compute(ComputationContext context,
Vertex vertex,
Iterator<DoubleValue> messages) |
void |
compute0(ComputationContext context,
Vertex vertex) |
void |
init(Config config) |
String |
name() |
public static final double CONF_ALPHA_DEFAULT
public String name()
name 在接口中 Computation<DoubleValue>public String category()
category 在接口中 Computation<DoubleValue>public void compute0(ComputationContext context, Vertex vertex)
compute0 在接口中 Computation<DoubleValue>public void compute(ComputationContext context, Vertex vertex, Iterator<DoubleValue> messages)
compute 在接口中 Computation<DoubleValue>public void init(Config config)
init 在接口中 Computation<DoubleValue>public void close(Config config)
close 在接口中 Computation<DoubleValue>public void beforeSuperstep(WorkerContext context)
beforeSuperstep 在接口中 Computation<DoubleValue>public void afterSuperstep(WorkerContext context)
afterSuperstep 在接口中 Computation<DoubleValue>Copyright © 2020–2021. All rights reserved.