Abstract
The authors present a Monte Carlo algorithm based on 'logical transport' which determines the effective isotropic percolation and directed percolation thresholds of finite-size lattices. They apply the algorithm to bond and site directed percolation in two dimensions and determine the asymptotic percolation thresholds by finite-size scaling.