These may be useful algorithms: https://www.tandfonline.com/doi/full/10.1080/10095020.2012.747643 https://ieeexplore.ieee.org/abstract/document/9350239