11 #ifndef _LAB_GRAPHS_RANDOM_H_
12 #define _LAB_GRAPHS_RANDOM_H_
30 inline Random(
unsigned long seed);
42 void shuffle(vector<T> & array);
46 unsigned long shiftRegister;
54 #include "lab_graphs_random.cpp"
void shuffle(vector< T > &array)
Randomly shuffles a vector with the current seed state.
Provides random functionality per a given seed.
Definition: lab_graphs_random.h:22
Random(unsigned long seed)
Constructor.
Definition: lab_graphs_random.cpp:10
int nextInt()
Definition: lab_graphs_random.cpp:18