(
doubletime_ = 0.0) {
assert(time_ >= 0.0); s_time = time_;}
64 static double getTime() {
returns_time;}
70 size_tdimension_ = 0,
71 const Int4*score_ = 0,
72 const double*prob_ = 0)
73: d_dimension (0), d_score_p (0), d_prob_p (0),
74d_lambda (0.0), d_k (0.0), d_c (0.0), d_thetaMin (0.0), d_rMin (0.0),
75d_delta (0), d_thetaMinusDelta (0.0),
76d_mu (0.0), d_sigma (0.0), d_muAssoc (0.0), d_sigmaAssoc (0.0),
77d_meanWDLE (0.0), d_terminated (
false)
79 copy(dimension_, score_, prob_);
83: d_dimension (0), d_score_p (0), d_prob_p (0),
84d_lambda (0.0), d_k (0.0), d_c (0.0), d_thetaMin (0.0), d_rMin (0.0),
85d_delta (0), d_thetaMinusDelta (0.0),
86d_mu (0.0), d_sigma (0.0), d_muAssoc (0.0), d_sigmaAssoc (0.0),
87d_meanWDLE (0.0), d_terminated (
false)
96 returnd_dimension != 0;
101 if(
this!= &localMaxStat_)
copy(localMaxStat_);
108 const double*prob_);
130 doublethetaMinusDelta_,
136 boolterminated_ =
false);
138 inlinestd::ostream &
out(std::ostream &ostr_)
const{
returnostr_;}
140 doublegetR (
doubletheta_)
const;
142 doublegetA ()
const{
returngetMuAssoc () == 0 ? HUGE_VAL : 1.0 / getMuAssoc ();}
144 doublegetAlpha ()
const{
returngetSigmaAssoc () * getSigmaAssoc () * getA () * getA () * getA ();}
146 inline size_tgetDimension ()
const{
returnd_dimension;}
147 inline const Int4*getScore ()
const{
returnd_score_p;}
148 inline const double*getProb ()
const{
returnd_prob_p;}
149 inline doublegetLambda ()
const{
returnd_lambda;}
150 inline doublegetK ()
const{
returnd_k;}
151 inline doublegetC ()
const{
returnd_c;}
152 inline doublegetThetaMin ()
const{
returnd_thetaMin;}
153 inline doublegetRMin ()
const{
returnd_rMin;}
154 inline Int4getDelta ()
const{
returnd_delta;}
155 inline doublegetThetaMinusDelta ()
const{
returnd_thetaMinusDelta;}
156 inline doublegetMu ()
const{
returnd_mu;}
157 inline doublegetSigma ()
const{
returnd_sigma;}
158 inline doublegetMuAssoc ()
const{
returnd_muAssoc;}
159 inline doublegetSigmaAssoc ()
const{
returnd_sigmaAssoc;}
160 inline doublegetMeanWDLE ()
const{
returnd_meanWDLE;}
185 void init(
size_tdimension_);
void copy(const LocalMaxStat &localMaxStat_)
double getThetaMin() const
bool getTerminated() const
static void setTime(double time_=0.0)
double getThetaMinusDelta() const
LocalMaxStat(const LocalMaxStat &localMaxStat_)
double getMuAssoc() const
const double * getProb() const
const Int4 * getScore() const
double getMeanWDLE() const
LocalMaxStat(size_t dimension_=0, const Int4 *score_=0, const double *prob_=0)
double getSigmaAssoc() const
size_t getDimension() const
std::ofstream out("events_result.xml")
main entry point for tests
static void DLIST_NAME() init(DLIST_LIST_TYPE *list)
int32_t Int4
4-byte (32-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
The NCBI C++/STL use hints.
Defines Limits for the types used in NCBI C/C++ toolkit.
void copy(Njn::Matrix< S > *matrix_, const Njn::Matrix< T > &matrix0_)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4