public abstract class RelativeAuthorityRanker<V,E> extends AbstractRanker<V,E>
Modifier and Type | Field and Description |
---|---|
protected Map<V,Number> |
priorRankScoreMap
The default key used for the user datum key corresponding to prior rank scores.
|
edgeRankScores, vertexRankScores
Constructor and Description |
---|
RelativeAuthorityRanker() |
Modifier and Type | Method and Description |
---|---|
protected void |
finalizeIterations()
Cleans up all of the prior rank scores on finalize.
|
protected double |
getPriorRankScore(V v)
Retrieves the value of the prior rank score.
|
protected Set<V> |
getPriors()
Retrieves the set of priors.
|
void |
setPriorRankScore(V v,
double value)
Allows the user to specify a value to set for the prior rank score
|
protected void |
setPriors(Set<V> priors)
Specifies which vertices are root nodes (priors).
|
assignDefaultEdgeTransitionWeights, getEdgeRankScore, getEdgeRankScore, getEdgeRankScores, getEdgeRankScores, getEdgeWeight, getEdgeWeights, getGraph, getRankings, getRankScoreKey, getRankScores, getVertexCount, getVertexRankScore, 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, step
protected void finalizeIterations()
finalizeIterations
in class AbstractRanker<V,E>
protected double getPriorRankScore(V v)
v
- the root node (prior)public void setPriorRankScore(V v, double value)
v
- the root node (prior)value
- the score to set toprotected Set<V> getPriors()
Copyright © 2015. All rights reserved.