edu.stanford.nlp.math
Class WeightedAverage
java.lang.Object
|
+--edu.stanford.nlp.math.WeightedAverage
- All Implemented Interfaces:
- Double4Function
- public class WeightedAverage
- extends Object
- implements Double4Function
Implements Weighted average
Method Summary |
double |
apply(double x,
double y,
double weightx,
double weighty)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightedAverage
public WeightedAverage()
apply
public double apply(double x,
double y,
double weightx,
double weighty)
- Specified by:
apply
in interface Double4Function
Stanford NLP Group