public class MarkovCentrality extends RelativeAuthorityRanker
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEAN_FIRST_PASSAGE_TIME |
PRIOR_KEY
DEFAULT_EDGE_WEIGHT_KEY
Constructor and Description |
---|
MarkovCentrality(DirectedGraph graph,
java.util.Set rootNodes) |
MarkovCentrality(DirectedGraph graph,
java.util.Set rootNodes,
java.lang.String edgeWeightKey) |
Modifier and Type | Method and Description |
---|---|
protected double |
evaluateIteration()
Evaluate the result of the current interation.
|
double |
getRankScore(Element vert)
Given an edge or node, returns the corresponding rank score.
|
java.lang.String |
getRankScoreKey()
The user datum key used to store the rank score.
|
protected void |
setRankScore(Element v,
double rankValue) |
finalizeIterations, getPriorRankScore, getPriorRankScoreKey, getPriors, setPriorRankScore, setPriors
assignDefaultEdgeTransitionWeights, getEdgeWeight, getEdgeWeightKeyName, getGraph, getRankings, getRankScores, getVertices, initialize, isRankingEdges, isRankingNodes, normalizeEdgeTransitionWeights, normalizeRankings, onFinalize, printRankings, reinitialize, setEdgeWeight, setNormalizeRankings, setRemoveRankScoresOnFinalize, setUserDefinedEdgeWeightKey
evaluate, getDesiredPrecision, getIterations, getMaximumIterations, getPrecision, hasConverged, initializeIterations, relativePrecision, setDesiredPrecision, setMaximumIterations
public static final java.lang.String MEAN_FIRST_PASSAGE_TIME
public MarkovCentrality(DirectedGraph graph, java.util.Set rootNodes)
public MarkovCentrality(DirectedGraph graph, java.util.Set rootNodes, java.lang.String edgeWeightKey)
public java.lang.String getRankScoreKey()
AbstractRanker
getRankScoreKey
in class AbstractRanker
AbstractRanker.getRankScoreKey()
public double getRankScore(Element vert)
AbstractRanker
setRemoveRankScoresOnFinalize(false)
was called
prior to evaluate()
.getRankScore
in class AbstractRanker
AbstractRanker.getRankScore(edu.uci.ics.jung.graph.Element)
protected void setRankScore(Element v, double rankValue)
setRankScore
in class AbstractRanker
AbstractRanker.setRankScore(edu.uci.ics.jung.graph.Element, double)
protected double evaluateIteration()
IterativeProcess
evaluateIteration
in class IterativeProcess
IterativeProcess.evaluateIteration()