Algorithms for the ATLAS high-level trigger