Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Sampler v4.9.0
|
TConstrLHS.h
Go to the documentation of this file.
145 void addConstraint( void (*fConstrain)(double *, double*), int nConstr, int nbparam, int *param );
Creation of the abstract class TSamplerStochastic.
descritption.
unsigned int _nx
Local counter for number of samples and variables.
Definition TConstrLHS.h:102
unsigned int _nConstr
Number of constraints used in thie class.
Definition TConstrLHS.h:105
vector< vector< int > > _diag
vector of boolean for the diagonal element of the constraint (by constraint)
Definition TConstrLHS.h:94
TMatrixD _currentPerm
a matrix used to do the permutation of the constraint matrices
Definition TConstrLHS.h:89
TConstrLHS(URANIE::DataServer::TDataServer *tds, int sampleSize)
Creates a TConstrLHS object from a TDataServer, and the number of events requested.
vector< int > _paramValues
vector of parameter values used to compute the constraints and fill the constraint matrix
Definition TConstrLHS.h:96
unsigned int _ns
Local counter for number of samples and variables.
Definition TConstrLHS.h:101
void printMatrix(TMatrixD &dist)
Print the matrix (for debuging purpose mainly)
TSampling * _sampling
Pointer to a TSampling object if tds is empty;.
Definition TConstrLHS.h:99
vector< vector< int > > _colSol
vector of number of constraint respected by column (by constraint)
Definition TConstrLHS.h:93
void initElements()
initialise the elements of inner variables used to perform the permutation
TMatrixD _currentLHS
The lhs sample under modification.
Definition TConstrLHS.h:88
vector< vector< int > > _rowSol
vector of number of constraint respected by row (by constraint)
Definition TConstrLHS.h:92
void findNextPermutation()
find the permutation to be performed both for the lhs plan and all the inner variables used to
void(* _fConstrain)(double *, double *)
Parameter transformation function.
Definition TConstrLHS.h:107
vector< TMatrixD > _currentConst
vector of constraints matrix
Definition TConstrLHS.h:91
vector< int > _nbdiag
vector of number of diagonal constrainted validated
Definition TConstrLHS.h:97
bool _bAlreadyFilled
If the tree is already filled.
Definition TConstrLHS.h:86
unsigned int _iPerm
Number of permutations performed so far.
Definition TConstrLHS.h:106
void performPermutation(int Rcon, int Rrow, int Rcol, int Rvar)
perform the permutation defined in findNextPermutation for the lhs plan and all the inner variables u...
bool bpm(TMatrixD &lhs, int u, int seen[], int matchR[])
A DFS based recursive function that returns true if a matching for vertex u is possible.
unsigned int _nParam
Local counter for number of parameters (inputs) used to compute the constraint.
Definition TConstrLHS.h:103
int maxBPM(TMatrixD &lhs)
Returns the maximum number of matching from _nS to _nS.
virtual void fillOtherAttributes()
Fills the TAttributeFormula and totally correlated attributes.
vector< map< int, vector< int > > > _modified
vector of modification by permutation (by constraint)
Definition TConstrLHS.h:95
void addConstraint(void(*fConstrain)(double *, double *), int nConstr, int nbparam, int *param)
void generateSample(Option_t *option="")
Generates the sample.
Definition TSamplerStochastic.h:44
Definition TSampling.h:66
Definition TAMHCopula.h:60