public abstract class RelativeAuthorityRanker extends AbstractRanker
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PRIOR_KEY
The default key used for the user datum key corresponding to prior rank scores.
|
DEFAULT_EDGE_WEIGHT_KEY| 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(Vertex v)
Retrieves the value of the prior rank score.
|
protected java.lang.String |
getPriorRankScoreKey()
Returns the user datum key for the prior rank score.
|
protected java.util.Set |
getPriors()
Retrieves the set of priors.
|
void |
setPriorRankScore(Vertex v,
double value)
Allows the user to specify a value to set for the prior rank score
|
protected void |
setPriors(java.util.Set priors)
Specifies which vertices are root nodes (priors).
|
assignDefaultEdgeTransitionWeights, getEdgeWeight, getEdgeWeightKeyName, getGraph, getRankings, getRankScore, getRankScoreKey, getRankScores, getVertices, initialize, isRankingEdges, isRankingNodes, normalizeEdgeTransitionWeights, normalizeRankings, onFinalize, printRankings, reinitialize, setEdgeWeight, setNormalizeRankings, setRankScore, setRemoveRankScoresOnFinalize, setUserDefinedEdgeWeightKeyevaluate, evaluateIteration, getDesiredPrecision, getIterations, getMaximumIterations, getPrecision, hasConverged, initializeIterations, relativePrecision, setDesiredPrecision, setMaximumIterationspublic static final java.lang.String PRIOR_KEY
protected void finalizeIterations()
finalizeIterations in class AbstractRankerprotected java.lang.String getPriorRankScoreKey()
protected double getPriorRankScore(Vertex v)
v - the root node (prior)public void setPriorRankScore(Vertex v, double value)
v - the root node (prior)value - the score to set toprotected java.util.Set getPriors()
protected void setPriors(java.util.Set priors)
priors - the root nodes