public class MarkovCentrality extends RelativeAuthorityRanker
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MEAN_FIRST_PASSAGE_TIME |
PRIOR_KEYDEFAULT_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, setPriorsassignDefaultEdgeTransitionWeights, getEdgeWeight, getEdgeWeightKeyName, getGraph, getRankings, getRankScores, getVertices, initialize, isRankingEdges, isRankingNodes, normalizeEdgeTransitionWeights, normalizeRankings, onFinalize, printRankings, reinitialize, setEdgeWeight, setNormalizeRankings, setRemoveRankScoresOnFinalize, setUserDefinedEdgeWeightKeyevaluate, getDesiredPrecision, getIterations, getMaximumIterations, getPrecision, hasConverged, initializeIterations, relativePrecision, setDesiredPrecision, setMaximumIterationspublic 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()
AbstractRankergetRankScoreKey in class AbstractRankerAbstractRanker.getRankScoreKey()public double getRankScore(Element vert)
AbstractRankersetRemoveRankScoresOnFinalize(false) was called
prior to evaluate().getRankScore in class AbstractRankerAbstractRanker.getRankScore(edu.uci.ics.jung.graph.Element)protected void setRankScore(Element v, double rankValue)
setRankScore in class AbstractRankerAbstractRanker.setRankScore(edu.uci.ics.jung.graph.Element, double)protected double evaluateIteration()
IterativeProcessevaluateIteration in class IterativeProcessIterativeProcess.evaluateIteration()