Changeset ea3e834 in tol


Ignore:
Timestamp:
Sep 30, 2009, 1:43:57 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
a244729
Parents:
2fa3a27
Message:

Renaming Sampler as Modular.Schema

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1469 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/vmatrix_type/vmat_bsr.cpp

    r2fa3a27 rea3e834  
    786786  );
    787787  AddAndPutName(contens_,BContensText,
    788     "Sampler",
     788    "Modular.Schema",
    789789    sampler.c_str(), 
    790790    "Sampling strategy is one of these: monophasic, sequential or parallel"
  • tol/btol/vmatrix_type/vmat_bsr_master.cpp

    r2fa3a27 rea3e834  
    3636{
    3737public:
    38   string sampler;
     38  string modularSchema;
    3939  vector<moduleDef> subMod;
    4040  moduleDef currentSubMod;
    … …  
    4242  bys_sparse_reg_master()
    4343  : bys_sparse_reg(),
    44     sampler(""),
     44    modularSchema(""),
    4545    subMod(),
    4646    currentSubMod()
    … …  
    5757      module_type, model_nameDef, model_descriptionDef,
    5858      session_nameDef, session_descriptionDef, session_authorDef,
    59       samplerOpt,moduleOpt,modulePath,
    60       sampler, subModule,
     59      modularSchemaOpt,moduleOpt,modulePath,
     60      modularSchema, subModule,
    6161      explicit_begin, explicit_end, problem;
    6262
    … …  
    134134      explicit_end   = str_p("$END")[assign_explicit_end_] | error_endExpected;
    135135
    136       samplerOpt =
     136      modularSchemaOpt =
    137137        (str_p("monophasic") | str_p("sequential") | str_p("parallel")) |
    138138        error_SamplerOptExpected;
    … …  
    142142        error_ModuleOptExpected;
    143143
    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)];
    147147
    148148      modulePath =
    … …  
    170170        session_authorDef >>
    171171        //body
    172         sampler >>
     172        modularSchema >>
    173173        (*(subModule))  >>
    174174        (explicit_end | error_declarationExpected )
    … …  
    252252  const std::string &     fileName,
    253253  doc_info&               docInfo,
    254   std::string &           sampler,
     254  std::string &           modularSchema,
    255255  vector<moduleDef>&      subModules)
    256256////////////////////////////////////////////////////////////////////////////////
    … …  
    266266    docInfo.session_description =  bsr.docInfo.session_description;
    267267    docInfo.session_authors     =  bsr.docInfo.session_authors;
    268     sampler                     =  bsr.sampler;
     268    modularSchema               =  bsr.modularSchema;
    269269    subModules                  =  bsr.subMod;
    270270  }
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/_import.tol

    r2fa3a27 rea3e834  
    580580  Set modules = model::Get.Modules(0);
    581581  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");
    583583
    584584  Set EvalSet(modules, Real(NameBlock module)
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol

    r2fa3a27 rea3e834  
    816816
    817817  Set _.input.missing.labels = [[ Copy(Empty) ]];
    818   Text _.sampler = config::DBApi.masterSampler;
     818  Text _.modular.Schema = config::DBApi.masterSampler;
    819819
    820820  Set _.nodes.obs =
    … …  
    910910 
    911911  Text Get.ModuleType(Real unused) { _.moduleType };
    912   Text Get.Sampler(Real unused) { _.sampler };
     912  Text Get.Modular.Schema(Real unused) { _.modular.Schema };
    913913  Set Get.Modules(Real unused) { _.modules }
    914914
Note: See TracChangeset for help on using the changeset viewer.