#include <G4DNARevertProbability.hh>
Definition at line 43 of file G4DNARevertProbability.hh.
G4DNARevertProbability::G4DNARevertProbability |
( |
double |
toleranceY | ) |
|
|
inline |
G4DNARevertProbability::G4DNARevertProbability |
( |
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
toleranceY |
|
) |
| |
|
inline |
bool G4DNARevertProbability::Propose |
( |
double |
proposedXValue, |
|
|
double |
proposedProba, |
|
|
double |
nextProba, |
|
|
double & |
returnedValue |
|
) |
| |
|
inline |
Definition at line 104 of file G4DNARevertProbability.hh.
109 bool returnFlag =
false;
115 if(proposedXValue >
fXmin)
fXmin = proposedXValue;
119 if(proposedXValue <
fXmax)
fXmax = proposedXValue;
129 if(proposedXValue <
fXmax)
131 fXmax = proposedXValue;
136 if(proposedXValue >
fXmin)
138 fXmin = proposedXValue;
151 fXmax = proposedXValue;
155 fXmin = proposedXValue;
double fIncreasingCumulativeFunction
void G4DNARevertProbability::Reset |
( |
| ) |
|
|
inline |
double G4DNARevertProbability::Revert |
( |
double |
probaForSearchedTime, |
|
|
std::function< double(double)> & |
funct |
|
) |
| |
|
inline |
Definition at line 168 of file G4DNARevertProbability.hh.
172 bool notFound =
true;
181 double newProba = funct(x);
183 if(
Propose(x, newProba, probaForSearchedTime, proposedX))
bool Propose(double proposedXValue, double proposedProba, double nextProba, double &returnedValue)
double fIncreasingCumulativeFunction
void G4DNARevertProbability::SetBoundaries |
( |
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
|
inline |
void G4DNARevertProbability::SetTolerance |
( |
double |
toleranceY | ) |
|
|
inline |
double G4DNARevertProbability::fIncreasingCumulativeFunction |
double G4DNARevertProbability::fToleranceProba |
double G4DNARevertProbability::fXmax |
double G4DNARevertProbability::fXmaxDef |
double G4DNARevertProbability::fXmin |
double G4DNARevertProbability::fXminDef |
The documentation for this class was generated from the following file: