NZTA\SDLT\Formulae\Maximum
The "Maximum" subclass of {@link RiskFormula} is a simple highest-number only formula, used in base impact rating calculations.
Synopsis
class Maximum
extends RiskFormula
{
- // Inherited members from RiskFormula
- protected array $weightings;
- // Inherited methods from RiskFormula
- public abstract mixed calculate()
- public RiskFormula setWeightings()
Hierarchy
Extends
Members
protected
- $weightings — array
Methods
public
- calculate() — Perform an implementation-specific calculation.
- highest() — Return the highest value of an array of numbers.
Inherited from NZTA\SDLT\Formulae\RiskFormula
public
- calculate() — Perform an implementation-specific calculation.
- setWeightings()