Select algorithm to run.

[#2]