An analysis of the behavior of a class of genetic adaptive systems