RandomSampler::RandomSampler(int i_minSampleCount, int i_maxSampleCount, double i_minVarianceThreshold, double i_maxVarianceThreshold) { setMinThreshold(i_minVarianceThreshold); setMaxThreshold(i_maxVarianceThreshold); initSampler(i_minSampleCount, i_maxSampleCount); setCurrentSampleCount(0); }
/* Common constructor * * @param mThr Minimum threshold to declare cycle slip, in meters. * @param drift LI combination limit drift, in meters/second. * @param dtMax Maximum interval of time allowed between two * successive epochs, in seconds. */ LICSDetector::LICSDetector( const double& mThr, const double& drift, const double& dtMax, const bool& use ) : obsType(TypeID::LI), lliType1(TypeID::LLI1), lliType2(TypeID::LLI2), resultType1(TypeID::CSL1), resultType2(TypeID::CSL2), useLLI(use) { setDeltaTMax(dtMax); setMinThreshold(mThr); setLIDrift(drift); }