public class DivFloatFunction extends DualFloatFunction
a, b
Constructor and Description |
---|
DivFloatFunction(ValueSource a,
ValueSource b) |
Modifier and Type | Method and Description |
---|---|
protected float |
func(int doc,
FunctionValues aVals,
FunctionValues bVals) |
protected String |
name() |
createWeight, description, equals, getValues, hashCode
getSortField, newContext, toString
public DivFloatFunction(ValueSource a, ValueSource b)
a
- the numerator.b
- the denominator.protected String name()
name
in class DualFloatFunction
protected float func(int doc, FunctionValues aVals, FunctionValues bVals)
func
in class DualFloatFunction
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.