TProcura
Biblioteca em C++ para testes paramétricos de algoritmos, e coleção de algoritmos de procura e otimização
Loading...
Searching...
No Matches
TRand.cpp File Reference
#include <ctime>
#include "TRand.h"
Include dependency graph for TRand.cpp:

Go to the source code of this file.

Namespaces

namespace  TRand
 Agrupa funções para inicializar e obter valores pseudo-aleatórios.
 

Functions

void TRand::srand (unsigned int seed, int seq=0)
 Inicializa a semente da geração pseudo-aleatória.
 
unsigned int TRand::rand (int seq=0)
 Retorna o próximo valor pseudo-aleatório.