An implementation of the Ford Fulkerson algorithm in Java