
Go to the source code of this file.
Macros | |
| #define | SRANDOM(seed) srandom(seed) |
| #define | RANDOM() random() |
| #define | BINS(weight, capacity) ((int) ceil(((double)weight)/((double)capacity))) |
| #define | RHS(cust_num, weight, capacity) (cust_num-BINS(weight, capacity)) |
| #define SRANDOM | ( | seed | ) | srandom(seed) |
Definition at line 23 of file VrpMacros.h.
| #define RANDOM | ( | ) | random() |
Definition at line 24 of file VrpMacros.h.
| #define BINS | ( | weight, | |
| capacity | |||
| ) | ((int) ceil(((double)weight)/((double)capacity))) |
Definition at line 28 of file VrpMacros.h.
| #define RHS | ( | cust_num, | |
| weight, | |||
| capacity | |||
| ) | (cust_num-BINS(weight, capacity)) |
Definition at line 32 of file VrpMacros.h.
1.8.5