This paper reviews the classical K-means algorithm, and analyzes its two highlighted shortcomings: failure to automatically determine k cluster quantity; sensitivity to initial cluster center. Inspired by the serial law of electron beam in reverse electric field in the photoelectric effect experiment, this paper proposes a K-means algorithm of self-adaptive determination of cluster quantity based on seizing flowing quasi cluster centers. This algorithm simulates the serial of electron beam in anisotropic el...