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

- File List
- File Members

# /home/coin/SVN-release/Blis-0.91.0/Blis/examples/VRP/VrpMacros.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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