[mareframe] Diff of /trunk/gadget/optinfosimann.cc
Diff of /trunk/gadget/optinfosimann.cc
Parent Directory
| Revision Log
| Patch
26 |
s1 = s; |
s1 = s; |
27 |
handle.logMessage(LOGMESSAGE, "Initialising random number generator with", s); |
handle.logMessage(LOGMESSAGE, "Initialising random number generator with", s); |
28 |
srand(s1); |
srand(s1); |
29 |
//fixme doc |
// seed for the metropolis acceptance of SA |
30 |
} if (strcasecmp(text, "seedM") == 0) { |
} if (strcasecmp(text, "seedM") == 0) { |
31 |
int s = 0; |
int s = 0; |
32 |
infile >> s >> ws; |
infile >> s >> ws; |
33 |
s2 = s; |
s2 = s; |
34 |
handle.logMessage(LOGMESSAGE, "Initialising random number generator with", s); |
handle.logMessage(LOGMESSAGE, "Initialising random number generator with", s); |
35 |
|
// seed for the order if the parameters of SA |
36 |
} if (strcasecmp(text, "seedP") == 0) { |
} if (strcasecmp(text, "seedP") == 0) { |
37 |
int s = 0; |
int s = 0; |
38 |
infile >> s >> ws; |
infile >> s >> ws; |
|
Legend:
Removed from v.11 |
|
changed lines |
|
Added in v.12 |
|
|
|