public class MultiFactorTracker extends java.lang.Object implements Tracker
MultiFactorTracker
is an implementation of Tracker
which returns piecewise
constant values for fixed numbers of steps. multiplicative factor, at an uneven interval of
steps, until it reaches a specified stop value.Modifier and Type | Class and Description |
---|---|
static class |
MultiFactorTracker.Builder
The Builder to construct an
MultiFactorTracker object. |
Constructor and Description |
---|
MultiFactorTracker(MultiFactorTracker.Builder builder)
Creates a new instance of
MultiFactorTracker . |
Modifier and Type | Method and Description |
---|---|
float |
getNewValue(int numUpdate)
Fetches the value after the given number of steps/updates.
|
public MultiFactorTracker(MultiFactorTracker.Builder builder)
MultiFactorTracker
.builder
- the builder to create a new instance of MultiFactorTracker
public float getNewValue(int numUpdate)
getNewValue
in interface Tracker
numUpdate
- the total number of steps/updatesBuilder