forked from geoffleyland/VRPH
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRNG.h
executable file
·23 lines (18 loc) · 834 Bytes
/
RNG.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
////////////////////////////////////////////////////////////
// //
// This file is part of the VRPH software package for //
// generating solutions to vehicle routing problems. //
// VRPH was developed by Chris Groer ([email protected]). //
// //
// (c) Copyright 2010 Chris Groer. //
// All Rights Reserved. VRPH is licensed under the //
// Common Public License. See LICENSE file for details. //
// //
////////////////////////////////////////////////////////////
#ifndef _RNG_H
#define _RNG_H
#define NUM_RANDVALS 2000
void lcgseed(int seed);
double lcgrand(int stream);
void random_permutation(int *perm, int n);
#endif