English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Sampler: TSamplerStochastic.h Source File
Uranie / Sampler v4.9.0
/* @license-end */
TSamplerStochastic.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2024 CEA/DES
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as published
6// by the Free Software Foundation, either version 3 of the License, or any
7// later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
18// $Id$
19// $Author$
20// $Date$
21// $Revision$
22// $State$
24
33#ifndef TSamplerStochastic_H
34#define TSamplerStochastic_H
35
36// Uranie
37#include "TSampler.h"
38
39namespace URANIE
40{
41namespace Sampler
42{
44{
45
46 // Attributes
47protected:
48 Int_t _nSeed;
49
50 // Operations
51protected:
52 //---------------------------------------------
58
59 virtual void init();
61 virtual void terminate();
63
64public:
65 //---------------------------------------------
69
70 TSamplerStochastic(URANIE::DataServer::TDataServer *tds, Option_t *option,
71 Int_t nCalcul);
73 virtual ~TSamplerStochastic();
75
76 //---------------------------------------------
80
86 void setSeed(Int_t ind = 0);
88 Int_t getSeed()
89 {
90 return _nSeed;
91 }
93
94 //---------------------------------------------
98
99 virtual void printLog(Option_t *option = "");
101
102 ClassDef(URANIE::Sampler::TSamplerStochastic, ID_SAMPLER)
103 //Abstract Class to generate random design.
104};
105
106} // Fin du namespace Sampler
107} // Fin du namespace URANIE
108#endif
109// fin du fichier $RCSfile$.
Creation of the abstract class TSampler.
Definition TSamplerStochastic.h:44
virtual void terminate()
The post-processing step.
Definition TSamplerStochastic.cxx:84
virtual void printLog(Option_t *option="")
Prints the log.
Definition TSamplerStochastic.cxx:110
virtual ~TSamplerStochastic()
Default destructor.
Definition TSamplerStochastic.cxx:56
void setSeed(Int_t ind=0)
Init the seed.
Definition TSamplerStochastic.cxx:90
Int_t getSeed()
Returns the seed value.
Definition TSamplerStochastic.h:88
virtual void init()
The preprocessing step.
Definition TSamplerStochastic.cxx:60
Int_t _nSeed
Definition TSamplerStochastic.h:48
Abstraite class for sampling methods
Definition TSampler.h:97
Definition TAMHCopula.h:60