All it takes is an articulable suspicion that a crime is being committed to make the stop and cursory search.

http://en.wikipedia.org/wiki/Terry_stop