Enviar por SMS: On generalized inverses of matrices associated with certain graph classes