Direct and indirect methods for structural equivalence