NextBestMaxGainSamples-class function

NextBestMaxGainSamples