Hey @Liviu, Thanks for the reply.
If by random seeds, you mean the values of MM, AA, QQ, RR, MMM, AAA, QQQ, RRR then here are those values which I have copied from FET source only.
If you mean XX and YY, they are Time dependent, i.e. their values will change every second (if I am not wrong).
Or if random seed is a whole another thing then could you please quote it for me?
Thanks.
Regards,
Prakhar Mishra
If by random seeds, you mean the values of MM, AA, QQ, RR, MMM, AAA, QQQ, RRR then here are those values which I have copied from FET source only.
Code Select
public static int MM=2147483647;
public static int AA=48271;
public static int QQ=44488;
public static int RR=3399;
public static int MMM=2147483399;
public static int AAA=40692;
public static int QQQ=52774;
public static int RRR=3791;
If you mean XX and YY, they are Time dependent, i.e. their values will change every second (if I am not wrong).
Code Select
//unsigned tt=unsigned(time(NULL));
double tt = (DateTime.Now - new DateTime(1970, 1, 1)).TotalSeconds;
//XX is the current time
//XX = 1 + ( (unsigned(tt)) % (unsigned(MM-1)) );
XX = 1 + (int)tt % (MM - 1);
//YY is the next random, after initializing YY with the current time
//YY = 1 + ( (unsigned(tt)) % (unsigned(MMM-1)) );
YY = 1 + (int)tt % (MMM - 1);
Or if random seed is a whole another thing then could you please quote it for me?
Thanks.
Regards,
Prakhar Mishra