Generating functions for message-passing on weighted networks: directed bond percolation and SIR epidemics. - Christoph Widder; Tanja Schilling (CoRR, 2021)