The main purpose of the present paper is the mathematical foundation of total hierarchical classification concept. It is defined the notion of scatter function and it is shown that the problem of constructing a hierarchical classification of a given set is equivalent to those of defining a scatter function on this set.