QuISP
Loading...
Searching...
No Matches
quisp::util_functions Namespace Reference

Functions

template<typename Label >
Label samplingWithWeights (std::map< Label, double > weights, double rand)
 

Function Documentation

◆ samplingWithWeights()

template<typename Label >
Label quisp::util_functions::samplingWithWeights ( std::map< Label, double > weights,
double rand )