Data flows and algorithms