edu.uci.ics.jung.algorithms.importance
Class RelativeAuthorityRanker

java.lang.Object
  extended byedu.uci.ics.jung.algorithms.IterativeProcess
      extended byedu.uci.ics.jung.algorithms.importance.AbstractRanker
          extended byedu.uci.ics.jung.algorithms.importance.RelativeAuthorityRanker
Direct Known Subclasses:
HITSWithPriors, KStepMarkov, MarkovCentrality, PageRank

public abstract class RelativeAuthorityRanker
extends AbstractRanker

This class provides basic infrastructure for relative authority algorithms that compute the importance of nodes relative to one or more root nodes. The services provided are:

Author:
Scott White

Field Summary
static java.lang.String PRIOR_KEY
          The default key used for the user datum key corresponding to prior rank scores.
 
Fields inherited from class edu.uci.ics.jung.algorithms.importance.AbstractRanker
DEFAULT_EDGE_WEIGHT_KEY
 
Constructor Summary
RelativeAuthorityRanker()
           
 
Method Summary
 void setPriorRankScore(Vertex v, double value)
          Allows the user to specify a value to set for the prior rank score
 
Methods inherited from class edu.uci.ics.jung.algorithms.importance.AbstractRanker
getEdgeWeightKeyName, getRankings, getRankScore, getRankScoreKey, getRankScores, isRankingNodes, printRankings, setNormalizeRankings, setRemoveRankScoresOnFinalize, setUserDefinedEdgeWeightKey
 
Methods inherited from class edu.uci.ics.jung.algorithms.IterativeProcess
evaluate, getDesiredPrecision, getIterations, getMaximumIterations, getPrecision, hasConverged, relativePrecision, setDesiredPrecision, setMaximumIterations
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIOR_KEY

public static final java.lang.String PRIOR_KEY
The default key used for the user datum key corresponding to prior rank scores.

See Also:
Constant Field Values
Constructor Detail

RelativeAuthorityRanker

public RelativeAuthorityRanker()
Method Detail

setPriorRankScore

public void setPriorRankScore(Vertex v,
                              double value)
Allows the user to specify a value to set for the prior rank score

Parameters:
v - the root node (prior)
value - the score to set to