Classes implementing useful algorithms on graphs.