Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
RNG_Abstract Class Referenceabstract

#include <rng_abstract.h>

Inheritance diagram for RNG_Abstract:
[legend]
Collaboration diagram for RNG_Abstract:
[legend]

Public Member Functions

 RNG_Abstract (QObject *parent=nullptr)
virtual unsigned int rand (int min, int max)=0
QVector< int > makeNumbersVector (int n, int min, int max)
double testRandom (const QVector< int > &numbers) const

Constructor & Destructor Documentation

◆ RNG_Abstract()

RNG_Abstract::RNG_Abstract ( QObject * parent = nullptr)
inlineexplicit
Here is the caller graph for this function:

Member Function Documentation

◆ makeNumbersVector()

QVector< int > RNG_Abstract::makeNumbersVector ( int n,
int min,
int max )
Here is the call graph for this function:

◆ rand()

virtual unsigned int RNG_Abstract::rand ( int min,
int max )
pure virtual

Implemented in RNG_SFMT.

Here is the caller graph for this function:

◆ testRandom()

double RNG_Abstract::testRandom ( const QVector< int > & numbers) const
nodiscard

The documentation for this class was generated from the following files: