public class BetweennessCentrality extends Object implements Computation<BetweennessMessage>
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_SAMPLE_RATE |
| Constructor and Description |
|---|
BetweennessCentrality() |
| Modifier and Type | Method and Description |
|---|---|
String |
category() |
void |
close(Config config) |
void |
compute(ComputationContext context,
Vertex vertex,
Iterator<BetweennessMessage> messages) |
void |
compute0(ComputationContext context,
Vertex vertex) |
void |
init(Config config) |
String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterSuperstep, beforeSupersteppublic static final String OPTION_SAMPLE_RATE
public String name()
name in interface Computation<BetweennessMessage>public String category()
category in interface Computation<BetweennessMessage>public void init(Config config)
init in interface Computation<BetweennessMessage>public void close(Config config)
close in interface Computation<BetweennessMessage>public void compute0(ComputationContext context, Vertex vertex)
compute0 in interface Computation<BetweennessMessage>public void compute(ComputationContext context, Vertex vertex, Iterator<BetweennessMessage> messages)
compute in interface Computation<BetweennessMessage>Copyright © 2020–2021. All rights reserved.