i have a vector (x1,…,xn) where xi belongs to some set E how can i assign randomly a letter a,b,c to each vector than update it following some rule these vector ?
Example E=x1,x2,x3
(x1,x2,x3)=a
(x2,x3,x1)=a
(x3,x1,x2)=c
(x3,x2,x1)=whatever
(x1,x1,x1)=whatevre etc...
i have a rule that if (x1,x2,x3)=a and (x2,x3,x1)=a then (x3,x1,x2) must be equal to a