The Expected Discounted Penalty Function (EDPF) was introduced in a series of now classical papers [Gerber, H.U., Shiu, E.S.W., 1997. The joint distribution of the time of ruin, the surplus immediately before ruin, and the deficit at ruin. Insurance: Math. Econ. 21, 129–137; Gerber, H.U., Shiu, E.S.W., 1998a. On the time value of ruin. N. Am. Actuar. J. 2 (1), 48–78; Gerber, H.U., Shiu, E.S.W.,...