Select an algorithm