Computational linguistics

Which statement correctly contrasts beam search with token sampling?