Class HyperBall.AbstractDiscountFunction

java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractInt2DoubleFunction
it.unimi.dsi.webgraph.algo.HyperBall.AbstractDiscountFunction
All Implemented Interfaces:
Function<java.lang.Integer,​java.lang.Double>, Int2DoubleFunction, java.io.Serializable, java.util.function.Function<java.lang.Integer,​java.lang.Double>, java.util.function.IntToDoubleFunction
Enclosing class:
HyperBall

public abstract static class HyperBall.AbstractDiscountFunction
extends AbstractInt2DoubleFunction
An abstract discount function is a facility to implement a discount function (so that only the Int2DoubleFunction.get(int) method must be actually implemented).

Note that by contract Int2DoubleFunction.get(int) will never be called with argument (i.e., distance) zero.

See Also:
Serialized Form