Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colmap/colmap
/ MaxNumSamples
Method
MaxNumSamples
src/colmap/optim/random_sampler.cc:47–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
}
46
47
size_t RandomSampler::MaxNumSamples() {
48
return std::numeric_limits<size_t>::max();
49
}
50
51
void RandomSampler::Sample(std::vector<size_t>* sampled_idxs) {
52
Shuffle(static_cast<uint32_t>(num_samples_), &sample_idxs_);
Callers
5
TEST
Function · 0.45
Estimate
Method · 0.45
TEST
Function · 0.45
Estimate
Method · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
3
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36