public class LinearTimeNormalizer extends Object implements TimeFunctionFactory
| Constructor and Description |
|---|
LinearTimeNormalizer() |
| Modifier and Type | Method and Description |
|---|---|
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 Function<Long,Double> getFunction(TimeStats stats)
getFunction in interface TimeFunctionFactory
Copyright © 2010–2025 The DAISY Consortium. All rights reserved.