public class HBSEMasterCompute extends DefaultMasterCompute
Modifier and Type | Field and Description |
---|---|
static String |
BETWEENNESS_OUTPUT_DIR
Configuration Identifier for the directory to output the highbetweenness set.
|
static String |
BETWEENNESS_SET_MAX_SIZE
Configuration Identifier for the maximum number of nodes in the betweenness set.
|
static String |
BETWEENNESS_SET_STABILITY
Configuration Identifier for the set stability cut off point (margin of error).
|
static String |
BETWEENNESS_SET_STABILITY_COUNTER
Configuration Identifier for the set stability counter cut off point (margin of error).
|
static String |
BETWEENNESS_SHORTEST_PATH_PHASES
Configuration Identifier for the number of shortest path phases to run through.
|
static String |
FINAL_SET_CSV
This is the filename for the final highbetweenness set
|
static String |
FS_DEFAULT_FS
Configuration Identifier for the default file system.
|
static String |
FS_DEFAULT_NAME
Configuration Identifier for the default name.
|
static String |
HIGH_BC_SET_AGG
Aggregator Identifier for the saved highbetweenness set.
|
static String |
INITIAL_PIVOT_PERCENT
Aggregator Identifier that stores the percentage of initial pivots to choose per batch.
|
static String |
PIVOT_AGG
Aggregator Sum for the total number of pivots selected.
|
static String |
PIVOT_BATCH_RANDOM_SEED
Configuration Identifier for the random seed value when choosing new pivot points.
|
static String |
PIVOT_BATCH_SIZE
Configuration Identifier for the pivot point batch size as a percent integer.
|
static String |
PIVOT_BATCH_SIZE_INITIAL
Configuration Identifier for the initial pivot point batch size as a percent integer.
|
static String |
PIVOT_PERCENT
Aggregator Identifier that stores the percentage of pivots to choose per batch.
|
static String |
STATE_AGG
Aggregator Identifier that gets the state of the computation.
|
static String |
STATS_CSV
The filename where the stats are written
|
static String |
UPDATE_COUNT_AGG
Aggregator Identifier for the number of nodes changed in the highbetweenness list comparison.
|
static String |
VERTEX_COUNT
Configuration Identifier for the number of vertices to perform the operation on.
|
Constructor and Description |
---|
HBSEMasterCompute() |
Modifier and Type | Method and Description |
---|---|
void |
compute()
Coordinates the computation phases of SBVertex by monitoring for the completion of each state
and moving to the next state.
|
void |
initialize()
Read options from configuration file and set up aggregators (global communication)
|
readFields, write
getAggregatedValue, getComputation, getContext, getMessageCombiner, getSuperstep, getTotalNumEdges, getTotalNumVertices, haltComputation, isHalted, registerAggregator, registerPersistentAggregator, setAggregatedValue, setComputation, setIncomingMessage, setMessageCombiner, setOutgoingMessage
getConf, setConf
public static final String STATE_AGG
public static final String PIVOT_AGG
public static final String UPDATE_COUNT_AGG
public static final String HIGH_BC_SET_AGG
public static final String BETWEENNESS_OUTPUT_DIR
public static final String BETWEENNESS_SHORTEST_PATH_PHASES
public static final String BETWEENNESS_SET_STABILITY
public static final String BETWEENNESS_SET_STABILITY_COUNTER
public static final String BETWEENNESS_SET_MAX_SIZE
public static final String PIVOT_BATCH_SIZE
public static final String PIVOT_BATCH_SIZE_INITIAL
public static final String PIVOT_BATCH_RANDOM_SEED
public static final String VERTEX_COUNT
public static final String FS_DEFAULT_FS
public static final String FS_DEFAULT_NAME
public static final String FINAL_SET_CSV
public static final String STATS_CSV
public static final String PIVOT_PERCENT
public static final String INITIAL_PIVOT_PERCENT
public void initialize() throws InstantiationException, IllegalAccessException
initialize
in class DefaultMasterCompute
InstantiationException
- if it is unable to register an aggregator with a specific class.IllegalAccessException
- if it is unable to access the class passed in as an aggregator.public void compute()
compute
in class DefaultMasterCompute