Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Diff of /trunk/gadget/optinfosimann.cc
[mareframe] / trunk / gadget / optinfosimann.cc Repository:
ViewVC logotype

Diff of /trunk/gadget/optinfosimann.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 11, Thu Jul 23 19:00:38 2015 UTC revision 12, Fri Jul 24 18:36:24 2015 UTC
# Line 26  Line 26 
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

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge