Rakshit, S., A. Baddeley, and G. Nair. “Efficient Code for Second Order Analysis of Events on a Linear Network”. Journal of Statistical Software, vol. 90, no. 1, Aug. 2019, pp. 1-37, doi:10.18637/jss.v090.i01.