Class LinearTracker

  • All Implemented Interfaces:
    ParameterTracker, Tracker

    public class LinearTracker
    extends java.lang.Object
    implements Tracker
    FactorTracker is an implementation of Tracker which is updated by a constant factor.
    See Also:
    Tracker
    • Constructor Detail

      • LinearTracker

        public LinearTracker​(LinearTracker.Builder builder)
        Creates a new instance of FactorTracker.
        Parameters:
        builder - the builder to create a new instance of FactorTracker
    • Method Detail

      • getNewValue

        public float getNewValue​(int numUpdate)
        Fetches the value after the given number of steps/updates.
        Specified by:
        getNewValue in interface Tracker
        Parameters:
        numUpdate - the total number of steps/updates
        Returns:
        this Builder