|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fuberlin.wiwiss.semmf.taxon.LinMilestCalc
public class LinMilestCalc
This class is a milestone calculator using a linear formula: m(level) = 1 - (level / deepestLevel).
Constructor Summary | |
---|---|
LinMilestCalc()
|
Method Summary | |
---|---|
float[] |
calculateMilestones(int deepestLevel)
The implementation of this method must return an array of float values for all taxonomy levels starting from 0 and ending at the deepest level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinMilestCalc()
Method Detail |
---|
public float[] calculateMilestones(int deepestLevel)
MilestoneCalculator
calculateMilestones
in interface MilestoneCalculator
deepestLevel
- index of the deepest level (= number of levels - 1)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |