public class MarkovCentrality<V,E> extends RelativeAuthorityRanker<V,E>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MEAN_FIRST_PASSAGE_TIME |
priorRankScoreMapedgeRankScores, 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, setPriorsassignDefaultEdgeTransitionWeights, 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, setVertexRankScoredone, evaluate, getDesiredPrecision, getIterations, getMaximumIterations, getPrecision, hasConverged, initializeIterations, relativePrecision, setDesiredPrecision, setMaximumIterations, setPrecisionpublic 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()
AbstractRankergetRankScoreKey in class AbstractRanker<V,E>AbstractRanker.getRankScoreKey()public double getVertexRankScore(V vert)
AbstractRankersetRemoveRankScoresOnFinalize(false) was called
prior to evaluate().getVertexRankScore in class AbstractRanker<V,E>AbstractRanker.getVertexRankScore(Object)public void step()
IterativeProcessstep in interface IterativeContextstep in class IterativeProcessIterativeProcess.step()