MCPcopy Create free account
hub / github.com/BirolLab/abyss / windowLongEnough

Function windowLongEnough

RResolver/RAlgorithmsShort.cpp:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77static bool
78windowLongEnough(const int windowSize, const int tests, const int repeatSize, const int minMargin)
79{
80 return windowSize >= getMinWindowLength(tests, repeatSize, minMargin);
81}
82
83// static int numOfTests(const int repeatSize, const int windowSize, const int minMargin) {
84// return windowSize - minMargin - repeatSize - minMargin + 1;

Callers 3

getMarginFunction · 0.85
isSmallRepeatFunction · 0.85

Calls 1

getMinWindowLengthFunction · 0.85

Tested by

no test coverage detected