public class LinearTimeNormalizer extends Object implements TimeFunctionFactory
Constructor and Description |
---|
LinearTimeNormalizer() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<Long,Double> |
getFunction(TimeStats stats)
Returns a function that normalises a given number accordingly
to the stats using the formula
x_n=(x-min)/(max-min)
|
public com.google.common.base.Function<Long,Double> getFunction(TimeStats stats)
getFunction
in interface TimeFunctionFactory
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.