MCPcopy Create free account
hub / github.com/SIPp/sipp / CSample

Class CSample

include/stat.hpp:591–600  ·  view source on GitHub ↗

* This abstract class provides the ability to sample from a distribution. */

Source from the content-addressed store, hash-verified

589 * This abstract class provides the ability to sample from a distribution.
590 */
591class CSample
592{
593public:
594 virtual double sample() = 0;
595 virtual int textDescr(char *s, int len) = 0;
596 virtual int timeDescr(char *s, int len) = 0;
597 virtual double cdfInv(double percentile) = 0;
598 virtual ~CSample();
599private:
600};
601
602/* Always return a fixed value for the sample. */
603class CFixed : public CSample

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected