On the generators of a generalized numerical semigroup