10 references to BottomKSampler
Microsoft.Extensions.Telemetry (1)
Sampling\BottomKSampler.cs (1)
74: this(reservoirCapacity, DefaultPreserveCapacity, DefaultMinPeriodCount, unseenWeightMode, null, releasePayload)
Microsoft.Extensions.Telemetry.Tests (9)
Sampling\BottomKSamplerTests.cs (9)
89var sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42); 102var sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.Chao1, 42); 115var sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, Seed); 135var sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42); 160var sampler = new BottomKSampler<int, int>(capacity, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed); 189var sampler = new BottomKSampler<int, int>(32, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed); 212var sampler = new BottomKSampler<int, int>( 240var sampler = new BottomKSampler<int, int>( 261var sampler = new BottomKSampler<int, int>(