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