MCPcopy Create free account
hub / github.com/UZ-SLAMLab/ORB_SLAM3 / UnrepeatedRandomizer

Method UnrepeatedRandomizer

Thirdparty/DBoW2/DUtils/Random.cpp:55–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53// ---------------------------------------------------------------------------
54
55DUtils::Random::UnrepeatedRandomizer::UnrepeatedRandomizer(int min, int max)
56{
57 if(min <= max)
58 {
59 m_min = min;
60 m_max = max;
61 }
62 else
63 {
64 m_min = max;
65 m_max = min;
66 }
67
68 createValues();
69}
70
71// ---------------------------------------------------------------------------
72

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected