
public abstract class LimitAlgorithm extends Object
| Constructor and Description |
|---|
LimitAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
adjust(double currentValue)
Optional method which adjust the limits relative to the current value of the item
being monitored.
|
LimitsInterface |
getLimits() |
double |
getTargetValue() |
void |
init(List<Double> parameters,
LimitsInterface limits,
double targetValue)
Initialize the algorithm
|
public void init(List<Double> parameters, LimitsInterface limits, double targetValue)
parameters - The algorithm specific limit parameterslimits - The limits interface, used for setting limitstargetValue - The target value for the algorithm. Some algorithms use this
for computing the limits (e.g. DeltaLimitAlgorithm).public LimitsInterface getLimits()
public double getTargetValue()
public abstract void adjust(double currentValue)
currentValue - Copyright © 2017 LSST. All rights reserved.