public class MarkovCentrality<V,E> extends RelativeAuthorityRanker<V,E>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEAN_FIRST_PASSAGE_TIME |
priorRankScoreMap
edgeRankScores, vertexRankScores
Constructor and Description |
---|
MarkovCentrality(edu.uci.ics.jung.graph.DirectedGraph<V,E> graph,
java.util.Set<V> rootNodes) |
MarkovCentrality(edu.uci.ics.jung.graph.DirectedGraph<V,E> graph,
java.util.Set<V> rootNodes,
java.util.Map<E,java.lang.Number> edgeWeightKey) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRankScoreKey()
The user datum key used to store the rank score.
|
double |
getVertexRankScore(V vert)
Given an edge or node, returns the corresponding rank score.
|
void |
step()
Evaluate the result of the current iteration.
|
finalizeIterations, getPriorRankScore, getPriors, setPriorRankScore, setPriors
assignDefaultEdgeTransitionWeights, getEdgeRankScore, getEdgeRankScore, getEdgeRankScores, getEdgeRankScores, getEdgeWeight, getEdgeWeights, getGraph, getRankings, getRankScores, getVertexCount, getVertexRankScore, getVertexRankScores, getVertexRankScores, getVertices, initialize, isRankingEdges, isRankingNodes, normalizeEdgeTransitionWeights, normalizeRankings, onFinalize, printRankings, removeEdgeRankScore, removeEdgeRankScore, removeVertexRankScore, removeVertexRankScore, reset, setEdgeRankScore, setEdgeRankScore, setEdgeWeight, setEdgeWeights, setNormalizeRankings, setRemoveRankScoresOnFinalize, setVertexRankScore, setVertexRankScore
done, evaluate, getDesiredPrecision, getIterations, getMaximumIterations, getPrecision, hasConverged, initializeIterations, relativePrecision, setDesiredPrecision, setMaximumIterations, setPrecision
public static final java.lang.String MEAN_FIRST_PASSAGE_TIME
public MarkovCentrality(edu.uci.ics.jung.graph.DirectedGraph<V,E> graph, java.util.Set<V> rootNodes)
public java.lang.String getRankScoreKey()
AbstractRanker
getRankScoreKey
in class AbstractRanker<V,E>
AbstractRanker.getRankScoreKey()
public double getVertexRankScore(V vert)
AbstractRanker
setRemoveRankScoresOnFinalize(false)
was called
prior to evaluate()
.getVertexRankScore
in class AbstractRanker<V,E>
AbstractRanker.getVertexRankScore(Object)
public void step()
IterativeProcess
step
in interface IterativeContext
step
in class IterativeProcess
IterativeProcess.step()