calculate

open override fun calculate(pv: Double, target: Double): Double


open override fun calculate(pv: Double): Double

Given a reference, calculates how to best match the target.

Parameters

pv

the current state of the item being controlled