Class LinearUpdater

All Implemented Interfaces:
AttributeObject, InterfaceObject, NamedObject, TreeObject, CleanableObject, DynamicModelUpdater

public class LinearUpdater
extends SimpleEnvironmentUpdater
  • Constructor Details

    • LinearUpdater

      public LinearUpdater()
    • LinearUpdater

      public LinearUpdater​(double offset, double factor)
  • Method Details

    • init

      protected void init()
      Overrides:
      init in class SimpleEnvironmentUpdater
    • reset

      public void reset()
    • setOffset

      public void setOffset​(double offset)
    • setFactor

      public void setFactor​(double factor)
    • setStep

      public void setStep​(double step)
    • getOffset

      public double getOffset()
    • getFactor

      public double getFactor()
    • getStep

      public double getStep()
    • doUpdate

      protected boolean doUpdate​(DynamicModelEnvironment<?> c, double timeStep)
      Specified by:
      doUpdate in class SimpleEnvironmentUpdater