calculate

abstract 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