Re: lexicographic order

Posted by Granpa Simpson on
URL: http://discussion-forum.276.s1.nabble.com/lexicographic-order-tp7592707p7592713.html

1) The ordering of A is as follows:
A={(0,0),(0,1),(1,0),(1,1)}
B={a,b,c}
The lexicographic ordering of AxBxA is as follows:
AxBxA={(0,0),a,(0,0)},{(0,0),a,(0,1)},{(0,0),a,(1,0)},{(0,0),a,(1,1)}......................................................{(1,1),c,(1,1)}.
Use this logic and you will get the next after {(1,0),c,(1,1)} as {(1,1),a,(0,0)}.
Others plz do check..!!!!
 "I don't ride side-saddle. I'm as straight as a submarine"