Generalized yrast states of a Bose-Einstein condensate in a harmonic trap for a universality class of interactions