I am assuming that by random you mean uniformly at random (that
is, the probability of generating i is 1/5)
map the following pairs of numbers (1, 1), (1, 2), (1, 3), (1, 4), (1,
5), (2, 1), (2, 2) to 1, 2, .. , 7 respectively
let p_i denote the pair corresponding to the number i (e.g. p_1 = (1,
On Feb 3, 4:41 am, Vijendra Singh [EMAIL PROTECTED] wrote:
Isn't this a normal power set generation problem. What we are trying to do
here is, get all possible subsets. you can look for it on Google/Live
-Vijju
Sorry I can't find the discussion you're talking about. What you said
above