ClassOfAssociationScheme

ClassOfAssociationScheme(R) returns the class of R, namely $\vert S\vert-1$. The numbers of the relations must be [0..d].