MCPcopy 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
47size_t RandomSampler::MaxNumSamples() {
48 return std::numeric_limits<size_t>::max();
49}
50
51void RandomSampler::Sample(std::vector<size_t>* sampled_idxs) {
52 Shuffle(static_cast<uint32_t>(num_samples_), &sample_idxs_);

Callers 5

TESTFunction · 0.45
EstimateMethod · 0.45
TESTFunction · 0.45
EstimateMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36