Changeset ea3e834 in tol
- Timestamp:
- Sep 30, 2009, 1:43:57 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- a244729
- Parents:
- 2fa3a27
- Location:
- tol
- Files:
-
- 4 edited
-
btol/vmatrix_type/vmat_bsr.cpp (modified) (1 diff)
-
btol/vmatrix_type/vmat_bsr_master.cpp (modified) (8 diffs)
-
stdlib/math/stat/models/bayesian/bysMcmc/bsr/_import.tol (modified) (1 diff)
-
stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/vmatrix_type/vmat_bsr.cpp
r2fa3a27 rea3e834 786 786 ); 787 787 AddAndPutName(contens_,BContensText, 788 " Sampler",788 "Modular.Schema", 789 789 sampler.c_str(), 790 790 "Sampling strategy is one of these: monophasic, sequential or parallel" -
tol/btol/vmatrix_type/vmat_bsr_master.cpp
r2fa3a27 rea3e834 36 36 { 37 37 public: 38 string sampler;38 string modularSchema; 39 39 vector<moduleDef> subMod; 40 40 moduleDef currentSubMod; … … 42 42 bys_sparse_reg_master() 43 43 : bys_sparse_reg(), 44 sampler(""),44 modularSchema(""), 45 45 subMod(), 46 46 currentSubMod() … … 57 57 module_type, model_nameDef, model_descriptionDef, 58 58 session_nameDef, session_descriptionDef, session_authorDef, 59 samplerOpt,moduleOpt,modulePath,60 sampler, subModule,59 modularSchemaOpt,moduleOpt,modulePath, 60 modularSchema, subModule, 61 61 explicit_begin, explicit_end, problem; 62 62 … … 134 134 explicit_end = str_p("$END")[assign_explicit_end_] | error_endExpected; 135 135 136 samplerOpt =136 modularSchemaOpt = 137 137 (str_p("monophasic") | str_p("sequential") | str_p("parallel")) | 138 138 error_SamplerOptExpected; … … 142 142 error_ModuleOptExpected; 143 143 144 sampler=145 str_p(" Sampler") >> ch_p('=') >>146 samplerOpt[assign_a(s.sampler)];144 modularSchema = 145 str_p("Modular.Schema") >> ch_p('=') >> 146 modularSchemaOpt[assign_a(s.modularSchema)]; 147 147 148 148 modulePath = … … 170 170 session_authorDef >> 171 171 //body 172 sampler>>172 modularSchema >> 173 173 (*(subModule)) >> 174 174 (explicit_end | error_declarationExpected ) … … 252 252 const std::string & fileName, 253 253 doc_info& docInfo, 254 std::string & sampler,254 std::string & modularSchema, 255 255 vector<moduleDef>& subModules) 256 256 //////////////////////////////////////////////////////////////////////////////// … … 266 266 docInfo.session_description = bsr.docInfo.session_description; 267 267 docInfo.session_authors = bsr.docInfo.session_authors; 268 sampler = bsr.sampler;268 modularSchema = bsr.modularSchema; 269 269 subModules = bsr.subMod; 270 270 } -
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/_import.tol
r2fa3a27 rea3e834 580 580 Set modules = model::Get.Modules(0); 581 581 Real Write.Header(model, f.bsr, "master"); 582 Real FPutText(f.bsr," Sampler = "+model::Get.Sampler(0)+"\n");582 Real FPutText(f.bsr,"Modular.Schema = "+model::Get.Modular.Schema(0)+"\n"); 583 583 584 584 Set EvalSet(modules, Real(NameBlock module) -
tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol
r2fa3a27 rea3e834 816 816 817 817 Set _.input.missing.labels = [[ Copy(Empty) ]]; 818 Text _. sampler= config::DBApi.masterSampler;818 Text _.modular.Schema = config::DBApi.masterSampler; 819 819 820 820 Set _.nodes.obs = … … 910 910 911 911 Text Get.ModuleType(Real unused) { _.moduleType }; 912 Text Get. Sampler(Real unused) { _.sampler};912 Text Get.Modular.Schema(Real unused) { _.modular.Schema }; 913 913 Set Get.Modules(Real unused) { _.modules } 914 914
Note: See TracChangeset
for help on using the changeset viewer.
