|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.aura.algorithms.rank.Parameters
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 |
public Parameters()
public Parameters(Hashtable hash)
Method Detail |
public double getFraction(java.lang.String id)
public double getWeight(java.lang.String id)
public boolean setWeight(java.lang.String id, int value)
protected double getTotalWeight()
protected double calculateTotalWeight()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |