- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Macros
VrpMacros.h File Reference
This graph shows which files directly or indirectly include this file:

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))

## Macro Definition Documentation

#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.