Parse url param to route to different algorithms