ca.aura.algorithms.rank
Class Parameters

java.lang.Object
  |
  +--ca.aura.algorithms.rank.Parameters

public class Parameters
extends java.lang.Object

Author:
Andrew

Constructor Summary
Parameters()
          default
Parameters(Hashtable hash)
          init with settings in place
 
Method Summary
protected  double calculateTotalWeight()
          calculate the total weight
 double getFraction(java.lang.String id)
          get the relevance fraction
protected  double getTotalWeight()
          get the total weight
 double getWeight(java.lang.String id)
          get the relevance weight
 boolean setWeight(java.lang.String id, int value)
          set the relevance weight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameters

public Parameters()
default


Parameters

public Parameters(Hashtable hash)
init with settings in place

Method Detail

getFraction

public double getFraction(java.lang.String id)
get the relevance fraction


getWeight

public double getWeight(java.lang.String id)
get the relevance weight


setWeight

public boolean setWeight(java.lang.String id,
                         int value)
set the relevance weight


getTotalWeight

protected double getTotalWeight()
get the total weight


calculateTotalWeight

protected double calculateTotalWeight()
calculate the total weight



Copyright © 2002 University of Ottawa. All Rights Reserved.